E2B
Code executionApache-2.0
E2B provides isolated cloud sandboxes where an agent or developer can run commands and code. Each sandbox is a Linux machine started from a snapshot, described on the site as a Firecracker microVM, and it can stream command output, attach a terminal, and pause and resume with a snapshot. A developer creates a sandbox with the Python or JavaScript SDK, or the CLI, then runs commands in it. A separate Code Interpreter SDK adds a method to run code directly. The runtime repository is Apache-2.0 licensed.

Pinout
- MCP server: not checked yet
- HTTP API: not checked yet
- command line: supported, verified
- Python SDK: supported, verified
- TypeScript SDK: supported, verified
- OpenAPI description: not checked yet
| Interface | Status | Source we read | Read on |
|---|---|---|---|
| MCP server | Not checked yet | — | — |
| HTTP API | Not checked yet | — | — |
| Command line | Supported, verified | GitHub Releases: @e2b/cli@2.24.0 | |
| Python SDK | Supported, verified | GitHub README: Python SDK, pip install e2b | |
| TypeScript SDK | Supported, verified | GitHub README: JavaScript/TypeScript SDK, npm i e2b | |
| OpenAPI description | Not checked yet | — | — |
Facts
| License | Apache-2.0. GitHub e2b-dev/E2B, repository page: Apache-2.0 license, read . |
|---|---|
| Interfaces | Python SDK (pip install e2b), JavaScript/TypeScript SDK (npm i e2b). GitHub README, install commands, read . |
| CLI | A CLI package (@e2b/cli 2.24.0) is released from the repository. GitHub Releases: @e2b/cli@2.24.0 marked Latest, read . |
| Latest release read | e2b@2.64.0. GitHub Releases list, read . |
| Platforms | cloud, Linux. Home page: each run gets its own Linux machine, hardware-isolated Firecracker microVM, read . |
| Pricing | Hobby $0 monthly plan fee with $100 one-time usage credits; Pro $150 monthly plan fee plus usage; usage $0.000014 per vCPU-second and $0.0000045 per GiB-second. E2B Pricing: plans and usage rates, read . |
| Docs MCP server | https://docs.e2b.dev/mcp exposes documentation search tools. Docs home: public MCP server, search_e2_b_docs and query_docs_filesystem_e2_b_docs, read . |
| Quickstart | Sandbox.create() then sandbox.commands.run(...). GitHub README, quickstart, read . |
| Last commit | . GitHub API, latest commit on the default branch of e2b-dev/E2B, read . |
Call example
from e2b import Sandbox
with Sandbox.create() as sandbox:
result = sandbox.commands.run('echo "Hello from E2B!"')
print(result.stdout) # Hello from E2B!Limits
- The documentation MCP server exposes documentation search tools, not sandbox execution.
Strengths
- Repository is licensed Apache-2.0.
- Python and JavaScript/TypeScript SDKs plus a CLI package are released from one repository.
- Hobby plan has a $0 monthly plan fee with one-time $100 usage credits.
Pricing
As written on E2B's own page on the read date. Prices change: check there before you pay.
Alternatives to E2B
All code execution tools for agents
Hardware-isolated microVM sandboxes for agent code, local-first.

Run untrusted or agent-written code in isolated Linux sandboxes on Workers.

Open-source sandboxed code execution system with an HTTP API.

Secure Devbox sandboxes for AI agents, with API, CLI and SDKs.
Last check: . Method: public repository and docs read automatically, page and day written down. Next check due within 90 days. How we check
Is this your tool? Write to hello@agent-tools.directory from an address on its domain to correct a pin or a fact.