Sandboxes are off until an admin turns them on. Setting them up takes a server, an environment and one switch. See Turn sandboxes on.
What agents use a sandbox for
- Processing or converting an uploaded file with a script.
- Work that needs a package the agent has to install.
- Producing a file you asked for: a chart image, a spreadsheet, a document.
How it fits together
A report has at most one sandbox. A sandbox belongs to one report and is never shared between reports.
Who can use sandboxes
Two things must both be true before an agent is offered a sandbox for a person:- The organization switch is on. An admin turns on Enable agent sandboxes under Settings → Sandbox → Settings.
- The person is allowed. They hold the Use Agent Sandbox permission, and they have been granted at least one enabled environment.
Turn sandboxes on
1
Add and prepare a compute
Add a Linux server, confirm its identity, bootstrap it and enable it. See Compute.
2
Create or adjust an environment
BOW creates a Default environment for you: Python with common data packages and no network. Edit it or add your own, and choose who may use it. See Environments.
3
Give people the permission
Add Use Agent Sandbox to the roles that should have it, under Settings → Members → Roles. It is listed under Other.
4
Turn the switch on
Under Settings → Sandbox → Settings, turn on Enable agent sandboxes and save. The page lists what is still missing until a compute is bootstrapped and enabled and an environment is enabled.

What a sandbox keeps, and what it loses
Treat everything outside
/workspace/outputs as a cache. Sandboxes are stopped when idle and deleted after a period of disuse. See Manage sandboxes.
Related
- Compute — add and prepare the servers sandboxes run on.
- Environments — images, limits, network policy, scripts, volumes and access.
- Run code in a report — what people see in the chat.
- Manage sandboxes — the list of sandboxes, lifetimes, limits and snapshots.
- Network and security — isolation, outbound access and corporate networks.
