Code Sandboxes
Alternatives to E2B
15 code sandboxes tools you can use instead of E2B, 2 of them open source. Summaries come from each vendor's own site. Links checked Nov 23, 2026.
At a glance
E2B alternatives compared
| Tool | What it does | Open source | Head to head |
|---|---|---|---|
| Agent 37 | Cloud sandboxes for running AI agents, positioned as lower-cost agent infrastructure. | No | E2B vs Agent 37 |
| AIO Sandbox | All-in-one agent sandbox with browser, shell, file access, VSCode Server, and MCP in one container. | Yes | E2B vs AIO Sandbox |
| boxd | Hardware-isolated Linux VMs for agents and developers that keep running processes, files and shell state between sessions, with fork, snapshot, pause and hibernate, in boxd's cloud or self-hosted. | No | E2B vs boxd |
| Celesto | Hardware-isolated cloud computers for AI agents, with browser, desktop, shell and file access, pause, resume and forking, via CLI and SDK; Apache-2.0 microVM core you can self-host. | Yes | E2B vs Celesto |
| Cloudflare Sandbox SDK | Run untrusted or generated code in Linux VMs or isolated Workers on Cloudflare. | No | E2B vs Cloudflare Sandbox SDK |
| Cosmonic | WebAssembly sandboxes for agent code, MCP servers and tools, with no access until you grant it: the free Cosmonic Desktop app (public beta) and Cosmonic Control for Kubernetes. Open source core: CNCF wasmCloud. | No | E2B vs Cosmonic |
| Daytona | Secure sandboxes for running AI-generated code. Its public GitHub repo is archived: core development moved to a private codebase in June 2026. | No | E2B vs Daytona |
| Macswarm | Cloud macOS virtual machines for Claude Code and Codex agents, each a Pod on Apple silicon with the latest Xcode and iOS Simulators, billed per Pod-hour. Three Pod-hours free to start, no card required. | No | Not compared yet |
| Modal | Serverless cloud for running, training, and serving AI workloads, including sandboxes. | No | Not compared yet |
| Runloop | Code sandboxes (Devboxes) for AI coding agents, plus evaluations. | No | E2B vs Runloop |
| Runtime | Linux sandboxes for agent code, each a Firecracker microVM, billed on active CPU, with pause, forks, snapshots, custom images, an MCP server and SDKs. | No | Not compared yet |
| Sandbox0 | Cloud computers for AI agents that keep the whole writable root filesystem, pause compute between tasks and resume on demand, via API, SDKs and CLI. | No | Not compared yet |
| Sandscale | Firecracker microVM sandboxes, workspaces and build machines for AI agents, started in one call. | No | Not compared yet |
| Vercel Sandbox | Isolated Linux microVMs on Vercel for untrusted or agent-generated code. | No | Not compared yet |
| VoidRun | Isolated microVM sandboxes where AI agents and developers run untrusted code, via REST API, TypeScript and Python SDKs, and an MCP server (beta). | No | E2B vs VoidRun |
Code Sandboxes
All 15 alternatives
-

Agent 37
agent37.comCloud sandboxes for running AI agents, positioned as lower-cost agent infrastructure.
-

AIO Sandbox
sandbox.agent-infra.comAll-in-one agent sandbox with browser, shell, file access, VSCode Server, and MCP in one container.
-

boxd
boxd.shHardware-isolated Linux VMs for agents and developers that keep running processes, files and shell state between sessions, with fork, snapshot, pause and hibernate, in boxd's cloud or self-hosted.
-

Celesto
celesto.aiHardware-isolated cloud computers for AI agents, with browser, desktop, shell and file access, pause, resume and forking, via CLI and SDK; Apache-2.0 microVM core you can self-host.
-

Cloudflare Sandbox SDK
developers.cloudflare.comRun untrusted or generated code in Linux VMs or isolated Workers on Cloudflare.
-

Cosmonic
cosmonic.comWebAssembly sandboxes for agent code, MCP servers and tools, with no access until you grant it: the free Cosmonic Desktop app (public beta) and Cosmonic Control for Kubernetes. Open source core: CNCF wasmCloud.
-

Daytona
daytona.ioSecure sandboxes for running AI-generated code. Its public GitHub repo is archived: core development moved to a private codebase in June 2026.
-

Macswarm
macswarm.comCloud macOS virtual machines for Claude Code and Codex agents, each a Pod on Apple silicon with the latest Xcode and iOS Simulators, billed per Pod-hour. Three Pod-hours free to start, no card required.
-

Modal
modal.comServerless cloud for running, training, and serving AI workloads, including sandboxes.
-

Runloop
runloop.aiCode sandboxes (Devboxes) for AI coding agents, plus evaluations.
-

Runtime
withruntime.comLinux sandboxes for agent code, each a Firecracker microVM, billed on active CPU, with pause, forks, snapshots, custom images, an MCP server and SDKs.
-

Sandbox0
sandbox0.aiCloud computers for AI agents that keep the whole writable root filesystem, pause compute between tasks and resume on demand, via API, SDKs and CLI.
-

Sandscale
sandscale.devFirecracker microVM sandboxes, workspaces and build machines for AI agents, started in one call.
-

Vercel Sandbox
vercel.comIsolated Linux microVMs on Vercel for untrusted or agent-generated code.
-

VoidRun
void-run.comIsolated microVM sandboxes where AI agents and developers run untrusted code, via REST API, TypeScript and Python SDKs, and an MCP server (beta).
FAQ
Questions
What are the alternatives to E2B?
Agent Stack Directory lists 15 other code sandboxes tools: Agent 37, AIO Sandbox, boxd, Celesto, Cloudflare Sandbox SDK, Cosmonic, Daytona, Macswarm, Modal, Runloop, Runtime, Sandbox0, Sandscale, Vercel Sandbox, VoidRun.
Is there an open-source alternative to E2B?
Yes. Among the alternatives we list, these are marked open source: AIO Sandbox, Celesto.
What does E2B do?
Isolated cloud machines for agents to run code, browse, and use tools. (Summary based on e2b.dev, link checked 2026-10-20.)
