Skip to main content
Each release publishes prebuilt images and binaries. The sections after Prebuilt images build the same artifacts from a checkout:

Prebuilt images

Each release publishes images to the GitHub Container Registry and attaches static binaries to its GitHub release.
Both are built for linux/amd64 and linux/arm64. Each release also attaches axed and axectl as static musl archives for x86_64 and aarch64, a SHA256SUMS file and an SPDX SBOM. Each release signs its images and checksums with Sigstore keyless signing and records build provenance.

The default image

The default target matches sandboxd’s runtime image, so Agent Sandbox manifests work with it unchanged: Arguments after the image name go to axed:
To add tools for your agent, build your own image FROM this one, switching to root for the install and back to user 1000. User 1000 has no entry in /etc/passwd, as in sandboxd’s image, so processes get HOME=/, which they cannot write. Tools that write to the home directory, such as pip install --user, npm install and git config --global, fail with permission errors. Give the user a home directory when you add tools:
Processes then get HOME=/home/agent. Without rebuilding, pass HOME in the request’s environment instead, for example HOME=/workspace.

The static binaries

The static target holds only the two binaries, built for musl and statically linked, at /axed and /axectl:
Copy them into any image:
Or extract them to a directory, for example to build a microVM root filesystem:
The binaries need no shared libraries, so they run on any Linux distribution, including busybox and distroless images. Firecracker shows a complete rootfs.

Build from source

AXE builds and runs on Linux only. The workspace needs Rust 1.88 or later.
The binaries are in target/release/. They link against your system’s libc. For static binaries, use the static image target, which builds against musl.

Architectures

A local build targets the architecture of the machine that builds it, for example x86_64 on most Linux servers and aarch64 (arm64) on Apple silicon through Docker. The repository has no cross-compilation setup; to get binaries for another architecture, use the prebuilt images and binaries, which cover both, or build on a machine of that architecture or under emulation.

Next steps