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)
~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.
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
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.
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.
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.
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".
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."
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 e2bimport { putObject, signedUrl, db } from'./infra'// your storage + DB helpers// POST /api/tasks { userId, prompt, csv }export async functionrunReportTask(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 sandboxawait 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 serviceconst pdf = await sbx.files.read('/home/user/out/report.pdf', { format: 'bytes' })
const key = awaitputObject(`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 userreturn { url: awaitsignedUrl(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.
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
Dimension
AWS EC2 (On-Demand VM)
Containers (K8s / serverless containers)
AI microVM sandboxes
Typical lifetime
Hours to years, long-lived servers
Minutes to months (services)
Seconds to hours per task; may be paused for days or indefinitely (E2B keeps paused sandboxes indefinitely)
Billing unit
Per 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 idle
Customer
Mixed
Mostly the provider's scheduler problem, and its profit opportunity
Oversubscription headroom
Low: you get a fixed vCPU allocation. Burstable T-family is the exception and runs on a CPU-credit baseline
Medium: requests vs. limits, but processes share one kernel
High: workloads are I/O-bound and bursty, snapshots evict idle RAM, CoW shares base pages
Dedicated guest kernel per sandbox (Firecracker / Cloud Hypervisor / Nitro), or gVisor
Start / resume
Tens of seconds to minutes
Sub-second to seconds
Vendor-stated 25–80 ms resume; Modal reports <0.5 s median start
State while idle
Kept, at full price
Usually lost on scale-down
Memory + disk snapshot, storage price only
Best fit
Steady servers, databases
Trusted microservices
Untrusted 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.
Provider
How CPU is billed
CPU cost
Memory cost
≈ Total / hour
E2B
Provisioned vCPU while running ($0.000014/vCPU-s)
2 × 3600 s → $0.1008
4 GiB × $0.0000045/s → $0.0648
$0.166
Modal Sandboxes
max(request, usage); 10% of 2 vCPU = 0.1 physical core, below the 0.125-core floor ($0.00003942/core-s)
0.125 core → $0.0177
4 GiB × $0.00000667/s → $0.0960
$0.114
Vercel Sandbox (iad1, Pro)
Active CPU only ($0.128/vCPU-h)
0.2 vCPU-h → $0.0256
4 GB-h × $0.0212 → $0.0848
$0.110
Fly.io Sprites
Cumulative CPU from cpu.stat ($0.0385/CPU-h)
0.2 CPU-h → $0.0077
4 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 · category
Isolation tech
Cold start / resume
Snapshot / hibernate
Pricing model
Best for
Link
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
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
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
⚠️ 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".
"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.
"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.
"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.
"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.
"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."
"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.
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).
"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).
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 this
Concrete starting point
Are shipping an AI feature this quarter
Integrate a hosted API. Stay on the E2B-style interface so you can switch providers later
E2B / 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-activity
Blaxel (~25 ms resume), Sprites (sleep/wake on URL), E2B pause/connect
Run RL / evals with huge fan-out
Optimise for creation rate and concurrency, not developer experience
Start from OpenSandbox, Cube Sandbox, SPACE, E2B Runtime or K8s agent-sandbox, not from scratch
Just want your own laptop agents to stop being dangerous
Local sandbox
Claude 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."