Vercel Sandbox now supports forking via Sandbox.fork(), available in the latest SDK and CLI releases. A fork starts from the source sandbox's most recent saved snapshot, inheriting its config and environment variables. If no snapshot exists, it falls back to a fresh create using the source runtime and config. Any parameter passed at fork time overrides the inherited value.

Fork time is equivalent to creating a new sandbox from scratch, same speed, same limits. The practical applications are concrete: branch an AI agent from a shared base, give each tenant an isolated copy of a template, or run parallel variations of one environment without manual duplication. This is infrastructure-level multi-tenancy handled at the sandbox layer.

The full article is worth reading for the SDK and CLI code patterns, which show exactly how parameter overrides work in practice. Upgrade with pnpm install @vercel/sandbox@latest for the SDK or pnpm install -g sandbox@latest for the CLI. Full reference is in the Sandbox SDK documentation.

[READ ORIGINAL →]