Home / AI agent sandboxes

The 63 best AI agent sandboxes

Isolated environments, also called AI code sandboxes, that an AI agent starts through an API or SDK to run code, usually for seconds to hours, then throws away.

Verdict (2026-11-15): Isorun scores 78/100, #1 of 63 AI agent sandboxes. Strong on isolation, persistence, docs and SDKs, external benchmarks. Best for: Short code-execution runs from any Docker image with per-second billing and no minimum.

Filter in the explorerCompare side by side

Best overallIsorun78Highest score: 78/100.Best valueAgent37 Cloud70Lowest list price per month: $1.06.Best free tierNorthflank78Free Sandbox plan: up to $20/month of resources on Northflank Cloud (2 services, 2 jobs, 1 database), no card needed.

Ranking

Monthly estimate for: 2 vCPU, 4 GiB, 176 hours a month (8 h × 22 days), CPU busy 30%. Cheapest plan for each, without storage or network.

#ProviderScoreList price per monthFree tierIsolationUpvotes
1Isorun
KVM microVMs from any OCI image, billed per second for vCPU and RAM, with hibernate, fork and persistent disks.
78$19.36Credit or trialmicroVM0
2Northflank
MicroVM sandboxes on Northflank's container platform, billed per second for CPU and memory, on its cloud or yours.
78$11.73MonthlymicroVM0
3Koyeb Sandboxes
MicroVM sandboxes on Koyeb's serverless platform, billed per second at Koyeb instance prices, with CPU or GPU.
76$10.14NonemicroVM0
4Lizard Sandboxes
Firecracker microVM sandboxes at flat per-size hourly prices from $0.0081 for 1 vCPU / 2 GB, billed per second.
76$19.00Credit or trialmicroVM0
5Tensorlake Sandboxes
Firecracker microVM sandboxes billed on active CPU time (20% floor), with suspend/resume, snapshots and SSH.
76$17.95MonthlymicroVM0
6Vercel Sandbox
Firecracker microVMs on Vercel, billed for active CPU time plus provisioned memory.
76$28.44MonthlymicroVM0
7InstaBox
Persistent Firecracker Linux machines for agents, billed per second while running, with plan fees returned as credit.
75$20.00MonthlymicroVM0
8MIOSA
Firecracker sandboxes, persistent desktop computers and deployments from one API, billed per second by machine size.
75$20.00MonthlymicroVM0
9Archil
Firecracker sandboxes whose root filesystem lives on a durable Archil disk, plus per-call serverless tool runs.
74$33.44MonthlymicroVM0
10Mosaic Sandbox
Firecracker microVMs at a flat $0.05 per active hour for 2 vCPU / 4 GB, free while hibernated, with native SSH.
74$8.80NonemicroVM0
11Upstash Box
Durable agent containers billed per active CPU hour, auto-paused when idle, with built-in coding agents and browser.
73$10.56Monthlycontainer0
12CreateOS Sandbox
Firecracker microVMs billed per second, with no egress fees and pause that stops vCPU billing.
72$20.89Credit or trialmicroVM0
13LangSmith Sandboxes
MicroVM sandboxes inside LangSmith, billed per second for vCPU, memory and storage, with a small monthly allowance.
72$33.26MonthlymicroVM0
14boat
Full Ubuntu VMs with SSH, Docker and a desktop, sold in fixed sizes per hour from a $20 monthly plan.
71$20.00Credit or trialvirtual machine0
15Podflare
KVM microVM sandboxes with a persistent Python REPL and fast fork, in private alpha with a $200 starting credit.
71$28.86Credit or trialmicroVM0
16Agent37 Cloud
Persistent agent sandboxes billed per minute from a prepaid wallet, with optional full VMs and auto-sleep.
70$1.06Credit or trialsandboxed container (gVisor or similar)0
17CodeSandbox
MicroVM sandboxes with memory snapshots, used through the CodeSandbox SDK or its cloud editor, billed in VM credits.
69$26.40MonthlymicroVM0
18Fly.io Sprites
Persistent Linux microVMs that sleep when idle, billed on CPU time and memory actually used.
69$19.47Credit or trialmicroVM0
19Superserve
Firecracker microVMs for agents that pause with memory and disk kept, billed per second for vCPU and memory.
69$29.15Credit or trialmicroVM0
20Alibaba Cloud Agent Sandbox
E2B-compatible VM-isolated sandboxes for AI agents on Alibaba Cloud, billed per second with hibernation states.
68$12.57Nonevirtual machine0
21Tencent CubeSandbox
Self-hosted KVM microVM sandbox service from Tencent that works with the E2B SDK.
68Self-host · no list priceMonthlymicroVM0
22E2B
Firecracker microVM sandboxes for AI agents, billed per second for vCPU and RAM while running.
68$29.15Credit or trialmicroVM0
23E2B open-source runtime
The Apache-2.0 backend behind E2B Cloud: Firecracker microVM sandboxes you can run on your own Linux host or cloud.
68Self-host · no list priceMonthlymicroVM0
24microsandbox
Open-source library and CLI that boots local microVMs from OCI images on Linux, macOS and Windows.
68Self-host · no list priceMonthlymicroVM0
25Solo Enterprise for Agent Substrate
Supported Agent Substrate on your Kubernetes: each agent session in a gVisor or microVM sandbox, suspended when idle.
68Self-host · no list priceMonthlysandboxed container (gVisor or similar)0
26Morph Cloud
VMs that can be snapshotted, paused and branched into many copies, billed in prepaid compute units.
67$17.60Credit or trialvirtual machine0
27Tenki Sandbox
Disposable full Linux VMs for agents, billed per second, with pause, memory snapshots and Docker inside.
67$29.15Credit or trialvirtual machine0
28Workpaper
Small Linux VMs in India with Claude Code and Codex preinstalled, from $0.010 an hour on a $15 plan.
67$15.00Credit or trialvirtual machine0
29AWS Lambda MicroVMs
Firecracker microVMs from Lambda that suspend with memory and disk intact, billed per second on a baseline size.
65$44.39Credit or trialmicroVM0
30Daytona
Pay-as-you-go sandboxes (container, Linux VM, Windows, GPU) billed per second for reserved vCPU, RAM and disk.
64$29.15Credit or trialvirtual machine0
31Blaxel
MicroVM sandboxes that go to standby when idle and resume with memory and processes intact.
63$29.15Credit or trialmicroVM0
32Render Sandboxes
Firecracker microVMs on Render that suspend when idle, billed for active CPU time plus provisioned memory.
63$26.05NonemicroVM0
33Docker Sandboxes
Docker's sbx CLI runs coding agents in local microVMs for free, with optional pay-as-you-go cloud sandboxes.
62Self-host · no list priceMonthlymicroVM0
34Hyperbrowser
Hosted browsers for agents at $0.10 per browser-hour, plus Firecracker VM sandboxes billed by vCPU and memory.
62$30.00Credit or trialmicroVM0
35Namespace Devboxes
Linux, macOS and Windows dev machines for people and coding agents, billed per Devbox Minute plus storage used.
62$42.24Credit or trialmicroVM0
36Runloop
VM-isolated "Devbox" sandboxes for coding agents, with blueprints, snapshots and suspend/resume.
62$55.76Credit or trialmicroVM0
37Aether
A Firecracker VM per coding-agent task, running your own Claude Code or Codex, billed in credits for active VM time.
61$75.00MonthlymicroVM0
38DigitalOcean Agent Harness Runtime
Hardware-isolated microVM sandboxes for agents and code, billed per second on CPU used and memory allocated.
61$50.00Credit or trialmicroVM0
39Freestyle
Full Linux VMs for agent and app-builder workloads, with pause/resume, snapshots, forking and private networks.
61$50.00Monthlyvirtual machine0
40AWS Bedrock AgentCore Code Interpreter
Managed AWS code-execution tool for agents, billed per second on CPU actually used and peak memory.
60$16.10Credit or trialmicroVM0
41Maritime
Per-second micro-VM sandboxes plus persistent agent boxes at a flat monthly price per 2 GB of memory.
59$20.00Credit or trialnot stated0
42Railway Sandboxes
Isolated Linux VMs inside a Railway project, billed per second for CPU used and memory in use.
59$56.22Monthlyvirtual machine0
43Kata Containers
Building block: open-source container runtime that runs each container or pod inside a lightweight VM.
58Self-host · no list priceMonthlymicroVM0
44kosa8 Cloud
Hosted microVM sandboxes from the kosa8 agent-security tool, billed per second and asleep for snapshot cost only.
58$27.74NonemicroVM0
45Novita Agent Sandbox
Stateful agent sandboxes billed per second for allocated vCPU and memory, with pause, snapshots and egress rules.
58$20.53Credit or trialnot stated0
46Microsoft NVX
MIT-licensed micro-VM sandbox from Microsoft Research, built on OpenVMM, for KVM, MSHV and Windows hosts.
57Self-host · no list priceMonthlymicroVM0
47Modal Sandboxes
Containers for untrusted code on Modal's serverless platform, billed per second on max(request, actual usage).
57$41.88Monthlysandboxed container (gVisor or similar)0
48Cloudflare Sandbox SDK
Linux sandboxes on Cloudflare Containers, started and controlled from a Worker and a Durable Object.
56$18.26NonemicroVM0
49Hopx
Firecracker microVM sandboxes from Bunnyshell, billed per second for vCPU, memory and storage.
56$29.15Credit or trialmicroVM0
50Depot
CI runners, container builds and microVM sandboxes, billed per second at $0.18 per vCPU-hour with memory included.
55$83.36Credit or trialmicroVM0
51Firecracker
Building block: the open-source KVM microVM monitor from AWS that many sandbox platforms run on.
55Self-host · no list priceMonthlymicroVM0
52Promigence
Sandboxes for agents, evals and CI from verified snapshots, billed per second with a quote and hard spend cap per run.
55$29.15Credit or trialnot stated0
53gVisor
Building block: Google's open-source application kernel that sandboxes containers through an OCI runtime, runsc.
54Self-host · no list priceMonthlysandboxed container (gVisor or similar)0
54Kubernetes Agent Sandbox
Kubernetes controller for stateful agent sandboxes with warm pools; offered on GKE at no extra charge.
54Self-host · no list priceMonthlycontainer0
55NVIDIA OpenShell
Open-source policy-enforced agent runtime from NVIDIA: sandboxes on Docker, Podman, Kubernetes or microVMs.
54Self-host · no list priceMonthlycontainer0
56Riza Code Interpreter API
API that runs untrusted Python, JavaScript, TypeScript, Ruby or PHP in a WebAssembly sandbox, priced per request.
52Self-host · no list priceMonthlyV8 or WebAssembly isolate0
57SandBase
E2B-compatible agent sandboxes, free for now, on the same API key as a catalog of AI models and data APIs.
49No public rateMonthlynot stated0
58Azure Container Apps dynamic sessions
Hyper-V isolated code interpreter sessions from prewarmed pools, billed per session-hour.
48No public rateCredit or trialsandboxed container (gVisor or similar)0
59Cloudflare Dynamic Workers
V8 isolates created at runtime from a Worker to run untrusted JavaScript or WebAssembly, billed on CPU time.
48$12.00NoneV8 or WebAssembly isolate0
60Anthropic sandbox-runtime
Open-source CLI and library that wraps any process in OS-level filesystem and network restrictions, no container needed.
46Self-host · no list priceMonthlyOS-level process sandbox0
61Judge0
Open-source code execution API for 60+ languages, self-hosted for free or used as a cloud service priced per submission.
46Self-host · no list priceMonthlyOS-level process sandbox0
62AWS Nitro Sandboxes
Hardware-isolated lightweight VMs on your own EC2 instances, one per EKS pod, ECS task or agent session.
45No public rateNonemicroVM0
63Beam
Container sandboxes with optional GPUs, plus persistent VMs, billed per vCPU and GiB with three CPU price tiers.
45$24.64Nonecontainer0

