Explainer
What is an AI sandbox?
An AI sandbox is a throwaway computer for an AI agent: it runs the code the agent writes, keeps it away from your systems, and disappears when the task is done.
What does an AI sandbox do?
It gives an agent a place to run code, install packages, read and write files and start servers, without touching anything you care about.
When do I need one?
Whenever a model's output gets executed: coding agents, code interpreters and data analysis, agents that browse the web, and reinforcement learning rollouts.
What makes a good AI sandbox?
Strong isolation, fast start-up, cheap pauses, and a simple API.
Isolation means its own kernel and a locked-down network. Speed matters because agents create sandboxes all the time and wait on every command. Pausing matters because agents spend most of their time thinking, not running. Snapshots and forks let you branch an agent's work.
Should I build my own or use one?
Use one unless sandboxes are your product. Jasmine is open source, so you can run it yourself; Jasmine Cloud, the hosted version, is in early access.
Related
- What is a microVM? (and how is it different from a container?)
- How to run AI-generated code safely
- How much does a sandbox for AI agents cost?
- The best sandboxes for AI agents, measured
Updated 2026-11-25.
Try it in a minute
Self-host it with one command, free. Jasmine Cloud, the hosted version, is in early access.