What is Buildkite Agent?
Buildkite made the architectural choice the other CI vendors are still backing into: the SaaS runs orchestration, UI, and webhooks, while every build executes on agents you control. Compute was never metered because it was never theirs - which makes the agent the cleanest self-hosted runner in this catalogue.
Official MIT-licensed image, one required token, tags for queue targeting. Jobs run as shell commands in the container; extend the image with your toolchains and raise replicas for parallelism - agents pull independently from the queue.
The standard platform note: no Docker daemon, so plugin-heavy Docker workflows need kaniko/buildah substitutions, while script-based pipelines run untouched.
What you get
- Official buildkite/agent image - zero wrapper code
- One env var to a working agent
- Queue targeting via tags (queue=miget)
- Replicas = parallel agents, independently pulling jobs
- MIT-licensed agent; SaaS control plane does the orchestration
- Unmetered build minutes on your own compute
How it runs on Lyngbak
| Service | Role | Public |
|---|---|---|
agent | Buildkite agent, outbound to buildkite.com | no - no ingress needed |
Before you deploy
BUILDKITE_AGENT_TOKENBuildkite > Agents > Reveal Agent Token
Sizing and billing
The agent is a single Go binary; budget RAM for your builds. Scale horizontally with replicas - each agent handles one job at a time by default.
A resource is a flat monthly price, with RAM and disk add-ons when the stack needs a little more than a tier, and room for your own apps on a larger one. On Usage Billing each service takes the smallest size that fits it and is billed by the second it runs, so a stopped stack stops costing CPU and RAM. Its 4.88 GiB of volumes cost $0.15 per GiB a month ($0.73/mo) for as long as they exist. One workspace can use both. See pricing
Run it locally first
The same compose file runs with plain Docker Compose. Clone the template source, copy .env.example to .env, and run docker compose up -d.
Questions
Why is Buildkite the “cleanest” runner here?
Because self-hosted agents are Buildkite’s primary model, not an escape hatch: the official image needs exactly one env var, registration is instant, and there is no minute-metering to escape in the first place. Buildkite charges per user for the control plane; compute was always yours.
How do pipelines target this agent?
Tags: the template sets queue=miget, and pipelines select it with agents: queue: miget. Add more tags (language versions, capabilities) to route specific steps to specific agents.
Does Docker-based tooling work?
The docker-compose and docker plugins need a daemon this platform does not expose. Script steps, artifact upload/download, and the broader plugin ecosystem that shells out work normally - and image builds go through kaniko or buildah like everywhere else in the catalogue.