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