AgentSandboxes · Nov 2026
Field report · November 2026 · for an AsyncTalk-style explainer video

The sandbox is the missing piece of everyday AI agents

You ask a question. An API spins up a disposable computer in milliseconds, an agent harness such as the Claude Agent SDK does the actual work in it (bash, Python, a browser, PDF rendering), the finished file goes back to your app, and the computer goes to sleep. This report covers how that loop works, why its economics can oversell hardware far more aggressively than AWS EC2, who is building it (30 platforms checked against X and official docs), and why it's hard to run as a business in mainland China.

📅 Research date: 26 Nov 2026 (UTC+8) 🔎 Sources: X posts found through X search, plus official docs, pricing pages and GitHub, all opened this run ⚖️ Vendor claims are labelled as such; anything we couldn't verify is marked "n/d"
30sandbox platforms & runtimes in the landscape table
18/12hosted or cloud vs. open-source / self-hostable
$300Mrun-rate of Modal Sandboxes alone (Modal, 14 Oct 2026)
25–80 msvendor-stated resume from snapshot (Blaxel ~25 ms, E2B ~80 ms)
~4–10%typical average CPU use of an agent sandbox (field report + Vercel's pricing assumption)
4hyperscaler launches in 2026: Lambda MicroVMs, Nitro Sandboxes, Google ACE, Docker Cloud
01 · Executive summary

Key takeaways

Sandboxes are now a mainstream product category

Modal says Sandboxes is a ~$300M run-rate product on its own, with close to 3 billion sandboxes spun up. AWS (Lambda MicroVMs on 22 Jun, Nitro Sandboxes GA on 9 Nov), Google (Agent Compute Engine, 22 Oct) and Docker (Cloud Sandboxes, 24 Sep) all shipped sandbox products in 2026.

The pattern is "sandbox + harness"

An agent harness (Claude Agent SDK / Claude Code, Codex, OpenCode) running inside a microVM is what turns an LLM from a chatbot into a worker that produces files. Anthropic's own hosting guide says the SDK "spawns and supervises a claude CLI subprocess that owns a shell, a working directory, and session files on disk."

The economics come from waiting

Agents spend most of their wall-clock time waiting on the model or the user. Google measured that "agents spend most of their lives waiting." One builder on X reports his sandboxes average about 4% CPU. Vercel's pricing examples assume 10% CPU use, and Vercel, Cloudflare and AWS AgentCore don't bill CPU time spent waiting on I/O.

MicroVMs won the isolation debate

Firecracker or Cloud Hypervisor microVMs with a dedicated kernel are now the default (E2B, Vercel, Daytona, Lambda MicroVMs, Google ACE, Blaxel, Cube). Modal (gVisor or VMs) and Anthropic's local srt (OS primitives) are the notable exceptions.

Open source is crowded and moving fast

Alibaba's OpenSandbox (★17.9k), Tencent's Cube Sandbox (★13.5k), microsandbox (★9.2k), Perplexity SPACE (open-sourced Oct 2026), E2B's own runtime and Kubernetes SIG agent-sandbox all let you self-host. Several of them copy E2B's API, so moving between them is cheap.

China: possible for clouds, hard for startups

Alibaba Cloud (FC 云沙箱, E2B-compatible) and Volcengine (云沙箱) already sell sandboxes, because licensed clouds can. An independent multi-tenant sandbox SaaS faces telecom licensing, real-name rules, abuse liability, generative-AI rules and no official Claude access. Anthropic's supported-regions list excludes mainland China.

🎬 Video hook + callback to the "personal agent" episode

"Last time we built a personal agent on your own laptop. Here's the catch: the moment you close the lid, your agent dies."

Callback structure for Le's script:

  • Local personal agents hit three walls: (1) availability: they need your machine awake and online; (2) safety: they run with your permissions, SSH keys and tokens (Anthropic built srt and Docker built Sandboxes precisely because of this); (3) scale: one laptop can't run ten agents in parallel for ten users.
  • The missing piece is an on-demand cloud computer per task. Fly.io now markets Sprites to exactly this audience: "an agent with access to your inbox and calendar shouldn't live on your laptop. Give it a Sprite that sleeps until it's needed and wakes up remembering everything."
  • The punchline: the personal agent we built last episode becomes a product the moment you move its "hands" (shell, files, browser) into a sandbox you can rent by the second.
02 · How it works

The on-demand sandbox + AI harness loop

Here is Le's thesis drawn end to end. A user asks for something, the API grabs a sandbox immediately, a harness like the Claude Agent SDK does the work, the generated PDF goes back to the main service and then to the user, and the sandbox sleeps until the next request.

Lifecycle of an on-demand AI sandbox request User prompt goes to the main app API, which provisions or resumes a sandbox in under a second. An AI harness such as the Claude Agent SDK runs bash, scripts, a browser and PDF generation inside it while calling the LLM API. Artifacts are returned to the main service and delivered to the user, then the sandbox hibernates and scales to zero until the next request resumes it. ISOLATED microVM · OWN KERNEL · NO SECRETS INSIDE LLM API (e.g., Claude) tokens stream · sandbox CPU ≈ idle via egress proxy (key injected) 1 User prompt "Analyse my bank CSV and send me a PDF report" 2 Main app API auth · quota · task id · upload inputs · pick template 3 Provision / resume from a pre-booted snapshot (vendor-stated 25–80 ms; well under 1 s end to end) Firecracker / CH microVM 4 AI harness runs the task Claude Agent SDK / Claude Code, Codex, OpenCode… plans + tools bash python browser PDF render files MCP /workspace/out/report.pdf 5 Artifacts → main service PDF · CSV · code · charts read out via files API → object store 6 Delivered to user signed download link, chat reply, email, Slack user gets the file, not a wall of chat text 7 Hibernate / scale to zero memory + disk snapshot; compute billing stops; storage only next turn / next request → resume where it froze
Figure 1. Lifecycle of an on-demand sandbox request. Resume times are vendor-stated: Blaxel says it resumes from standby in ~25 ms, and E2B says it loads a saved snapshot in ~80 ms. Credentials stay outside the VM and are injected by an egress proxy, which E2B, Sprites, Blaxel, Cube and Google ACE all document.

Why "sandbox + harness" turns a chatbot into a worker

  1. The harness gives the model hands. The Claude Agent SDK isn't a stateless API wrapper. Per Anthropic's hosting docs it supervises a claude subprocess "that owns a shell, a working directory, and session files on disk." Without a computer under it, it can only talk.
  2. The sandbox makes the hands safe to use. The harness has to run arbitrary code: pip install, scraping, LaTeX or headless Chrome for PDFs. A microVM with its own kernel keeps the blast radius off your servers. One widely shared X thread describes Moonshot's Kimi K3 paper: containers running agents caused kernel panics on the host, and the fix was Firecracker microVMs.
  3. Instant provisioning makes it feel like chat. Sandboxes restore a pre-booted snapshot rather than booting a kernel. E2B's open-source runtime says "a sandbox is a resumed snapshot", AWS Lambda MicroVMs "resume from the pre-initialized snapshot rather than booting cold", and Modal reports median start times under half a second.
  4. Files, not text, are the deliverable. The output is a real PDF, spreadsheet, chart or git diff that your service pulls out through a files API and hands to the user. That's what daily use looks like: "make me the report", not "explain how to make the report".
  5. Hibernation makes it affordable to keep one per user. Pausing keeps memory and disk (E2B keeps paused sandboxes indefinitely), and compute billing stops, so every user can have a persistent "personal computer" that costs storage while idle. Builders on X describe this in production: "every chat turn wakes a real Firecracker VM, and 'waking' takes milliseconds."
  6. Secrets stay outside. The best designs inject API keys at the egress proxy so the agent can call Claude but can never read the key. E2B's Claude Code template uses Secret.fill, and Sprites Connectors and Google ACE's "zero-secrets architecture" work the same way.

Reference integration: API → sandbox → Claude Code → PDF → user

The pattern below uses the E2B TypeScript SDK (v2.64 checked) and E2B's documented Claude Code template. The method names (Sandbox.create, commands.run, files.read(…, {format:'bytes'}), pause, Sandbox.connect, Secret.fill) come from E2B's docs and published type definitions. Other providers expose the same create, exec, read and pause shape.

server/report-task.ts
import { Sandbox, Secret } from 'e2b'            // npm i e2b
import { putObject, signedUrl, db } from './infra' // your storage + DB helpers

// POST /api/tasks  { userId, prompt, csv }
export async function runReportTask(userId: string, prompt: string, csv: string) {
  // 1) Resume this user's paused sandbox if one exists, else create from a template
  //    that already has Claude Code + Python + a PDF toolchain baked in.
  const prev = await db.sandboxIdFor(userId)
  const sbx = prev
    ? await Sandbox.connect(prev)                    // Paused → Running
    : await Sandbox.create('claude-code', {
        envs: { ANTHROPIC_API_KEY: 'placeholder' },   // real key never enters the VM
        network: { rules: { 'api.anthropic.com': [
          { transform: { headers: { 'x-api-key': Secret.fill('anthropic-api-key') } } },
        ] } },
      })

  // 2) Hand the inputs to the sandbox
  await sbx.files.write('/home/user/in/data.csv', csv)

  // 3) Run the harness headless. It plans, writes code, runs it, renders the PDF.
  const run = await sbx.commands.run(
    `claude --dangerously-skip-permissions -p ${JSON.stringify(
      prompt + ' Read in/data.csv. Save the final report as out/report.pdf.'
    )}`,
    { cwd: '/home/user', timeoutMs: 0 }                // no client-side timeout
  )

  // 4) Pull the artifact out and store it in the main service
  const pdf = await sbx.files.read('/home/user/out/report.pdf', { format: 'bytes' })
  const key = await putObject(`reports/${userId}/${Date.now()}.pdf`, pdf)

  // 5) Hibernate: memory + disk kept, compute billing stops. Remember the id.
  await sbx.pause()
  await db.saveSandboxId(userId, sbx.sandboxId)

  // 6) Deliver to the user
  return { url: await signedUrl(key), log: run.stdout.slice(-2000) }
}

Notes: --dangerously-skip-permissions is acceptable only because the sandbox is disposable and holds no secrets. That's the whole point of the boundary. For streaming progress to the UI, run the harness with streaming output, or use the Claude Agent SDK's query() inside the VM. Anthropic's hosting guide lists ephemeral, long-running and hybrid session patterns. The hybrid pattern (the container "spins down during idle periods and spins back up when the user returns") is the one this code uses.

03 · The business model

Why sandboxes can oversell far more aggressively than EC2

An agent's sandbox is rented as "2 vCPU / 4 GB", but it spends most of its life waiting for the model to stream tokens, for an API, or for the human. Providers that price on active usage and snapshot idle VMs out of memory can sell many times more vCPU than the physical cores they own. That gap is where the margin comes from.

Agent CPU timeline and host packing comparison Top: an illustrative agent turn where short tool bursts are separated by long LLM waiting periods, then the user idles and the sandbox pauses. Bottom: an EC2 host where four reserved VMs are mostly idle but fully billed, versus a sandbox host where dozens of sandboxes share cores because only a few are active at any moment. A. One agent turn: what the sandbox CPU actually does (illustrative) LLM thinking (waiting) bash python PDF render user reads the PDF → sandbox paused (no compute billed) time → orange = CPU busy · grey = waiting on tokens / APIs · blue = paused B. Same physical host, two business models Classic VM / EC2-style allocation each tenant reserves a fixed slice and pays while it runs, busy or idle VM A · 16 vCPUVM B · 16 vCPUVM C · 16 vCPUVM D · 16 vCPU reservedreservedreservedreserved AI microVM sandbox host many small VMs share cores; idle ones snapshot out; bill active use active (needs a core now) waiting on LLM paused (snapshot on disk)
Figure 2. Panel A is a conceptual timeline, not measured data. Panel B is a schematic. The evidence behind the shape: Google's ACE team found that "agents spend most of their lives waiting", a builder on X reports "our sandboxes average ~4% CPU", and Vercel's worked pricing examples "assume 10% CPU utilization, reflecting time spent waiting for LLM calls." AWS's AgentCore pricing page puts I/O wait at 30–70% of time for typical agentic workloads, which is a more conservative figure.

The technical levers behind aggressive overselling

1 · CPU is mostly idle, so oversubscribe it

A practitioner on X put it bluntly: "CPU oversubscription is a MUST." Another wrote "we aggressively overcommit resources and prioritize scheduling sandboxes on more full nodes" for RL rollouts. A third measured "<2s P95 for instance-to-instance migration of Firecracker-based sandboxes" and argues you should "oversubscribe CPU aggressively" and migrate the rare hot sandbox.

2 · Memory is shared copy-on-write and loaded lazily

E2B's runtime serves memory pages "lazily on page fault". Google ACE uses "copy-on-write memory sharing to run multiple agents on a single operating system template". Tencent Cube claims "<5MB overhead per sandbox" via CoW. The same X thread adds: "RAM oversubscription is very possible for sandboxes because they use lazy load with things like UFFD."

3 · Pause instead of reserve

Idle sandboxes get snapshotted and evicted from RAM. Blaxel scales to zero after ~5 s of inactivity. Sprites bills nothing for warm or cold Sprites. Volcengine's sandbox bills nothing while paused. Google ACE pauses the microVM the moment the agent "enters the 'thinking' phase". Only the active fraction needs physical resources.

4 · Billing that pays for activity

Vercel's Active CPU: "time spent waiting for I/O … does not count." Cloudflare Containers: "CPU usage is based on active usage only." AgentCore: "CPU scales to zero during I/O wait." Sprites: CPU "measured by cpu.stat". Modal bills max(request, usage) from a 0.125-core floor. The customer pays less than a reservation would cost, and the provider still packs far more tenants per host.

Side by side: EC2 vs. containers vs. AI microVM sandboxes

DimensionAWS EC2 (On-Demand VM)Containers (K8s / serverless containers)AI microVM sandboxes
Typical lifetimeHours to years, long-lived serversMinutes to months (services)Seconds to hours per task; may be paused for days or indefinitely (E2B keeps paused sandboxes indefinitely)
Billing unitPer second while running, 60 s minimum, busy or idle (AWS docs)Requested CPU/RAM (K8s nodes) or per-request/active time (serverless)Per second or per ms; often active CPU only (Vercel, Cloudflare, AgentCore, Sprites), with memory billed on provision or use
Who pays for idleCustomerMixedMostly the provider's scheduler problem, and its profit opportunity
Oversubscription headroomLow: you get a fixed vCPU allocation. Burstable T-family is the exception and runs on a CPU-credit baselineMedium: requests vs. limits, but processes share one kernelHigh: workloads are I/O-bound and bursty, snapshots evict idle RAM, CoW shares base pages
IsolationFull VM (Nitro)Shared host kernel (namespaces/cgroups), unless gVisor/KataDedicated guest kernel per sandbox (Firecracker / Cloud Hypervisor / Nitro), or gVisor
Start / resumeTens of seconds to minutesSub-second to secondsVendor-stated 25–80 ms resume; Modal reports <0.5 s median start
State while idleKept, at full priceUsually lost on scale-downMemory + disk snapshot, storage price only
Best fitSteady servers, databasesTrusted microservicesUntrusted LLM-generated code, one computer per user/task

Worked example from published prices

One hour of a 2 vCPU / 4 GiB agent sandbox at 10% average CPU (Vercel's own assumption), with all 4 GiB of RAM counted. All rates are list prices read from the providers' pricing pages this run.

ProviderHow CPU is billedCPU costMemory cost≈ Total / hour
E2BProvisioned vCPU while running ($0.000014/vCPU-s)2 × 3600 s → $0.10084 GiB × $0.0000045/s → $0.0648$0.166
Modal Sandboxesmax(request, usage); 10% of 2 vCPU = 0.1 physical core, below the 0.125-core floor ($0.00003942/core-s)0.125 core → $0.01774 GiB × $0.00000667/s → $0.0960$0.114
Vercel Sandbox (iad1, Pro)Active CPU only ($0.128/vCPU-h)0.2 vCPU-h → $0.02564 GB-h × $0.0212 → $0.0848$0.110
Fly.io SpritesCumulative CPU from cpu.stat ($0.0385/CPU-h)0.2 CPU-h → $0.00774 GB-h × $0.021875 → $0.0875$0.095

What the numbers say

Once CPU is billed on activity, memory becomes the main cost. Sprites' FAQ says it directly: "RAM is almost always the line that dominates." Meanwhile the provider has sold "2 vCPU" that uses about 0.2 vCPU on average. Illustrative arithmetic (our model, not vendor data): a 128-vCPU host serving 2-vCPU sandboxes at 5% average use sees ~0.1 vCPU of real demand per sandbox. Even after reserving 50% headroom for bursts, it could host ~640 sandboxes, which is about 1,280 vCPU sold on 128 vCPU (≈10:1). That only works if paused sandboxes leave RAM, which is exactly what snapshot/resume does. A reserved-VM model can't do this, because the customer has paid for the idle time and expects it to be there.

The counter-argument, for balance

Not everyone oversells. Some new providers advertise "no CPU oversubscription" as a selling point, and the quality complaint is real: "offering stable sandboxes is so hard to achieve even for big established providers." AWS's AgentCore data (30–70% I/O wait) also suggests some workloads, especially RL and heavy builds, are far less idle than chat agents. Oversell only works when workloads are bursty. The provider makes money from the gap between sold and used capacity, and that gap disappears when an agent does sustained compute.

04 · The landscape

The AI sandbox landscape, verified against X and official docs

Each row below was checked against an official pricing page, the docs, or the GitHub repo during this run (26 Nov 2026). Cold-start figures are vendor-stated unless noted. "n/d" means we couldn't find a published figure. GitHub stars were fetched from the GitHub API on the same day.

Platform · categoryIsolation techCold start / resumeSnapshot / hibernatePricing modelBest forLink
No sandbox matches that filter. Try "microVM" or clear the search.

Category tags: Hosted managed cloud API · Edge/Serverless part of a hyperscaler, edge or serverless platform · Open source self-hostable code · CN China-origin or China-region offering.

Profiles: purpose-built agent sandboxes

E2B

Hosted + OSS
Isolation: Firecracker microVM, dedicated kernel
Speed: snapshot load ~80 ms (docs)
State: pause/resume incl. memory, kept indefinitely; fork up to 100 per request
Price: $0.000014/vCPU-s + $0.0000045/GiB-s; Hobby $0 with one-time $100 credit; Pro $150/mo
ProsDe-facto API standard (Cube, SPACE and Alibaba FC copy it); official Claude Code template with secret injection; runtime is Apache-2.0
ConsCPU-only, no GPUs; bills provisioned vCPU while running

Daytona

Hosted
Isolation: Firecracker (Linux), Cloud Hypervisor (Windows/GPU), Apple Virtualization (macOS)
Speed: "under 90ms from code to execution" (vendor)
Price: $0.0504/vCPU-h, $0.0162/GiB-h; $200 free compute; startup credits up to $50k
ProsLinux, Windows, macOS and GPU sandboxes under one API; domain-level egress firewall
ConsOpen-source repo frozen: "As of June 2026, Daytona's core development has moved to a private codebase"

Modal Sandboxes

Hosted
Isolation: gVisor by default, or VM Sandboxes (GA Oct 2026)
Speed: "less than half a second at the median"; 1M concurrent sandboxes created in under a minute (Modal eng. blog)
Price: $0.00003942/physical-core-s, $0.00000667/GiB-s, billed max(request, usage); Starter has $30/mo of free compute
ProsMassive fan-out for RL and evals; GPUs on the same platform; secret injection; sidecars
ConsSandboxes billed at 3× list (non-preemptible); state across >24 h needs snapshots

Blaxel

Hosted
Isolation: hardware-isolated microVM per agent
Speed: resume from standby ~25 ms; scale-to-zero after ~5 s idle (vendor)
Price: $0.0000115 per GB-RAM-second of active time; snapshots $0.20/GB-mo; up to $200 free credits
ProsBuilt for "persistent environments that idle to zero"; egress proxy with secret injection; MCP hosting
ConsBilled by RAM, so memory-heavy agents cost more; support add-ons are pricey

Fly.io Sprites

Hosted
Isolation: hardware-isolated Linux VM ("Linux computers for agents")
State: 100 GB persistent disk; checkpoints "in about a second"; wakes on HTTP request
Price: CPU $0.0385/CPU-h by cpu.stat, RAM $0.021875/GB-h of actual use; warm and cold Sprites not billed for compute
ProsExplicitly targets personal agents; Connectors keep credentials outside; OpenAI Agents SDK + TanStack integrations
ConsDisk checkpoints restore files, not running processes

Freestyle · Morph Cloud · Northflank

Hosted
Freestyle: full Linux VMs "ready in 65 ms", live cloning incl. memory, pause/resume; one of Runloop's official migration targets
Morph Cloud: VM snapshots, branching ("Infinibranch"), pause/resume
Northflank: microVM (Cloud Hypervisor) or gVisor for GPUs, BYOC, per-second billing
ProsStrong forking and branching for parallel exploration; BYOC (Northflank)
ConsSmaller ecosystems; check current pricing on each site

Profiles: cloud, edge and hyperscaler sandboxes

Vercel Sandbox

Edge/Serverless
Isolation: Firecracker microVM (Vercel runs a $1M public escape challenge)
Price: Active CPU $0.128/h, I/O wait not billed; memory $0.0212/GB-h; Hobby includes 5 CPU-h/month
State: snapshots (30-day default expiry), persistent sandboxes, drives; 24 h sessions on Pro
ProsBilling model built around agents waiting on LLMs; free egress firewall; 19 regions
ConsAmong the highest list rates in community price comparisons on X; 8 vCPU max on Pro

Cloudflare Sandboxes

Edge/Serverless
Isolation: Containers, where "each instance is a microVM with its own kernel", or Dynamic Workers (Workers-runtime isolates for JS/Python/Wasm)
Price: Workers Paid $5/mo; CPU $0.000020/vCPU-s on active usage; memory $0.0000025/GiB-s
State: snapshots free during beta; R2 mounts
ProsWorker controls all egress and credentials; guide for running Claude Code, Codex and Devin
ConsSandbox scheduling still in public beta; tightly tied to Workers

AWS Lambda MicroVMs

Edge/Serverless
Launched: 22 Jun 2026 (us-east-1/2, us-west-2, eu-west-1, ap-northeast-1)
Isolation: Firecracker; launches resume from a pre-initialized snapshot
State: suspend/resume with memory + disk; up to 8 h total lifetime; documented OpenAI Agents API executor pattern
ProsIAM, VPC and AWS-native ops; suspension stops compute charges
Cons8-hour cap; snapshot uniqueness needs care (shared entropy/IDs)

AWS Nitro Sandboxes · AgentCore

Hyperscaler
Nitro Sandboxes (GA 9 Nov 2026): each EKS pod / ECS task / VM in its own Nitro-isolated lightweight VM, with attestation; "no additional charge" beyond EC2
AgentCore Code Interpreter: microVM per session; $0.0895/vCPU-h with CPU free during I/O wait; $0.00945/GB-h
ProsBuild your own sandbox cloud on EC2 with hardware isolation
ConsNitro Sandboxes is a building block; you still write the orchestrator

Google Agent Compute Engine

Hyperscaler
Announced: 22 Oct 2026; already powers Gemini agents; customer preview "in the coming months"
Isolation: Cloud Hypervisor microVM + Titanium IPU; no NIC, all traffic over vsock to a proxy
Economics: CoW memory sharing; pauses the microVM while the agent "thinks"
ProsThe clearest public write-up of the oversell economics
ConsNot yet available; pricing undisclosed until GA

Docker Sandboxes (local + Cloud)

Hosted + local
Isolation: microVM with its own kernel and Docker daemon
Cloud Sandboxes: launched 24 Sep 2026, same sbx CLI with --cloud; sessions default 1 h, up to 24 h
ProsFamiliar tooling; move from laptop to cloud with one command
ConsFocused on coding agents rather than embedding in your app

Profiles: open-source and self-hostable

OpenSandbox (Alibaba origin)

OSS
★17.9k · Apache-2.0, repo now under opensandbox-group
Runtimes: Docker locally, Kubernetes in prod; gVisor, Kata and Firecracker backends
Speed: Firecracker creation 64 ms P50 (serial), 125.4 ms P99 (10 concurrent) per README; pause/resume with memory
ProsSDKs in 5 languages; MCP server; Claude Code and Codex CLI examples
ConsYou operate the cluster and the abuse controls

Cube Sandbox (Tencent Cloud)

OSS
★13.5k, Apache 2.0 per README
Isolation: RustVMM + KVM microVM, eBPF egress filtering, L7 proxy with credential injection
Speed: "Average <60ms cold start", "<5MB overhead per sandbox"; cross-node pause/resume (preview)
ProsE2B SDK drop-in ("changing one environment variable"); snapshot, clone, rollback
ConsYoung project; some features still preview

Perplexity SPACE

OSS
★2.2k · Apache-2.0; open-sourced Oct 2026; runtime behind Perplexity Computer
Isolation: Firecracker microVMs behind an HTTP API; warm pools; base snapshots
Compat: E2B compatibility wrapper
ProsProven at production scale; assumes agent code is hostile
ConsSnapshot, checkpoint and rollback APIs are still "incubating"

microsandbox

OSS
★9.2k · Apache-2.0
Isolation: local microVMs ("tiny virtual machines"), embeddable, no daemon
Speed: "Average boot times under 100 milliseconds"; fork live sandboxes; snapshot to file
ProsBest for running agents safely on your own machine
ConsSingle-host, not a multi-tenant cloud

Kubernetes agent-sandbox

OSS
★4.7k · Apache-2.0 (kubernetes-sigs)
Role: sandbox orchestrator that delegates isolation to gVisor or Kata via RuntimeClass
State: warm-pool claims, deep hibernation, auto-resume on connection
ProsUpstream K8s standard; pluggable gVisor / Kata runtimes
ConsBring your own runtime, egress and billing

Local guards: srt · Strands Box

OSS
Anthropic sandbox-runtime (srt): ★7.3k, Apache-2.0. OS primitives (macOS sandbox-exec, Linux bubblewrap) plus a proxy, so no container is needed. It powers Claude Code's /sandbox
AWS Strands Box: ★617, OS isolation plus default-deny "Dogwood" policies; macOS developer preview
ProsProtect your laptop at near-zero overhead
ConsNot a VM boundary and not a cloud service

⚠️ Graveyard and churn: the market is consolidating too

Runloop is winding down. Its docs say transition support ran "through November 13, 2026 at 11:59 PM PT", with migration guides to Tensorlake, Modal and Freestyle. Daytona stopped public development of its open-source repo in June 2026. A community price list on X also marks a hosted provider listed as "Cube" ($0.016/hr) as "sunsetting". The list doesn't say whether it is related to Tencent's open-source Cube Sandbox. Lesson for builders: stay portable. The E2B-style API (copied by Cube Sandbox, SPACE and Alibaba Cloud FC 云沙箱) is the closest thing the category has to a standard.

Building blocks used by almost everything above: Firecracker (★38.2k), gVisor (★20.1k), Kata Containers (★9.2k). Other self-hostable projects in the table: E2B Runtime, BoxLite, Zeroboot, smolvm and AIO Sandbox.

What builders are saying on X

A curated set of real posts found with X's search API during this run. Quotes are verbatim excerpts. Like counts were captured on 26 Nov 2026, and dates are the post's UTC date.

@Jccorzot10 Nov 2026 · 383 ♥
"Sandbox provider are trending now, so here is a list of them ordered from most expensive to cheapest (All prices are for 2 vCPU / 4 GB, running for one hour)."

The most-shared price ranking of the month. It started at 27 providers and an update on 13 Nov listed 45. In the update, E2B and Daytona are at $0.166/h, Modal at $0.238/h, Vercel at $0.341/h, and Runloop is marked "shutting down Nov 13".

x.com/Jccorzot/status/2120201561334833495 · update
@emilahlback19 Nov 2026
"Bin packing. Our sandboxes average ~4% CPU, but most providers bill the full 2 vCPU while it's awake"

One line that sums up the oversell thesis. A reply adds: "an agent sandbox mostly waits, on the model, on tests, on a person."

x.com/emilahlback/status/2123208896324194339
@wangzhr417 Nov 2026 · 19 ♥
"CPU oversubscription is a MUST… RAM oversubscription is very possible for sandboxes because they use lazy load with things like UFFD… You don't get what you claimed, that's where profit comes from."

The blunt version of Le's "aggressive oversell" point.

x.com/wangzhr4/status/2122483133765586978
@brendanigraham8 Oct 2026
"During rollouts, sandboxes spend most of their time idle. To improve bin packing, we aggressively overcommit resources and prioritize scheduling sandboxes on more full nodes."

Overcommit at RL scale, plus cache-aware scheduling and zstd-compressed images.

x.com/brendanigraham/status/2108280362199900402
@yochowgwo7 Sep 2026
"Make the sandbox migratable and oversubscribe CPU aggressively… we've measured <2s P95 for instance-to-instance migration of Firecracker-based sandboxes… Conversational agents mostly wait."

Live migration is how a host survives when an oversold sandbox suddenly gets busy.

x.com/yochowgwo/status/2096788374803939777
@jerrychaox10 Aug 2026
"We've been running Claude Code agents inside E2B microVMs in production for months — every chat turn wakes a real Firecracker VM, and 'waking' takes milliseconds, not seconds."

A production write-up of Le's exact loop: snapshot taken after boot, activation JSON, auto-pause on idle, transparent resume.

x.com/jerrychaox/status/2086696864733352394
@stretchcloud23 Jun 2026
"Render's CEO called AWS Lambda MicroVMs 'the first nail in the coffin of every sandbox-only startup.'"

The bear case: hyperscalers turn isolation into a commodity, so startups have to compete on snapshots, developer experience, orchestration and price.

x.com/stretchcloud/status/2069470540373397584
@stretchcloud28 Jul 2026
"Running agents inside containers caused kernel panics. Not app crashes. The agents took down the underlying machine."

A summary of the Kimi K3 paper: Moonshot moved to Firecracker microVMs. This is the argument for microVMs over containers.

x.com/stretchcloud/status/2082040114197475398
@vercel18 Aug 2026 · 1,339 ♥
"$1,000,000 hacker challenge for Vercel Sandbox: Escape the Firecracker microVM · Defeat the host-side network boundary"

Security is now a marketing battleground.

x.com/vercel/status/2089744789982069006
@simplifyinAI13 Aug 2026 · 239 ♥
"Alibaba just open-sourced its AI agent sandbox platform. OpenSandbox is a general-purpose sandbox runtime for AI agents."

Highlights SDKs in five languages, an MCP server for Claude Code and Cursor, and gVisor, Kata and Firecracker options.

x.com/simplifyinAI/status/2087958154172866921
@dr_cintas31 Aug 2026 · 44 ♥
"Tencent open-sourced an instant, secure and lightweight sandbox runtime for AI Agents. it's called Cube Sandbox"

Cross-node pause/resume: "A running agent sandbox can stop on one machine and start again on another, carrying its full memory and filesystem with it."

x.com/dr_cintas/status/2094470665747247443
@mojunel19 Oct 2026 · 53 ♥
"Perplexity open-sourced SPACE Oct 15… 10 open-source GitHub repos that jail your agent's code"

A map of the stack: "code → jail → kernel → microVM → API → fork → resume". It links srt, bubblewrap, gVisor, Firecracker, Kata, libkrun, smolvm, SPACE, E2B infra and BoxLite.

x.com/mojunel/status/2112231122096521414
@lxe15 Nov 2026 · 35 ♥
"Agent 37 · Agent Computer · AWS Bedrock AgentCore · Baseten Sandboxes · Beam · Blaxel · … Vercel Sandbox · Zipbox · Zode and more!"

A list of about 50 sandbox providers, which shows how crowded the category has become.

x.com/lxe/status/2121810800767893809
@0xKetone15 Oct 2026
"@modal raised $750M at a $15.75B valuation… ARR more than tripled since May to over $1B, nearly a third from Sandboxes for agents."

Matches Modal's own post: Sandboxes is "a $300M run rate product just on its own."

x.com/0xKetone/status/2110788301871259975
@dani_avila721 Oct 2025 · 102 ♥
"You can now run Claude Code Templates agents in isolated Cloudflare Sandbox environments."

An early sign that harness and sandbox were merging into one product. A later update added E2B and Docker.

x.com/dani_avila7/status/1980632581906333948
@debsourya00513 Apr 2026
"open source, sandbox agent SDK by @rivet_dev to run any agent harness (be it Claude Code, Codex, OpenCode or Pi agent…) on your own custom sandbox."

Harness-agnostic and provider-agnostic: the abstraction layer is forming.

x.com/debsourya005/status/2043740807770120260
@e2b28 Oct 2026
"@ycombinator open-sourced the agent harness it uses internally… every agent needs a computer to work in. That computer can now be an E2B sandbox."

Personal agents in Slack, each with its own sandbox.

x.com/e2b/status/2115495381928997257
@chenYijl23 Oct 2026
"AI 智能体人手一台电脑,开业了!… 沙箱里不放任何凭据… 闲着就冻结,上岗 0.5 秒醒过来"

Chinese-language coverage of Google's Agent Compute Engine: one computer per agent, no credentials inside, frozen when idle and awake in 0.5 s (as reported in the post).

x.com/chenYijl/status/2113567414445117661
@LynkrDev24 Nov 2026
"Warren: A sandbox for coding agents, on hardware you own… Linux containers under gVisor · Linux microVMs under Firecracker · Real macOS virtual machines on Apple silicon"

The newest self-hosted entrant this week, Apache-2.0 (repo created recently, 0★ when checked).

x.com/LynkrDev/status/2125085894046871908
@IamYounesKh / @AniC_devNov / Sep 2026
"cheapest in the market, no CPU oversubscription" · "offering stable sandboxes is so hard to achieve even for big established providers"

The counter-trend: some new providers sell not overselling as a feature.

x.com/IamYounesKh/status/2120190369635660117 · x.com/AniC_dev/…
05 · For the audience

Why builders should act in the next few months

1 · Every cloud now offers this

In 2026 alone: AWS Lambda MicroVMs (22 Jun), Microsoft Foundry Hosted Agents GA with per-session hypervisor sandboxes (9 Jul, per X coverage), Docker Cloud Sandboxes (24 Sep), Google Agent Compute Engine (22 Oct), AWS Nitro Sandboxes GA (9 Nov). When every hyperscaler ships the same primitive within one year, it's becoming default infrastructure, much like object storage did.

2 · Harnesses are moving into the cloud

Anthropic's docs describe Managed Agents, where "tool execution runs in an Anthropic-managed cloud sandbox or a self-hosted sandbox." OpenAI's Agents API has a documented Lambda MicroVM executor, and the OpenAI Agents SDK plugs into Sprites. Expect "bring your own sandbox" to become a standard checkbox.

3 · Usage is large and growing

Modal has run close to 3 billion sandboxes and demonstrated 1 million concurrent. E2B claims 100K+ teams. Perplexity says SPACE handles millions of sandbox runs daily (per X coverage). RL training creates bursts of hundreds of thousands of sandboxes.

4 · Prices are falling and the APIs are converging

Community price lists on X now span about $0.006 to $0.36 per hour for 2 vCPU / 4 GB. E2B-compatible APIs (Cube, SPACE, Alibaba FC) make switching cheap. That's a good time to integrate: you get leverage over vendors and can build in an exit from day one.

Decision framework: integrate vs. build your own

If you…Do thisConcrete starting point
Are shipping an AI feature this quarterIntegrate a hosted API. Stay on the E2B-style interface so you can switch providers laterE2B / Daytona / Blaxel / Modal; Vercel or Cloudflare if you already live there
Have one persistent agent per user (personal agents)Choose providers with memory snapshots + scale-to-zero and bill-on-activityBlaxel (~25 ms resume), Sprites (sleep/wake on URL), E2B pause/connect
Run RL / evals with huge fan-outOptimise for creation rate and concurrency, not developer experienceModal (1M concurrent demo), Daytona, Freestyle (live cloning)
Have compliance or data-residency needsBYOC / self-host in your own VPCE2B Enterprise BYOC, Northflank BYOC, Blaxel bring-your-own-metal, AWS Nitro Sandboxes
Have large, steady sandbox spend, or need a mainland-China deploymentBuild: Firecracker/Cloud Hypervisor + orchestrator + egress proxyStart from OpenSandbox, Cube Sandbox, SPACE, E2B Runtime or K8s agent-sandbox, not from scratch
Just want your own laptop agents to stop being dangerousLocal sandboxClaude Code /sandbox (srt), Docker Sandboxes, microsandbox

If you build your own, budget for these five parts

(1) A VMM: Firecracker for density, Cloud Hypervisor if you need GPU or Windows, gVisor or Kata if you live in K8s. (2) A snapshot pipeline: pre-booted templates, lazy memory (UFFD), CoW disks. (3) A scheduler that oversubscribes and can live-migrate hot sandboxes. (4) An egress proxy that injects secrets and enforces allowlists; every serious vendor has one. (5) Abuse controls against crypto-mining, proxying and scraping. The first three are engineering problems. Part (5) is where the business risk sits, and in China it turns into a legal problem.

06 · China market reality check

Why a public AI-sandbox SaaS is hard to run in mainland China

Le's instinct is right, with one nuance. The technology is clearly there: Alibaba and Tencent open-sourced two of the most popular runtimes, and Alibaba Cloud and Volcengine already sell sandboxes. What's hard is being an independent, multi-tenant provider that hands strangers arbitrary code execution and internet egress.

🏛 Licensing for compute and hosting

  • Selling IaaS/PaaS-style cloud compute to the public generally requires a value-added telecom licence (B11, internet data center / internet resource collaboration services) under MIIT's telecom licensing regime. Private, self-used clouds generally don't need one (MIIT official interview via CWW, 电信业务经营许可管理办法).
  • Every public endpoint (sandbox preview URLs, APIs) also needs ICP filing, and cross-province operation raises the licensing bar.
  • Implication: a startup either gets licensed (slow, with capital and ownership constraints) or resells on top of a licensed cloud, which then competes with it directly.

🪪 Real-name rules and abuse liability

  • Cybersecurity Law Art. 24 requires network operators providing network access and information services to collect users' real identity information (CAC full text).
  • A sandbox with egress is a general-purpose computer, which makes it ideal for crypto mining, proxy/VPN tunnelling, scraping and spam. Even global vendors show the problem: E2B asks some new accounts to verify with a $5 card payment "to help prevent abuse."
  • Analysis: in China, liability for what a tenant's code does with your IPs lands on the operator, so you'd need KYC, egress allowlists by default, content logging and fast takedown, which adds friction to the "instant sandbox" experience.

🤖 AI and content compliance

  • Public-facing generative AI services fall under the 生成式人工智能服务管理暂行办法 (effective 15 Aug 2023). Generated outputs, such as the PDFs and reports your sandbox produces, are content you're responsible for.
  • Frontier harnesses are tied to foreign models. Anthropic's supported-regions policy doesn't include mainland China, so a "Claude Agent SDK in a sandbox" product can't officially serve mainland users. Domestic models (DeepSeek, Qwen, GLM, Kimi) have to stand in.
  • Cross-border data transfer and egress to overseas APIs adds another review layer.

🧭 What works for Chinese teams

  • Overseas-first SaaS: build in China, sell globally (Singapore/US entity, global clouds). This is how most Chinese AI-tool startups ship today.
  • Enterprise private deployment: sell OpenSandbox or Cube Sandbox-style runtimes into customers' own VPCs or on-prem. Tenants are known and egress is controlled, so most of the licensing and abuse problems go away.
  • Build on compliant domestic clouds: Alibaba Cloud FC 云沙箱 is "近 100% 兼容原生 E2B SDK" with pause/resume, snapshots, 1:N fork and DinD. Volcengine 云沙箱 bills by the millisecond (¥0.0000405/vCPU-s, ¥0.0000102/GiB-s in mainland regions) and nothing while paused (pause/resume is invite-only).
  • Differentiate above the sandbox: domestic-model harnesses, industry templates, and audit and compliance features that the clouds won't build.

Bottom line for the video

"In China this isn't a technology problem. Alibaba and Tencent open-sourced world-class sandboxes. It's a licence + real-name + liability + model-access problem. So the opportunity for most of us is to integrate sandboxes into products, sell private deployments to enterprises, or build for global users, rather than run a public sandbox cloud inside the firewall." (This is analysis, not legal advice. Check current rules with counsel.)

07 · Ready-to-use video structure

Six-act script outline (~14 minutes)

ACT 10:00–1:30

The hook: "Your personal agent dies when you close the laptop"

🎥 Visual: replay a clip from the personal-agent episode → laptop lid closes → agent status turns red. Cut to the report's hero stats bar.
  • Callback: last time we built a personal agent locally. It worked, but it was tied to one machine, ran with your permissions, and couldn't scale.
  • Tease: "There's a whole industry, worth hundreds of millions of dollars a year, that solves exactly this. Modal's sandbox product alone is a $300M run-rate business."
ACT 21:30–4:30

How it works: one request, end to end

🎥 Visual: Figure 1 (lifecycle diagram), highlighting steps 1→7 one at a time. Screen-record the code sample.
  • User asks → API → sandbox resumes from a snapshot in tens of milliseconds → Claude Code runs bash, Python, a browser and a PDF renderer → PDF returned → sandbox sleeps.
  • Key line: "the harness is the brain's hands; the sandbox is the room where the hands can't break anything."
  • Show --dangerously-skip-permissions: in a sandbox it's fine, because there's nothing in there to steal.
ACT 34:30–7:30

Why it's a great business: aggressive overselling

🎥 Visual: Figure 2 panel A (CPU mostly idle) → panel B (EC2 vs. sandbox host) → worked-price table.
  • "Your agent spends most of its time waiting for tokens." Evidence: ~4% average CPU (X), Vercel assumes 10%, Google: "agents spend most of their lives waiting."
  • EC2 bills reserved capacity, busy or idle. Sandboxes bill activity, snapshot idle VMs out of RAM, and share memory copy-on-write.
  • Back-of-envelope: about 10 vCPU sold per physical vCPU in our illustrative model. Mention the honest caveats: RL and heavy builds, and providers that refuse to oversell.
ACT 47:30–10:00

Who's building it: the landscape tour

🎥 Visual: screen-record the interactive table: click "Open-Source", type "E2B-compatible", then switch to "Edge & Serverless".
  • Purpose-built: E2B, Daytona, Modal, Blaxel, Sprites. Hyperscalers: Lambda MicroVMs, Nitro Sandboxes, Google ACE. Open source: OpenSandbox (Alibaba), Cube (Tencent), SPACE (Perplexity), microsandbox.
  • Show 3–4 X posts on screen (the price ranking, "Everyone is making sandboxes", the Render CEO quote, Vercel's $1M challenge).
  • Note the churn: Runloop shut down and Daytona closed its source, so stay portable.
ACT 510:00–12:00

What you should do in the next few months

🎥 Visual: decision-framework table; split screen of "integrate" vs. "build".
  • Every hyperscaler shipped one in 2026, which tells you this is becoming default infrastructure.
  • Shipping soon? Integrate through an E2B-style API. Big spend or a private deployment? Self-host OpenSandbox, Cube or SPACE.
  • Homework for viewers: wrap the personal agent from last episode in a sandbox this weekend.
ACT 612:00–14:00

China reality check + close

🎥 Visual: China section's four cards; the Anthropic supported-regions page; Alibaba Cloud FC 云沙箱 docs.
  • Licensing (B11/ICP), real-name rules (Cybersecurity Law Art. 24), abuse liability, generative-AI rules, no official Claude access.
  • Opportunities: overseas-first, enterprise private deployment, building on Alibaba Cloud or Volcengine sandboxes.
  • Close: "Sandboxes are to AI agents what the browser was to the web: the place where the work actually happens. Learn it now."
Sources

Sources opened during this research run

  1. E2B pricing · E2B template docs (~80 ms snapshot load) · E2B Claude Code template
  2. Daytona pricing · Daytona docs · Daytona isolation
  3. Modal pricing · Modal Sandboxes docs · Modal Series D post · 1M concurrent sandboxes
  4. SiliconANGLE on Modal's raise
  5. Vercel Sandbox pricing
  6. Cloudflare Sandboxes · Cloudflare Containers pricing
  7. Fly.io Sprites · Blaxel pricing · Freestyle · Morph Cloud docs · Northflank Sandboxes · CodeSandbox SDK pricing
  8. AWS Lambda MicroVMs launch · Lambda MicroVMs + OpenAI Agents API
  9. AWS Nitro Sandboxes GA · AgentCore pricing
  10. Google Agent Compute Engine · ACE deep dive
  11. Docker Cloud Sandboxes
  12. Claude Agent SDK: Hosting
  13. Runloop transition notice
  14. GitHub: OpenSandbox, CubeSandbox, microsandbox, SPACE, E2B runtime, E2B SDK, agent-sandbox, BoxLite, Zeroboot, smolvm, AIO Sandbox, sandbox-runtime, Strands Box, daytona (archived), Warren
  15. Alibaba Cloud FC 云沙箱 billing · AgentRun → FC 云沙箱 · Volcengine 云沙箱 billing
  16. 生成式人工智能服务管理暂行办法 · 网络安全法 · 电信业务经营许可管理办法 · MIIT on cloud licensing (CWW) · Anthropic supported regions
  17. EC2 On-Demand billing · EC2 burstable credits
  18. All X posts are linked inline in What builders are saying on X.