Managed code sandboxes and execution environments for agent-written code. Ranked by community traction, with live GitHub stars and what each is best at.
Short answer: the best sandboxes & runtimes (managed) for AI agents by community traction is Beam Cloud (★ 0), followed by Blaxel and Cloudflare Sandboxes.
On-demand serverless sandboxes (gVisor isolation) with GPU support, persistent snapshots, and an open-source core (beta9) you can self-host as BYOC. Best for agent builders.
Perpetual-sandbox agent runtime — spin up isolated sandboxes in milliseconds (resume ~25ms with memory intact), plus hosted agents, MCP servers, and batch jobs. Best for agent builders.
GA (April 2026) container-backed sandboxes that give Workers-based agents a persistent isolated computer — exec, code interpreters, PTY terminals, backup/restore — on Cloudflare's edge. Best for agent builders.
Programmatic API over CodeSandbox's microVMs that lets agents create, run, hibernate, and instantly fork() a live VM (with memory snapshot) for parallel/A-B agent runs. Best for agent builders.
Elastic, stateful sandboxes for AI-generated code that cold-start in ~90ms, with parallel forking, snapshots, and SDKs in five languages. Best for agent builders.
A REST API that boots ephemeral Firecracker microVMs from OCI containers in a few hundred ms — a low-level sandbox layer for agents (see also Fly Sprites). Best for agent builders.
Full Linux VMs plus Git for code your AI writes — serverless Runs bill per millisecond of execution and support external npm modules and env vars for agent code. Best for agent builders.
Sandbox VMs built around Infinibranch — snapshot, branch, and restore an entire running environment (files + processes + memory) in under 250ms for parallel agent forks. Best for agent builders.
Developer platform with secure microVM sandboxes (Kata/gVisor) for multi-tenant AI code execution, self-serve BYOC across AWS/GCP/Azure and public pricing. Best for agent builders.
Enterprise-grade Devboxes for AI coding agents on a custom bare-metal hypervisor — ~100ms command exec, ~25ms resume-from-standby at zero idle cost. Best for agent builders.
Ephemeral Firecracker microVMs for running untrusted/agent-generated code on Vercel — Node & Python runtimes, root access, persistent-by-default, millisecond starts. Best for agent builders.
By community traction, Beam Cloud (★ 0) leads the sandboxes & runtimes (managed) in our directory. On-demand serverless sandboxes (gVisor isolation) with GPU support, persistent snapshots, and an open-source core (beta9) you can self-host as BYOC.
Beam Cloud is the most-starred open-source option; Blaxel and Cloudflare Sandboxes are strong runners-up.
Beam Cloud, at ★ 0 (live count).
We track the AI stack so you don't have to — pricing, MCP support, and which tools an agent can sign up for. Free.