Skip to main content

Run multiple isolated agents in a single Sandbox

By Steven Van ·

The @vercel/sandbox SDK now supports multiple Linux users and groups, so you can run agents side by side in a single Sandbox.

The @vercel/sandbox SDK now supports multiple Linux users and groups, so multiple agents can run side by side in a single Sandbox on Vercel. Each agent runs as its own user with a private home directory, and users can't read, write, or list each other's files.

Calling createUser creates an isolated user for an agent, so its commands and file operations run under that user. When agents need to collaborate, createGroup sets up a shared directory that users can be added to.

Vercel
Vercel
The platform for frontend developers — deploy, preview, and scale web apps and AI agents with zero config.
View Vercel →

Read the original announcement →

Read Run multiple isolated agents in a single Sandbox on Creators Toolbox