Open-source agent execution infrastructure

Give every agent
its own machine.

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.

Firecracker microVMs Linux + KVM TypeScript SDK · REST · MCP
session / task-8f2c RUNNING
SESSION01 Runtime02 Filesystem03 Network
LIMITS CPU 2 vCPU Memory 512 MB Lifetime ephemeral
agent / executepython · isolated

› python3 -c "print('hello sandbox')"

✓ hello sandbox

Process exited with code 0

›

microVM isolateddestroy on close
KVM boundaryFirecrackerJailer
↻
Snapshot restore1–5 ms
⌁
Private networkIsolated per VM
01 / EXECUTION BOUNDARY
Scroll to explore
BUILT FOR REAL WORK

Fast enough for agents.
Contained by design.

~90mscold start p50
reference environment
1–5mssnapshot restore
measured p50
3 pathsTypeScript SDK · REST API
MCP server
THE ISOLATION LAYER

Let agents execute.
Keep the host out of it.

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.

▧
01 / COMPUTE

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.

⌁
02 / NETWORK

Networking with boundaries.

Each VM gets a dedicated network namespace and egress policy. Metadata endpoints are blocked; DNS and IP/port filtering are configurable.

namespaceegress rulesmetadata blocked
◌
03 / LIFECYCLE

Disposable by default.

Sessions have an idle TTL, automatic cleanup, and startup orphan recovery. The workspace is ephemeral; end the session and reclaim its resources.

HOW IT FITS TOGETHER

One execution core.
Your agent’s interface.

Connect through the interface that fits your stack. They all hand work to the same session manager and isolated runtime.

Explore the backend
PICK YOUR INTEGRATION

Meet agents where they are.

Keep your application’s interface simple while the sandbox handles the execution boundary.

TS

TypeScript SDK

Zero runtime dependencies. A typed interface for creating sessions and running work.

↗
API

REST API

HTTP endpoints for session and execution operations from any client.

↗
⌘

MCP server

Connect agent tooling through stdio or SSE transports.

↗
GET STARTED

Bring up the
execution layer.

Agent Sandbox runs on Linux with KVM. Start with the release guide for prerequisites, Firecracker setup, templates, and deployment steps.

Open installation guide

REQUIRES Linux · KVM · Firecracker · Node.js 20.12+

QUICK START / SOURCE
# 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 guide
HOST SETUP REQUIREDLINUX / KVM
OPEN SOURCE · AGPL-3.0

Safer execution starts
with a real boundary.

Read the docs, inspect the implementation, and build your agent workflow on top.