1. Resources
  2. /
  3. Changelog
  4. /
  5. Agent names using `%n` now receive a random suffix

Agent names using `%n` now receive a random suffix

Agent names containing %n now receive a random six-character alphanumeric suffix instead of the next available number. For example, cool-agent-%n, which previously produced a name such as cool-agent-123, now produces a name such as cool-agent-aB3dE6.

We deprecated %n in 2022 because allocating sequential agent names becomes increasingly expensive as organizations scale. Removing the sequential allocation improves the speed and reliability of agent registration, particularly when many agents connect at once.

Agents configured with %n will continue to connect and accept work. However, if you have scripts, dashboards, or other automation that expects agent names to end in a number, update them to accept a six-character alphanumeric suffix.

We still recommend replacing %n in your agent configuration. Depending on your setup, use %hostname, %hostname-%spawn, or %random. See the agent name configuration documentation for details.

Questions or need a hand? Reach out to support@buildkite.com or your account team.

Benno

Atom feed

Start turning complexity into an advantage

Create an account to get started for free.

Buildkite Pipelines

Platform

  1. Pipelines
  2. Public pipelines
  3. Test Engine
  4. Package Registries
  5. Mobile Delivery Cloud
  6. Pricing

Hosting options

  1. Self-hosted agents
  2. Mac hosted agents
  3. Linux hosted agents

Resources

  1. Docs
  2. Blog
  3. Changelog
  4. Example pipelines
  5. Plugins
  6. Webinars
  7. Case studies
  8. Events
  9. Migration Services
  10. CI/CD perspectives

Company

  1. About
  2. Careers
  3. Press
  4. Security
  5. Brand assets
  6. Contact

Solutions

  1. Replace Jenkins
  2. Workflows for MLOps
  3. Testing at scale
  4. Monorepo mojo
  5. Bazel orchestration

Compare

  1. Buildkite vs GitHub Actions
  2. Buildkite vs Depot

Legal

  1. Terms of Service
  2. Acceptable Use Policy
  3. Privacy Policy
  4. Subprocessors
  5. Service Level Agreement
  6. Supplier Code of Conduct
  7. Modern Slavery Statement

Support

  1. System status
  2. Forum
© Buildkite Pty Ltd 2026