Skip to main content
AXE is the component inside an agent sandbox that runs commands, streams their output, and reads and writes files for the agent or orchestrator outside.

What it does

Every sandbox platform for AI agents runs a daemon inside the sandbox: E2B has envd, Kubernetes Agent Sandbox has sandboxd, Agent Substrate has ate-env-guest, and Kata has its agent. They share a core: run commands, stream output, move files, and clean up. AXE implements that core as a standalone daemon and library:
  • Processes outlive their clients. A client that reconnects, for example after a snapshot restore, picks up output from the last byte it saw.
  • Snapshot-aware. AXE detects a suspend when the platform’s clocks show the gap, as under gVisor. Where they do not, as on Firecracker, the platform reports the restore with System.Configure (axectl resumed). Timeouts count only running time, so a sandbox paused for an hour does not wake up and kill its jobs.
  • Safe with untrusted code. File paths cannot be redirected outside the workspace, new and replaced files appear only when their upload completes, and memory, processes and connections are all capped.
  • Drop-in for existing protocols. axed serves the Kubernetes Agent Sandbox and Agent Substrate APIs, so their existing clients work unchanged. With --mcp-listen, it also serves MCP tools that agents call directly.
  • Small. About 5 MiB of memory at idle and a 6 MB static binary. See the benchmark.
Scope. AXE runs inside a sandbox. It does not create, isolate, schedule or snapshot sandboxes. Containers, gVisor or Firecracker provide the isolation, and AXE runs in whatever they provide.

Who it is for

AXE is for teams that build sandbox platforms and agent infrastructure: the people who would otherwise write and maintain their own guest daemon. If you run Kubernetes Agent Sandbox or Agent Substrate, you can swap AXE in for the stock daemon. If you build your own platform, you can run axed as the sandbox’s first process or link the engine into your own agent.

Three ways to use it

Run the daemon

Start axed in Docker and drive it with axectl in five minutes.

Replace sandboxd

Swap one image in an Agent Sandbox template. The SDKs work unchanged.

Embed the engine

Link the Rust library into your own agent and skip the daemon.
To see how the pieces fit together, read Architecture.