---
slug: "e2b"
name: "E2B"
effect: "Runs AI-generated code in isolated cloud sandboxes you start and control from Python or JavaScript"
category: "sandbox"
url: "https://e2b.dev"
github: "e2b-dev/E2B"
pricing: "open-source"
license: "Apache-2.0"
tags: ["code-execution", "cloud", "python", "typescript", "computer-use", "self-hosted"]
platforms: []
install_kind: "npm"
date_added: "2026-10-14"
drop_score: 63
stars: 14355
pushed_at: "2026-10-14T23:38:59Z"
signals_status: "ok"
signals_fetched_at: "2026-10-15T01:18:57.040Z"
page: "https://agenttooldrop.com/tools/e2b"
---

# E2B

Runs AI-generated code in isolated cloud sandboxes you start and control from Python or JavaScript

Category: Sandboxes. Pricing: Open source. License: Apache-2.0.

## Why you would want it

E2B gives agent tasks their own isolated sandbox in the cloud, started with Sandbox.create() from the JavaScript or Python SDK, where code can run shell commands and programs. The Code Interpreter SDK adds runCode/run_code for executing snippets, and the Desktop SDK adds mouse, keyboard, screenshot and desktop streaming APIs for computer-use agents. The runtime is open source and can be self-hosted with Terraform on AWS, Google Cloud, Azure or a general Linux machine.

## Best for

- Running untrusted model-generated code
- Code interpreter and data analysis features
- Computer-use agents that need a desktop

## Use it when

Your agent writes code or shell commands that must run somewhere isolated from your own machines and data.

## Skip it if

You do not want to sign up for an E2B API key or operate the Terraform-based self-hosted runtime.

## Install

Install the JavaScript SDK:

```sh
npm i e2b
```

Source: https://github.com/e2b-dev/E2B#readme

## Live signals

Fetched 2026-10-15T01:18:57.040Z (status: ok).

- Repository: e2b-dev/E2B
- Stars: 14,355
- Forks: 1,112
- Open issues and PRs: 91
- License (GitHub): Apache-2.0
- Last push: 2026-10-14
- Latest release: @e2b/code-interpreter-python@2.11.0 (2026-10-13)

## Links

- Website: https://e2b.dev
- GitHub: https://github.com/e2b-dev/E2B
- Install instructions verified at: https://github.com/e2b-dev/E2B#readme
- Source for this entry: https://github.com/e2b-dev/E2B#readme
- AgentToolDrop page: https://agenttooldrop.com/tools/e2b
- Full catalog (JSON): https://agenttooldrop.com/tools.json
