Vercel Drives CLI & Standalone SDKs: Persistent Agent Storage
Vercel Drives adds vercel drives CLI, @vercel/drives and vercel-drives SDKs, and /v1/drives REST API without Sandbox permissions. Limits and patterns explained.

Q. How do I keep code and caches created by an AI agent after a Vercel Sandbox shuts down? With Vercel Drives, you can mount project- and region-scoped persistent storage as a directory inside a sandbox so working state survives across runs. Starting November 23, 2026, you can create, list, fork, and delete drives directly using the
vercel drivesCLI, standalone TypeScript (@vercel/drives) and Python (vercel-drives) SDKs, or the/v1/drivesREST API without needing Sandbox APIs or permissions.
⚠️ Accuracy guardrail: This article is based on the Vercel Changelog (2026-11-23) and the official Vercel Drives documentation as of November 30, 2026. Per-region GB-month, read, and write unit rates sit behind an interactive region selector and could not be verified statically; only the verified plan structure and limits are reported below.
30-second summary
- What launched: On November 23, 2026, Vercel introduced
vercel drivesCLI commands, standalone TypeScript (@vercel/drives) and Python (vercel-drives) SDKs, the/v1/drivesREST API, and Drive-specific permissions. - Key shift: Creating, forking, or deleting drives no longer requires granting Sandbox API permissions, enabling cleaner least-privilege separation.
- Mount rules: Only one sandbox at a time can mount a drive read-write; use read-only snapshots for multi-sandbox reads or
forkwhen each sandbox needs an independent writable copy. - Pricing and limits: Hobby includes 30 GB reads and 30 GB writes per month with a 15 GB total provisioned limit, while Paid Pro scales up to 16 TB (1 TB default); deleting unused drives stops storage charges.
Why decouple Drives from Sandbox permissions
When storage management and compute execution share a single permission boundary, CI pipelines and orchestration servers end up holding broader access than they actually need. Separating Drives into its own CLI, SDKs, /v1/drives REST API, and permission set solves that control-plane coupling.
Deployment scripts and backend workers can now pre-create (get-or-create) or clone (fork) drives without holding permission to launch or control Sandboxes. Drives also gained dedicated pages in the Vercel dashboard and Observability.

Using the standalone CLI, TypeScript, and Python SDKs
The CLI and both language SDKs share four core operations: get-or-create, list, fork, and delete. Drive names must be unique within a project and contain 1 to 64 letters, digits, underscores, or hyphens.
# Create, list, and fork Drives with the Vercel CLI
vercel drives get-or-create workspace-cache --region iad1
vercel drives list
vercel drives fork existing-drive existing-drive-fork
The --region (default iad1) and --max-size (such as 2GiB) set at creation cannot be changed later. Passing a different region or maximum size to get-or-create for an existing drive causes the command to fail.
// TypeScript SDK: npm install @vercel/drives
import { Drive } from '@vercel/drives';
await Drive.getOrCreate({ name: 'workspace-cache', region: 'iad1' });
for await (const item of await Drive.list()) {
console.log(item.name);
}
const source = await Drive.get({ name: 'existing-drive' });
const fork = await source.fork({ name: 'existing-drive-fork' });
For Python, install pip install vercel-drives or uv add vercel-drives, then use the async helpers (drives.get_or_create_drive, drives.query_drives, drives.get_drive) for the same lifecycle controls.
Mount, snapshot, or fork: choosing the right pattern
A drive mounts into a sandbox in the same Vercel project and region. Following the concurrency rules prevents write conflicts when running multiple agents or builds.

| Pattern | Concurrent mounts | Writable | Best suited for |
|---|---|---|---|
| Read-Write mount | 1 sandbox at a time | Read & Write | Single coding-agent workspace, keeping generated code and logs |
| Read-Only snapshot | Multiple sandboxes | Read-Only | Shared datasets, parallel eval inputs across workers |
| Fork | Independent drive per copy | Read & Write | Parallel agent experiments without mutating the source drive |
Before running vercel drives fork, Vercel recommends writing to the source drive and stopping the writer sandbox first. Likewise, vercel drives delete is blocked while a read-write mount is active, whereas read-only mounts do not block deletion. If you are coordinating multiple agents across tasks, see our notes on Vercel Board and sandbox isolation in AWS Strands Box CLI.
Pricing model and plan limits
Vercel meters Drives by logical used storage per hour (GB-month)—not the maximum provisioned size—plus logical GB read from and written to a mounted drive.
| Plan | Included usage and billing | Drive size range | Default size |
|---|---|---|---|
| Hobby | 30 GB reads + 30 GB writes/month, 15 GB total provisioned cap | 1 GB – 15 GB | 1 GB |
| Pro (trial) | Subject to trial limits | 1 GB – 15 GB | 1 GB |
| Pro (paid) | Counts toward monthly credit, then regional rates | 1 GB – 16 TB (higher on request) | 1 TB |
| Enterprise | Contact sales for custom quotas and rates | 1 GB – 16 TB (higher on request) | 1 TB |
Deleting unused drives stops storage charges, and Spend Management can pause usage automatically at a configured spending threshold.

Toris's take
For solo developers and teams running AI agent sandboxes, splitting Drives out of Sandbox permissions is a practical upgrade. Keeping node_modules, Python virtualenvs, or repo checkouts across ephemeral sandbox runs previously meant handing full Sandbox API permissions to storage scripts; now @vercel/drives and vercel-drives isolate storage lifecycle under its own permission boundary.
- Good fit right away: MVP and side-project agent pipelines staying within Hobby's 30 GB/month read-write allowance and 15 GB total drive cap.
- Watch out for: Because only one sandbox can mount a drive read-write at a time, parallel agent runs must
forkfrom a base drive before execution. Also check the exact regional unit rates in Vercel's pricing selector before provisioning heavy paid-Pro workloads.
Sources
Advertisement