Menu

Introducing Vercel Drives: persistent storage for agents
📰

Introducing Vercel Drives: persistent storage for agents

Vercel News·Kevin Sundstrom·8 days ago
#0Fra8xjQ
#vercel#drive#sandbox#agent#workspace
Reading 0:00
15s threshold

Agents often handle complex work that continues across runs. As that work evolves, they may need a new environment with different tools, runtimes, or compute. They should be able to continue working with the same files when they change environments.

We built Vercel Drives to keep an agent’s files independent of its execution environment. It is now generally available for Vercel Sandbox . Agents can mount the same drive in a new environment configured for the next task and continue where they left off.

Copy link to heading Persisting state with a drive

Create a drive once, then mount it when you create a sandbox. From the CLI:

sandbox drives get-or-create agent-workspace

sandbox create --mount agent-workspace:/workspace

Or from the Sandbox SDK:

import { Sandbox , Drive } from '@vercel/sandbox' ;

const drive = await Drive . getOrCreate ( { name : 'agent-workspace' } ) ;

const sandbox = await Sandbox . create ( {

mounts : { '/workspace' : drive } ,

} ) ;

await sandbox .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.