dock

Dock vs Vercel Sandbox

Vercel Sandbox is a mature, generally available microVM product with a strong firewall. Dock is built around one persistent dock per agent that you can run on your own hosts.

Side by side

Vercel Sandbox in its own words: “Run untrusted or agent-generated code in isolated Linux microVMs.”

CapabilityDockVercel Sandbox
IsolationDockFirecracker microVMs on Linux KVM hosts, or gVisor containers on Linux hosts with Docker. The host picks the runtime.Vercel SandboxFirecracker microVMs running Ubuntu with root.
PersistenceDockStop keeps the disk and releases compute; resume brings back the same dock ID and files. gVisor docks keep only /home/user/work across stops.Vercel SandboxStop snapshots the filesystem; resume boots a new session. Sessions are capped per plan.
Snapshots and forksDockBranch copies a dock into independent, writable docks. Snapshots save a dock, and a dock saved by name over the API can start new docks.Vercel SandboxSnapshots retained 30 days after last use by default, with rollback by ID.
Docker insideDockDocker, systemd, ssh, and git ship in the ubuntu-24.04 image.Vercel SandboxSupported through system-privileged processes.
SSHDockYes. Run commands with exec or open a shell with ssh.Vercel Sandboxsandbox connect from the CLI.
DesktopDockNot yet. Docks are Linux machines, also when they run locally on Windows.Vercel SandboxNot stated.
Network egressDockOn a fleet host, open outbound by default, with private ranges, cloud metadata and other docks blocked. An admin can set an allowlist per environment, enforced by a proxy on the host, outside the dock. Local docks have network on (the default) or off; with it on, they block your machine's localhost by default, through a rule inside the guest that root in the dock can remove.Vercel SandboxAllow-all by default; deny-all and allowlist modes, changeable while running.
SecretsDockCredentials stay outside the dock by default: the dock holds a dock-scoped token, and Dock's LLM gateway (model keys) or the connector gateway (Figma, Linear, Slack, Sentry) adds the real key. GitHub clones use a short-lived, read-only token.Vercel SandboxFirewall injects credentials so secrets never enter the sandbox.
AuditDockThe control plane records every lifecycle operation.Vercel SandboxActivity log of lifecycle events and session listing.
StatusDockSelf-hostable under AGPL-3.0; Dock Cloud is coming soon (waitlist).Vercel SandboxGenerally available across many regions.

Where Dock is different

Same dock on resume
A resumed dock keeps its ID instead of starting a new session from a snapshot.
Self-host under AGPL-3.0
Run the control plane with one command (setup.sh) and enroll hosts that dial out to it. Dock Cloud, coming soon, runs the same code.
Credentials stay outside
Model keys and tool credentials stay in the control plane; the dock holds a dock-scoped token, and Dock's LLM gateway or the connector gateway adds the real key on the way out. GitHub clones use a short-lived, read-only token.

Where Vercel Sandbox is strong

Mature firewall and brokering
Generally available with detailed matchers, live policy updates, and large scale.
Active CPU billing
Time spent waiting on model inference is not billed as CPU, a real saving for agents.

Choose Dock if

your agent needs one persistent machine that stops and resumes under the same ID, or you need to run it on your own hardware.

Choose Vercel Sandbox if

you are already on Vercel and want a generally available sandbox with per-session isolation and active CPU pricing.

Start a dock in a minute.

Self-host Dock for free, or join the waitlist for Dock Cloud.