Category
Code Execution Sandboxes
Isolated environments where agents can run code, install packages, and keep state without touching your machine.
How to read this category
A code execution sandbox is a disposable computer an agent can use. When a model writes a script, installs a package or opens a shell, the sandbox runs it in an isolated environment with its own filesystem, processes and network, so a bad command breaks a throwaway machine instead of your laptop or your production server. You reach it through an SDK or API: create a sandbox, run code, read the output, then pause or delete it.
You need one when the agent runs code it generated itself: data analysis on an uploaded file, a coding agent that runs tests, a research agent that scrapes and parses. You do not need one when the agent only calls fixed APIs with typed arguments; there, argument validation and permission gates do the work.
The verified profile here is E2B, which gives each session a Linux sandbox that boots from a snapshot in its cloud, driven from Python or JavaScript SDKs, with templates, pause and resume, and a code interpreter layer for stateful notebook-style work. It bills by running time. Other sandbox services are in review and get a profile only once their docs, pricing and repository have been checked.
Profiles in this category
Side by side
| Tool | Pricing model | License | Deployment | MCP support | Checked |
|---|---|---|---|---|---|
| E2B | Usage based | Apache-2.0 | Managed cloud, Self-hosted runtime, BYOC on Enterprise | MCP gateway in sandboxes | 2026-10-29 |
Cells are copied from each code execution sandboxes profile and its check date. Pricing cells name the model, not a price; the profile links the vendor's pricing page.
What actually decides the choice
- Start with what runs inside: untrusted, model-written code needs strong isolation and a clean reset per task, while a long data session needs state that survives between calls.
- Read the pause and resume terms before long agent runs. A sandbox left running bills like a server, so check how idle sandboxes are stopped and what a paused one costs.
- Check network rules. Decide whether generated code may reach the internet, and whether outbound traffic can be limited to the hosts the task needs.
- Weigh the self-hosting story against the license and maintenance status. An archived open-source core is not the same as an actively maintained one.
- Wire the sandbox through the harness: time limits per execution, output size caps before results return to the model, and a log of every command run.
Order is not a ranking
This profile was listed when it cleared review. We have not benchmarkedcode execution sandboxes tools against each other, so read the limits on each profile.
More code execution sandboxes profiles are added as they pass review. How verification works.
Read before granting real access
Guide
Agent Tool Permissions Done Right
Every tool you grant an agent is risk you accept. How to size blast radius, tier permissions, gate irreversible actions, design tools for least privilege, and audit what agents actually did.
2026-09-29
Guide
Agent Security Risks You Must Handle
Agents read untrusted content, run code, and call APIs with your credentials. The risks that materialize in production, from prompt injection to credential leakage, and the layered mitigations that contain them.
2026-09-29
Guide
A Checklist Before Letting an AI Agent Touch Real Work
Twelve checks before an agent touches customers, money, or public communication. Covers least-privilege access, written instructions and limits, trial runs, action logs, and rollback, calibrated by risk tier.
2026-09-26
Back to the tools directory, the category index, or the guides.