E2B
PaidHosted sandboxes for AI agents to run code, with Apache-2.0 open-source SDKs for Python and JavaScript and per-second CPU/RAM billing.
Pros
- +Hobby plan: $0 fee, one-time $100 usage credit, 20 concurrent sandboxes
- +Per-second billing; sandbox storage included
- +Open-source SDKs and custom templates for preinstalled dependencies
Cons
- −CPU-only: no GPU sandboxes
- −Hobby sessions cap at 1 hour; Pro is $150/month plus usage
Where E2B ranks
- #1 Agent sandboxes & guardrails
The easiest way to give an agent a code-running sandbox: open-source SDKs, per-second billing and $100 of free credit to start.
Other top picks for agent sandboxes & guardrails
- Perplexity SPACEPerplexity's Apache 2.0 sandbox platform that runs agent and user code in isolated Firecracker microVMs, driven over an HTTP API.
- DaytonaHosted infrastructure for running AI-generated code in sandboxes that start in milliseconds, billed per second, with Linux, Windows and GPU options.
- withHumanOpen-source approval layer for AI agents: intercepts tool calls, applies org rules, and escalates risky actions to humans via the Agent Approval Protocol.
- shim-cliApache-2.0 local CLI that inspects what Claude Code, Codex, Copilot CLI and VS Code send, detects secrets/PII, and masks where the client allows it.