A kernel boundary per session.
Firecracker microVMs run with KVM isolation and the Jailer’s chroot, seccomp, and UID/GID separation. Cgroup v2 limits constrain CPU, memory, and process counts.
Run AI-generated code in disposable Linux microVMs. Agent Sandbox gives every session its own kernel, filesystem, and network boundary—then tears it all down when the work is done.
› python3 -c "print('hello sandbox')"
✓ hello sandbox
Process exited with code 0
›
Fast enough for agents.
Contained by design.
A session is more than a process. Agent Sandbox gives each task a separate Linux machine with explicit resource limits, network policy, and a lifecycle you control.
Firecracker microVMs run with KVM isolation and the Jailer’s chroot, seccomp, and UID/GID separation. Cgroup v2 limits constrain CPU, memory, and process counts.
Each VM gets a dedicated network namespace and egress policy. Metadata endpoints are blocked; DNS and IP/port filtering are configurable.
Sessions have an idle TTL, automatic cleanup, and startup orphan recovery. The workspace is ephemeral; end the session and reclaim its resources.
Connect through the interface that fits your stack. They all hand work to the same session manager and isolated runtime.
Explore the backendKeep your application’s interface simple while the sandbox handles the execution boundary.
Zero runtime dependencies. A typed interface for creating sessions and running work.
HTTP endpoints for session and execution operations from any client.
Connect agent tooling through stdio or SSE transports.
Agent Sandbox runs on Linux with KVM. Start with the release guide for prerequisites, Firecracker setup, templates, and deployment steps.
Open installation guideREQUIRES Linux · KVM · Firecracker · Node.js 20.12+
# Get the source
git clone https://github.com/SheerWill007/Agent-Sandbox.git
cd Agent-Sandbox/backend
# Install and build the backend
npm install
npm run build
# Continue with host setup and templates
# See docs/RELEASE.md for the full guideRead the docs, inspect the implementation, and build your agent workflow on top.