Scores use the same published method for every provider. Upvotes and reviews come from signed-in users and do not change scores.

Score vs price

406080100$1.06$9.40$83List price per month → (log scale)← cheaperIsorun: 78/100, $19.36Northflank: 78/100, $11.73Koyeb Sandboxes: 76/100, $10.14Lizard Sandboxes: 76/100, $19.00Tensorlake Sandboxes: 76/100, $17.95Vercel Sandbox: 76/100, $28.44InstaBox: 75/100, $20.00MIOSA: 75/100, $20.00Archil: 74/100, $33.44Mosaic Sandbox: 74/100, $8.80Upstash Box: 73/100, $10.56CreateOS Sandbox: 72/100, $20.89LangSmith Sandboxes: 72/100, $33.26boat: 71/100, $20.00Podflare: 71/100, $28.86Agent37 Cloud: 70/100, $1.06CodeSandbox: 69/100, $26.40Fly.io Sprites: 69/100, $19.47Superserve: 69/100, $29.15Alibaba Cloud Agent Sandbox: 68/100, $12.57E2B: 68/100, $29.15Morph Cloud: 67/100, $17.60Tenki Sandbox: 67/100, $29.15Workpaper: 67/100, $15.00AWS Lambda MicroVMs: 65/100, $44.39Daytona: 64/100, $29.15Blaxel: 63/100, $29.15Render Sandboxes: 63/100, $26.05Hyperbrowser: 62/100, $30.00Namespace Devboxes: 62/100, $42.24Runloop: 62/100, $55.76Aether: 61/100, $75.00DigitalOcean Agent Harness Runtime: 61/100, $50.00Freestyle: 61/100, $50.00AWS Bedrock AgentCore Code Interpreter: 60/100, $16.10Maritime: 59/100, $20.00Railway Sandboxes: 59/100, $56.22kosa8 Cloud: 58/100, $27.74Novita Agent Sandbox: 58/100, $20.53Modal Sandboxes: 57/100, $41.88Cloudflare Sandbox SDK: 56/100, $18.26Hopx: 56/100, $29.15Depot: 55/100, $83.36Promigence: 55/100, $29.15Cloudflare Dynamic Workers: 48/100, $12.00Beam: 45/100, $24.64IsorunVercel SandboxMosaic SandboxCreateOS SandboxAgent37 Cloud
Score against list price per month for 2 vCPU, 4 GiB, 176 hours a month (8 h × 22 days), CPU busy 30%. Top left is better; a $0 price sits at the left edge. 46 of 63 providers publish a comparable price.

Questions

What is the best agent sandbox?

Isorun, with 78/100 on our published method (checked 2026-11-15). Isorun scores 78/100, #1 of 63 AI agent sandboxes. Strong on isolation, persistence, docs and SDKs, external benchmarks. Best for: Short code-execution runs from any Docker image with per-second billing and no minimum.

What is the cheapest agent sandbox?

Agent37 Cloud at $1.06 for 2 vCPU, 4 GiB, 176 hours a month (8 h × 22 days), CPU busy 30%, checked 2026-11-15.

CompareTick 2 to 4 providers.