Skip to main content
Configure Namespace agents with an agents block. A top-level block sets defaults for every command step in the pipeline. Add an agents block to an individual step to override those defaults for that step.
The nsc-* tags below configure the Namespace instance created for the job.

Compute tags

See Machine Shapes for guidance on selecting resources.

Custom Linux base images

Linux jobs run in Namespace’s default Buildkite agent image. To run a job in your own container image instead, set the nsc-base-image-ref agent tag to the image reference:
The image must be hosted in the Namespace container registry nscr.io and must be optimized before jobs use it. Optimization converts the image into a fast-booting disk variant; without it, every job has to pull the full image before it can start. Push the image, then optimize its digest with nsc base-image optimize:
You only need to optimize a given digest once. Each new push produces a new digest, which must be optimized again. To bring in an image hosted elsewhere, use nsc base-image upload. A base image set with nsc-base-image-ref takes precedence over a base image configured on the queue.

macOS base images

For macOS images, it is possible to choose base image selectors with the nsc-image-selectors agent tag. Multiple selectors may be separated by a comma. For example, to use a base image with Tahoe slim, include the agent tags

Linux on Apple Silicon

Linux on Apple Silicon is in early access. Reach out to enable it for your workspace.Contact support →
Set the nsc-prefer-sku agent tag to m4pro, m5, or m5max to prefer an Apple Silicon machine for a Linux job.
See Linux on Apple Silicon machine shapes for the available shapes.

Caching

Attach a Cache Volume to preserve dependencies and other build outputs across jobs. Jobs using the same cache tag access the same cache contents.
Use a stable tag when jobs should share a cache. Use distinct tags to isolate caches between repositories, branches, or toolchains. To let jobs reuse a cache without committing their changes for future jobs, configure cache volume commit behavior on the queue. Queues configured with NEVER still allow jobs to write to their local copy of the cache, but those changes are not persisted.

Plugin caching

Namespace can cache Buildkite plugins in artifact storage so that later jobs can reuse plugin checkouts instead of cloning them again.
Plugin caching is in early access. Reach out to enable it for your workspace.Contact support →
Once enabled for your workspace, enable it for your Buildkite organization:
  1. Open Buildkite → Organizations in the Namespace dashboard and select your Buildkite organization.
  2. Click the toggle to enable Cache plugins.
Once plugin caching is enabled, any jobs that request plugins to be cached will run on instances with resolve and create permissions for the necessary resultant artifacts. To use pipeline caching for your pipeline or a single step, set the nsc-cache-plugins agent tag to true at the pipeline level or on an individual step:
Jobs without the tag keep Buildkite’s normal plugin acquisition behavior. Set nsc-cache-plugins: "false" on a step to override a pipeline-level opt-in.

Verifying signed Buildkite pipelines

Namespace-managed agents support verification of signed Buildkite pipelines with self-managed keys. To get started:
  1. Follow Buildkite’s guide for setting up signed pipelines.
  2. During this process, you will create a public/private key pair. Save the resulting public key set (the entire contents of the resulting <key>-public.json file as a secret in Namespace, using either the Vault dashboard or CLI command
Note the ID of the secret, which is of the form sec_<my-secret-id>.
  1. Update the agent tags in your Buildkite pipeline:

Additional tags

Use these tags to configure repository mirrors, container storage, the Linux agent container, and local Docker builders. The nsc-features tag accepts a comma—separated list of feature assignments. Some examples are shown below. Enable the Git mirror, container image cache, and privileged containers together:
Combine multiple nsc-features assignments into one comma-separated value when a job needs more than one feature. For example, to use a local Docker builder with a persistent 50 GB cache:
Last modified on December 1, 2026