Sandbox
A sandbox is an isolated execution environment where agents run code, browse, or call APIs with limited blast radius—no production data, no unrestricted network.
Sandboxes let products offer “try it” and code execution without giving the model full machine access.
What it means
The harness runs agent actions inside a container or VM with capped permissions, ephemeral storage, and network allowlists; results stream back to the UI.
Why designers should care
Sandbox UX should state isolation clearly (“Not connected to your repo”), show what data entered or left, and offer promote-to-real-environment paths with extra gates.
Example
A data analysis agent runs Python in a sandbox; charts render in chat with a banner “Sample data only—connect warehouse to run on live metrics.”
Common mistakes
- • Marketing “safe sandbox” while agents share the user’s full filesystem.
- • No escape hatch when users need real credentials after prototyping.
- • Sandbox timeouts with no partial results or resume.