# Vercel Sandbox supports forking

DevFeed: [Vercel Sandbox supports forking](<https://devfeed.tech/articles/vercel-sandbox-supports-forking-1184.md>)

Original publisher: [Read original article](<https://vercel.com/changelog/vercel-sandbox-supports-forking>)

Author: Harpreet Arora

Published: 2026-07-28T04:00:00Z

Content type: release

Language: en

Sources: [Vercel News](<https://devfeed.tech/sources/vercel-news.md>)

Topics: [Vercel](<https://devfeed.tech/topics/vercel.md>), [SDKs](<https://devfeed.tech/topics/sdks.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Template](<https://devfeed.tech/topics/template.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [cli](<https://devfeed.tech/tags/cli.md>), [config](<https://devfeed.tech/tags/config.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [fork](<https://devfeed.tech/tags/fork.md>), [sdk](<https://devfeed.tech/tags/sdk.md>), [source](<https://devfeed.tech/tags/source.md>), [upgrade](<https://devfeed.tech/tags/upgrade.md>), [vercel](<https://devfeed.tech/tags/vercel.md>)

## AI overview

Vercel Sandbox now supports forking through Sandbox.fork(), allowing a sandbox to be created from the source's latest saved snapshot while inheriting configuration and environment variables. Forks can be used with the SDK or CLI and support overriding inherited parameters.

## Source excerpt

Vercel Sandbox now supports forking with Sandbox.fork(). The fork starts from the source's current snapshot and inherits its config and environment variables. If the source is running, it forks the latest saved state, not the live in-memory state. If the source has no snapshot, it falls back to a fresh create, using the source's runtime and config. Any parameter you pass overrides the inherited value. A fork takes about the same time as creating a sandbox, with the same limits. Use it to branch an agent from a shared base, give each tenant its own copy of a template, or run variations of one setup in parallel. To fork a sandbox with the SDK: To fork a sandbox with the CLI: To get started, upgrade to the latest version: pnpm install @vercel/sandbox@latest # SDK pnpm install -g sandbox@latest # CLI Learn more in the Sandbox documentation. Read more