Skip to main content
AgentsUse

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

ToolPricing modelLicenseDeploymentMCP supportChecked
E2BUsage basedApache-2.0Managed cloud, Self-hosted runtime, BYOC on EnterpriseMCP gateway in sandboxes2026-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

Back to the tools directory, the category index, or the guides.