# AXE - [Introduction](https://axe-engine.mintlify.app/index.md): AXE is the execution engine that runs processes and moves files inside agent sandboxes. - [Quickstart](https://axe-engine.mintlify.app/quickstart.md): Start axed in Docker, run a long job, disconnect, replay its output from an offset, and open a shell. - [Architecture](https://axe-engine.mintlify.app/architecture.md): How callers, the sandbox boundary, the axed daemon and the axe engine fit together. - [Installation](https://axe-engine.mintlify.app/installation.md): Build the default image, copy the static binaries into your own image or rootfs, or build from source. - [Kubernetes Agent Sandbox](https://axe-engine.mintlify.app/deploy/agent-sandbox.md): Replace sandboxd with axed in a Kubernetes Agent Sandbox template, then verify it locally with curl and grpcurl. - [Agent Substrate](https://axe-engine.mintlify.app/deploy/agent-substrate.md): Run axed as the guest daemon in Agent Substrate actors in place of ate-env-guest. - [Firecracker](https://axe-engine.mintlify.app/deploy/firecracker.md): Run axed as a Firecracker microVM's PID 1 over vsock, and keep processes running across snapshot and restore. - [gVisor](https://axe-engine.mintlify.app/deploy/gvisor.md): Run axed under gVisor's runsc, without delegated cgroups, and keep processes running across checkpoint and restore. - [Containers and hosts](https://axe-engine.mintlify.app/deploy/containers.md): Run axed in a plain container or on a host: as PID 1 or under an init, with or without cgroups, as a non-root user. - [Agents over MCP](https://axe-engine.mintlify.app/deploy/mcp.md): Let an agent drive the sandbox directly through Model Context Protocol tools: run commands, follow their output and handle files. - [Embed the engine in Rust](https://axe-engine.mintlify.app/embed/rust.md): Link the axe crate into your own agent: supervise processes, replay their output, and confine file access without running axed. - [Security](https://axe-engine.mintlify.app/deploy/security.md): AXE's security model, bearer tokens, choosing a transport, and how to report a vulnerability. - [Start processes](https://axe-engine.mintlify.app/processes/run.md): Start detached or attached processes, name and label them, retry starts safely, and set their environment, directory, user and retention. - [Output and replay](https://axe-engine.mintlify.app/processes/output.md): How axed keeps process output, replays it from a byte offset, follows it with or without backpressure, and bounds the memory it uses. - [Terminals and input](https://axe-engine.mintlify.app/processes/terminals.md): Run processes on a pseudo-terminal, write to stdin with retry-safe offsets, resize, and attach and detach interactively. - [Signals, exits and limits](https://axe-engine.mintlify.app/processes/signals.md): Send signals to process groups, wait for exits and read exit codes, set running-time timeouts, and cap memory, CPU, tasks and open files. - [Snapshots and restore](https://axe-engine.mintlify.app/snapshots.md): What survives a sandbox snapshot, how clients reconnect, how axed detects resumes, and how to use Freeze and Configure around a snapshot. - [Read and write files](https://axe-engine.mintlify.app/files/transfer.md): Upload files atomically, append, create only if absent, set modes, make directories, move, copy and remove, and extract tar archives. - [Watch directories](https://axe-engine.mintlify.app/files/watch.md): Stream changes under a directory, recursively or not, and handle event kinds, overflow, rescans and the shared watch limit. - [Path confinement](https://axe-engine.mintlify.app/files/confinement.md): How axed resolves every client path inside the root directory, how it treats symlinks and absolute paths, and which paths it refuses with which error. - [axed command line](https://axe-engine.mintlify.app/reference/axed.md): Every axed flag with its type, default and meaning, plus value syntax, environment variables and signals. - [axectl command line](https://axe-engine.mintlify.app/reference/axectl.md): Every axectl command and flag, its global options and environment, how it resolves process names, and its exit codes. - [Native API (axe.v1)](https://axe-engine.mintlify.app/reference/native-api.md): AXE's own gRPC API: the Processes, Files and System services, every RPC and field, streaming behavior, offsets and errors. - [Agent Sandbox API](https://axe-engine.mintlify.app/reference/agent-sandbox-api.md): The sandboxd-compatible API axed serves: the REST endpoints on the REST port, and the process.v1 and watcher.v1 gRPC services. - [Agent Substrate API](https://axe-engine.mintlify.app/reference/agent-substrate-api.md): Agent Substrate's ateenv.v1alpha guest API as axed serves it: every RPC, how it maps onto the engine, and the policies axed does not implement. - [Errors](https://axe-engine.mintlify.app/reference/errors.md): The engine's error variants, how axed maps them to gRPC status codes and REST responses, and the errno translations. - [Compatibility with sandboxd](https://axe-engine.mintlify.app/reference/sandboxd-compatibility.md): Every place axed intentionally behaves differently from sandboxd. - [Platform requirements](https://axe-engine.mintlify.app/reference/platform-requirements.md): The Linux features AXE uses, what each is for, and what happens when the kernel or sandbox does not provide it. - [Design decisions](https://axe-engine.mintlify.app/design.md): How AXE works, the decisions behind it, and what it leaves out on purpose. - [Benchmark](https://axe-engine.mintlify.app/benchmark.md): AXE compared with sandboxd. - [Troubleshooting](https://axe-engine.mintlify.app/troubleshooting.md): Symptoms you may see when running axed, what causes each one, and how to fix it. - [FAQ](https://axe-engine.mintlify.app/faq.md): Common questions about what AXE is, how it relates to sandboxd, envd and Agent Substrate's guest, what it protects, and where it runs. This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.