Repository navigation
Releases
Releases · vincent0426/axe
AXE 0.2.0
Compatible with agent-sandbox commit 36756fe and Agent Substrate env commit 28041b5, the versions its end-to-end suites test against.
Added
--mcp-listen: serves the Model Context Protocol at/mcp, so agents can run commands, follow their output, send input, signal processes, and read, write and list files through MCP tools. Off unless given. It takes the same endpoints and per-listener auth as--listen, and serves both the 2026-07-28 protocol and theinitializehandshake of the 2025 revisions. See Agents over MCP.
AXE 0.1.0
The first public release. It is compatible with agent-sandbox commit 36756fe and Agent Substrate env commit 28041b5, the versions its end-to-end suites test against.
Added
axe, the engine library. It supervises processes with an optional PTY, keeps one output log per process addressed by byte offset, confines file access to a root directory, watches directories, applies resource limits, and detects suspend and restore. It has no network code and builds for Linux only.- One reaper thread that collects every child, as PID 1 or as a child subreaper.
- Output replay from any retained byte offset, with lossless readers that apply backpressure and lossy readers that receive gap events. Retention is per process (
--retain,--max-retain) and bounded globally (--output-budget,--capture-budget). - Detached processes that outlive their clients, optional names, and idempotent starts with a request id.
- Suspend detection from the monotonic, boot and wall clocks, and timeouts that count only running time.
System.Configure(axectl resumed) reports a restore where the clocks do not show it, andSystem.Freeze(axectl freeze) freezes every process tree through its cgroup. - Path resolution one component at a time through held directory descriptors, so a symlink swapped in during a request cannot redirect it. Uploads appear only when they commit.
- Per-process cgroup v2 leaves when axed owns a delegated subtree: whole-tree kill, memory, CPU and task limits, OOM detection and freezing. Without cgroups, process groups and rlimits, with CPU limits and freezing refused.
axed, the daemon. It serves the nativeaxe.v1API (Processes,Files,System) and gRPC reflection on any number of--listenendpoints over TCP, Unix sockets, vsock and inherited descriptors, with bearer-token auth per listener.- The Kubernetes Agent Sandbox adapter, on by default: sandboxd's
process.v1andwatcher.v1gRPC services and its REST API, with sandboxd's command line accepted unchanged. The official Go, Python and TypeScript SDKs run against it unmodified. sandboxd compatibility lists every intended difference. - The Agent Substrate adapter (
--agent-substrate), servingateenv.v1alpha, and--on-sigterm=stayfor its eviction contract. - Exit reasons (exited, signaled, timed out, OOM-killed, killed, owner gone, shutdown) in the engine's
Exitand inaxe.v1, and resource usage for running processes, read on request from the cgroup or, without one, from/procfor the leader. - Protection for axed as PID 1: children raise their own
oom_score_adj(--child-oom-score-adj), axed lowers its own when it may and reservesmemory.minin its cgroup, and--default-userruns processes unprivileged when a request names no user. - Daemon-wide default limits and ceilings, all off by default:
--default-timeout,--default-memory,--default-max-tasks,--max-timeout,--max-memory. --auth-token-filereloads on change and onSIGHUP, accepting the previous token for 60 seconds.grpc.health.v1on every listener,GET /readyzon the REST port, andSystem.Infofeatures, adapters and policies.axe.v1: idempotentExecwith arequest_id, request id reuse with a different request refused,google.rpc.ErrorInforeasons on the errors clients branch on,GetRequestandWaitRequest,ProcessRef.instance_id, starts refused while frozen, andthawinConfigure.axectl, the command-line client:run,exec,attach,logs,ps,kill,wait,rm,watch,freeze,resumedandinfo.- A Dockerfile with two targets: a default image laid out like sandboxd's runtime image, and a
staticimage holding the statically linked musl binaries. - End-to-end suites (
tests/run.sh) for the Agent Sandbox Go and Python SDKs, upstream's templates on kind, Agent Substrate's guest tests, gVisor with checkpoint and restore, and Firecracker with snapshot and restore. - Documentation at axe-engine.mintlify.site, with benchmark results against sandboxd.