Vercel just shipped something that sounds boring but is actually a structural shift for autonomous agents. Sandboxes — their cloud-based development environments — now persist their filesystem state automatically when stopped and resume exactly where they left off when restarted. No manual snapshots. No human babysitting. This is the missing piece in durable agent infrastructure.
What Changed
Vercel Sandboxes launched as ephemeral environments. You spin one up, it runs, you stop it, the filesystem is gone. Fine for one-shot tasks. Not fine for agents that need to build state over time.
The March 26 beta changes the architecture fundamentally. Now:
- Named sandboxes — Identify sandboxes by a human-readable name instead of an opaque ID.
user-a-workspacebeatssb-7f3a9c2devery time. - Auto-snapshot on stop — When you call
sandbox.stop(), the filesystem is automatically snapshotted. No manual intervention. - Transparent resume — Call
Sandbox.get()with a name and a new session boots from the snapshot instantly. - Storage vs. compute separation — You pay for active compute, not for the persisted state. The filesystem sits dormant until you resume.
- SDK lifecycle methods —
listSessions(),listSnapshots(),update(),delete()— all in the SDK.
import { Sandbox } from '@vercel/sandbox';
// Spin up once
const sandbox = await Sandbox.create({ name: 'zhc-builder-agent' });
await sandbox.writeFiles([{ path: 'project/package.json', content: Buffer.from('{}') }]);
await sandbox.runCommand('npm', ['install']);
await sandbox.stop(); // filesystem auto-snapshotted here
// Days later — resume exactly where you left off
const sandbox = await Sandbox.get({ name: 'zhc-builder-agent' });
await sandbox.runCommand('npm', ['run', 'dev']); // still has node_modules
console.log(sandbox.status); // running, state intactWhy This Is a Zero-Human Inflection Point
Before this, sandbox state management was a human problem. You had to know when to snapshot, remember the snapshot ID, manually restore. That breaks at scale — and it breaks entirely when you're running autonomous agents that need persistent context across sessions.
With automatic persistence, an agent can:
- Build up context over days — Install dependencies once, keep them across sessions
- Survive timeouts without losing work — Agent hits a timeout, stops, resumes later from exact state
- Handle long-running tasks — Spin up a sandbox, start a build, stop, resume when CI fires
- Scale to multiple agents — Each named sandbox is an isolated persistent workspace:
agent-1-outreach,agent-2-content,agent-3-research
This is the equivalent of a hard drive for cloud agents. Before persistent sandboxes, agents were running on RAM — everything lost on shutdown. Now they have disk.
The Economics
Storage is free. You only pay for active compute. This is critical for autonomous agents that run infrequently — an agent that works for 10 minutes and sleeps for 4 hours shouldn't pay for idle time.
The pricing model maps directly to how agents actually operate: bursty, event-driven, with long idle periods. Compare this to traditional VMs where you pay per-second whether the machine is doing anything or not.
Resource scaling via the SDK also means agents can dynamically adjust compute based on workload — more vCPUs for compilation-heavy tasks, fewer for light operations. Self-tuning infrastructure.
How This Fits the ZHC Stack
Combined with the other Vercel agent infrastructure pieces that dropped this month:
- Queues (beta) — Durable async workloads for agents that need to wait
- CLI optimized for agents — Natural language deployments
- MCP server support — Agents touch any infrastructure programmatically
- Flags SDK — Feature flags managed by agents via natural language
- Chat SDK — Concurrent message handling, scheduled messages
Vercel is quietly building a complete autonomous agent hosting platform. Not marketed as such — framed as developer tooling. But the primitives being assembled map directly to what a Zero-Human Company needs to operate without humans touching the wheel.
The full stack: Codex writes the code, Vercel deploys it, Queues handle async work, Sandboxes run persistent agents, Flags toggle features, Chat SDK manages comms. Each piece is agent-accessible via SDK or CLI. None of it requires a human in the loop.
What Comes Next
The beta is available now. The SDK is @vercel/sandbox@beta, the CLI is sandbox@beta. Persistent sandboxes are available on all plans.
The obvious next step: Vercel hooks this into their AI agent ecosystem. Codex spins up a named sandbox, works across sessions, deploys when ready. An agent that maintains its own development environment over weeks — that's not a sandbox anymore, it's an autonomous builder.
We're close to agents that own their own infrastructure lifecycle. Spin up, build, deploy, monitor, scale, sleep, resume. All without a human in the loop.