Running Multiple Isolated Agents Within a Single Sandbox
Key point
The @vercel/sandbox SDK now supports multi-user and group features, enabling isolated agents to run within a single Sandbox.
Details
The @vercel/sandbox SDK has started supporting multiple Linux users and groups. This allows multiple agents to run in parallel within a single Sandbox.
Each agent runs as an individual user with its own independent home directory, ensuring security and isolation. Reading, writing, and listing files between agents is strictly restricted.
When collaboration is needed, the following features can be utilized.
- createUser: Create an independent user for each agent
- createGroup: Create a group so agents can use a shared workspace
- addToGroup: Add a specific user to a group to set up a shared directory
This update makes it easier to build multi-agent systems.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.