Sandboxes
A sandbox is an isolated place where your agents do work that needs more than a conversation: browse the web as a person, or run commands and work with files. You create sandboxes in VirtuAI, choose the people each one serves and the agents that work in it, and decide what it may reach on the internet.
Without them, Sandboxes isn’t in the menu and the page says Sandboxes are part of VirtuAI Enterprise.
The two kinds
Section titled “The two kinds”| Kind | What it is | What it gives an agent | How many |
|---|---|---|---|
| Browser | A Chrome with a desktop, one per person, with that person’s own sign-ins | The browser tools (browser__*): navigate, click, type, fill forms, read pages, take screenshots |
One per workspace. Each person you add gets their own Chrome. |
| Workstation | A shell to make and work with files: git, Python, Node, gcloud, and a document toolkit | The shell and file tools of a deep agent: run commands, read, write and edit files, share files | As many as you need, each personal or shared |
A Workstation is either:
- personal: one person only. They work in the same folder from one conversation to the next.
- shared: several people. Each conversation gets its own folder, and nobody sees another person’s folders.
See Workstations for what a Workstation holds, and Repositories for giving it your code.
Open the page
Section titled “Open the page”Open Build > Sandboxes. Seeing the page requires sandboxes.view; creating, changing and deleting sandboxes requires sandboxes.manage. The workspace admin role has both. See Permissions.
At the top, one card per kind shows how many people have one out of the workspace’s limit, for example 2 of 3 people, and the resources each gets. Below are the GitHub connection, the Activity log, and one card per sandbox: its kind, its state, its people, its agents and its settings.
Create a sandbox
Section titled “Create a sandbox”- Select New sandbox.
- Under Kind, pick Browser or Workstation. Browser is unavailable once the workspace has one: add people to it instead.
- For a Workstation, enter a Name (for example
Support) and, under Who uses it, pick shared or personal. - Under People, pick who it serves.
- Select Create. The sandbox connects in a minute or two.
People are chosen from the workspace’s active members, any role, including people who only use web chat. Nobody outside the workspace can be added, and removing someone from the workspace removes their access to its sandboxes.
People
Section titled “People”Add people to a Browser or a shared Workstation from its card with + Add a person…, and remove them with the cross next to their name.
- Browser. A person you add gets their own Chrome at once. Removing someone deletes their Chrome, its sign-ins and its files.
- Shared Workstation. Adding or removing people doesn’t restart it.
- Personal Workstation. Its person can’t be changed. Create another Workstation for someone else.
A sandbox serves only its people, on every channel. When someone writes to an agent, from web chat, Slack, Google Chat, Telegram or any other channel, the agent’s steps run in that person’s Chrome or in a Workstation only if that person is on its list. A step with nobody behind it, such as a scheduled run or an A2A call without a signed-in user, gets no Workstation.
Agents
Section titled “Agents”On a sandbox’s card, add the agents that work in it with + Run an agent’s shell and files here… (Workstation) or + Let an agent use this Browser… (Browser), and remove them with the cross next to their name.
- An agent has at most one Workstation. Adding it to another Workstation moves it there.
- An agent can use the workspace’s Browser and a Workstation at the same time.
- A Workstation serves deep agents, which have the shell and file tools. A Browser serves agents with the browser tools; see Tools.
Which sandbox a step runs in
Section titled “Which sandbox a step runs in”Nobody picks by hand: the tool decides the kind, and the agent’s association decides the sandbox.
| The agent uses | It runs in |
|---|---|
| Browser tools | The workspace’s Browser, in the Chrome of the person writing to the agent |
| Shell and file tools | The agent’s Workstation. In a shared one, in that conversation’s own folder. |
An agent associated with a sandbox runs there or nowhere. If the person isn’t one of the sandbox’s people, or the sandbox is offline, the agent has no browser or shell for that conversation and says so. It never falls back to another sandbox or to someone’s computer. Agents with no sandbox keep working as before, for example through a paired VirtuAI CLI.
Every step says where it ran
Section titled “Every step says where it ran”In web chat, each browser, command or file step shows where it ran: in your browser, in Workstation: Support, or the name of the computer that ran it.
What people get
Section titled “What people get”The people in a sandbox use it through their agents, and can also look into it themselves.
Their browser, at a VirtuAI link
Section titled “Their browser, at a VirtuAI link”Each person’s Chrome has a VirtuAI link, https://<your VirtuAI address>/desktop/<sandbox>. It opens a full-screen page, on a phone too, that shows the Chrome live.
- Opening it requires signing in to VirtuAI, and it shows only your own Chrome. A link forwarded to someone else opens nothing for them, workspace admins included.
- The page is View only unless you take control. Select Take control to solve a captcha, sign in or type a code, then Give back control.
- Every opening is recorded in the activity log.
Agents send the link on any channel. When a browser step needs the person, for a captcha, a sign-in, a two-step code or an approval, the agent sends them their link wherever they’re talking to it: web chat, Slack, Google Chat, Telegram or Gemini Enterprise.
Browser and files in the chat’s side panel
Section titled “Browser and files in the chat’s side panel”In web chat, signed in, the chat header shows two buttons when the agent works in a sandbox you belong to: Your files and Your browser. They open the side panel, where artifacts also show; when an artifact is open, tabs switch between Artifact and Files or Browser. In the browser, Open full screen opens it at its link.
Files lists your share of the sandbox. Open folders and select a file to download it.
| Sandbox | Your share |
|---|---|
| Browser | Your Chrome’s working folder, including the files the agent downloads from web pages |
| Personal Workstation | The whole working folder |
| Shared Workstation | Only your own conversation folders, never a colleague’s |
Uploading files
Section titled “Uploading files”An admin can let people put files into their share, so they can hand the agent a file without attaching it to the chat. On the sandbox’s card, under Files, tick People may upload files. It’s off by default.
Where it’s on, the Files tab has Upload and also takes files dropped onto it. Files go into the folder on screen, up to 50 MB each. If a file with that name is already there, VirtuAI asks before replacing it. In a shared Workstation, people can upload only into their own conversation folders. In a Browser, the working folder is where a web form picks files from, so an agent can attach an uploaded file to a form.
Every upload and download is recorded in the activity log.
States
Section titled “States”| State | Meaning |
|---|---|
| Connected | Running and ready |
| Partly connected | Browser only: some people’s Chrome is running, some isn’t |
| Starting | Being started, usually a minute or two |
| Offline | Not connected. The card says why, for example It stops as soon as it starts. Try Restart; if it keeps happening, contact support. |
| No people | A Browser with nobody assigned yet |
| Stopped | Stopped by an admin |
Each card also has Restart (Start when stopped), Stop and Delete. Deleting a sandbox removes it and its disks for good, including everything in its folders.
Updates
Section titled “Updates”VirtuAI improves the image sandboxes run over time: the VirtuAI CLI that connects them, the tools they include, and security fixes. A running sandbox keeps the image it started with until it’s updated.
When a newer image is ready for a sandbox, its card says Update available, or Security update available in red, with what each new version brings. Anyone with sandboxes.manage sees Update among the card’s buttons.
- Read what the update brings on the card.
- Select Update, and confirm.
The sandbox restarts on the new image. Conversations running in it are cut off and pick up again with their next message, so choose a quiet moment. Files in its folders, repositories, tools and settings stay. Each update is recorded in the activity log with what changed.
Restart and Start also bring a sandbox to the newest image, so a stopped sandbox doesn’t show updates: it starts on the newest one. Apply security updates promptly.
A sandbox marked running outside VirtuAI was set up before this page existed. You can associate agents with it, but it can’t be changed here yet.
Limits
Section titled “Limits”| Limit | Value |
|---|---|
| Browsers per workspace | 1 |
| People with a Browser, per workspace | 3 by default |
| People with a Workstation, per workspace (all Workstations together) | 10 by default |
| Browser, per person | 2 vCPU, 4 GB RAM, 20 GB disk |
| Workstation | 1 vCPU, 2 GB RAM, 10 GB disk |
| Uploaded file | 50 MB |
Each workspace can have its own number of people with a Browser and with a Workstation. VirtuAI’s platform administrators set them for the workspace, so to raise them, contact admin@imvirtuai.com. The cards at the top of Sandboxes always show your workspace’s own limits, for example 2 of 5 people, and adding someone past a limit is refused. Every change to the limits is recorded in the activity log.
Related
Section titled “Related”- Workstations: folders, tools, command-line tools and Google Cloud identity
- Repositories: your code in a Workstation, and changes proposed as pull requests
- Sandbox security: internet access, credentials and the activity log
