Integrations · Buildkite
Guild agents query Buildkite pipelines, builds, and jobs using GraphQL without handling credentials directly. Guild injects the Buildkite API access token server-side, so the token never appears in agent code. Credential policies let you restrict which operations each agent can perform before any request reaches Buildkite.
Book a demo
See how teams govern agents that use Buildkite.
Talk to sales
Get access to Guild, then connect Buildkite to your first agent.
What the Buildkite integration exposes
Agents use it to retrieve data about pipelines, builds, jobs, and other CI/CD resources. Tools are named with thebuildkite_ prefix and can be narrowed with pick().
How it works
1
Open credentials settings
In Guild, go to Access & setup > Credentials and click Connect. Search for and select buildkite.
2
Paste your API key
Enter your Buildkite API access token in the API Key field. Guild sends it as a bearer token in the
Authorization header on every request.3
Import and use the tools
Import
BuildkiteTools from the @guildai-services/guildai~buildkite package and spread it into your agent’s tools object. Use pick() to include only the tools your agent needs.Why Buildkite access needs governing
Buildkite API tokens can read pipeline configurations, build histories, and job details across your organization. Guild stores the token as a credential scoped to an account, workspace, member, or single agent, so the right token reaches the right agent without being exposed in code or logs. Guild’s credential proxy enforces credential policies before each request leaves Guild. You can write ALLOW and DENY rules scoped to specific agents or workspaces, limiting which GraphQL operations each agent may send. The proxy injects the token only after the policy check passes, so agents cannot bypass the rules.About the Buildkite integration
This integration lets agents interact with Buildkite using GraphQL queries. Agents can retrieve information about pipelines, builds, jobs, and other CI/CD resources. All requests are authenticated with a Buildkite API access token. The integration isguildai~buildkite.
Authentication
- Type: API key
- Header: Guild sends the key as a bearer token in the
Authorizationheader
Setup
1
Connect Buildkite
In Guild, go to Access & setup > Credentials, click Connect, select buildkite, and paste the key into API Key.
Usage
Selecting specific tools
Tools are named with thebuildkite_ prefix. Use pick() to include only what your agent needs.
Tools
Tools in the latest published version ofguildai~buildkite:
Frequently asked questions
Can I limit which Buildkite operations a specific agent can run?
Can I limit which Buildkite operations a specific agent can run?
Yes. Credential policies let you write ALLOW and DENY rules scoped to individual agents or workspaces. Guild’s credential proxy evaluates the rules before any request reaches Buildkite.
Does my agent code ever see the Buildkite API token?
Does my agent code ever see the Buildkite API token?
No. Guild stores the token and adds it server-side as a bearer token in the Authorization header. Agent code calls the tool; the credential proxy handles authentication.
Can I use different Buildkite tokens in different workspaces?
Can I use different Buildkite tokens in different workspaces?
Yes. You can connect a credential scoped to a single workspace so that workspace uses a different token from the rest of the organization. See Credentials for workspace, member, and agent-scoped options.
Does the Buildkite integration support webhook events?
Does the Buildkite integration support webhook events?
Not yet. The catalog entry for this integration lists no webhook events, so agents cannot react to Buildkite push notifications through Guild at this time.
Put a governed agent on Buildkite this week
Book a demo
See how teams govern agents that use Buildkite.
Talk to sales
Get access to Guild, then connect Buildkite to your first agent.