The @vercel/sandbox
SDK now supports multiple Linux users and groups, so you can run agents side by side in a single Sandbox.
Each agent runs as its own user with a private home directory. A group opens a shared workspace when they need to collaborate. This makes multi-agent systems easier to build.
Call createUser
for each agent; its commands and file operations run as that user, and users can't read, write, or list each other's files. To set up a shared directory, call createGroup
and add users to it.
Learn more in the Vercel Sandbox documentation.