// agents · e2b-dev/E2B

E2B

Secure sandboxes where AI agents run real code.

★ 14.2k stars⑂ 1.1k forksApache-2.0updated 2026-10
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

E2B is an open-source ai agents project by e2b-dev (e2b-dev/E2B on GitHub). It has 14,233 GitHub stars and 1,093 forks, is released under the Apache-2.0 license, and was last updated on GitHub on 7 October 2026.

Repository
e2b-dev/E2B
GitHub stars
14,233
Forks
1,093
License
Apache-2.0
Last updated on GitHub
7 October 2026
Category
AI Agents
Listing
Full install guide
Official site
Official site
// how it works

How it works

  1. Pick a first task

    Choose one real workload to test the project against.

  2. Download the project

    Clone it locally and read through the getting-started guide.

  3. Wire up dependencies

    Install the stack it needs and set any environment variables.

  4. Run and verify

    Execute the starter example and check results before going further.

// features

Why people love it

Secure sandboxing

Isolated environments for agent code execution.

Code interpreter

Run agent-generated code safely.

Real-world tools

Beyond code — tooling for capable agents.

Enterprise-grade

Positioned for production agent deployments.

Python SDK

Easy integration from Python agent code.

Apache-2.0

Permissive licensing.

Advertisement
// run it

Run it yourself

  1. Step 1 — Install the SDK

    Install the Python SDK from PyPI.

    pip install e2b-code-interpreter
  2. Step 2 — Get an API key

    Sign up per the docs and export your key.

    export E2B_API_KEY=your_key_here
  3. Step 3 — Run code in a sandbox

    Follow the docs quickstart to execute your first sandboxed snippet.

    # see https://docs.e2b.dev for the quickstart
// use cases

What you can build

Advertisement
// faq

Questions, answered

Who maintains E2B?

It is maintained by e2b-dev at e2b-dev/E2B, with 1,093 forks.

Is E2B free to use?

The open-source runtime is free under Apache-2.0; the hosted cloud is usage-based — check current pricing.

Do I need a paid API to use it?

The open-source code is free, but the hosted sandbox cloud is metered. Self-host if you want to avoid usage fees.

How does it compare to other sandboxes?

Compare with Daytona, Modal, and Firecracker-based options on isolation guarantees and developer experience.

How do I get started?

Read the docs quickstart, install the SDK, grab an API key, and run your first sandbox.

// keep exploring

Similar tools

AI Agents

smolagents

smolagents — Hugging Face's barebones agent library where agents think in code: a CodeAgent that writes its actions as Python, model-agnostic, Apache-2.0

★ 29.9k starsApache-2.0
View guide →
AI Agents

OpenSandbox

A secure, fast sandbox runtime where AI agents can execute safely.

★ 15.7k starsApache-2.0
View guide →
AI Agents

adk-python

Google's code-first toolkit for building real AI agents.

★ 21.7k starsApache-2.0
View guide →
AI Agents

Tutti

Tutti — a real-time shared workspace where people and multiple AI agents build in tune, sharing context, files, apps and tasks

★ 3.8k starsApache-2.0
View guide →
Agents

zeroboot

Sub-millisecond VM sandboxes for AI agents via copy-on-write forking.

★ 2.5k starsApache-2.0
View guide →
AI Agents

OSWorld-V2

Benchmark computer-use agents on long, real-world desktop tasks.

★ 353 starsApache-2.0
View guide →
// alternatives

Alternatives in AI Agents

The most-starred other AI Agents projects in the LibreAI catalogue — the realistic shortlist if E2B is not the right fit.

Get E2B

Free and open — grab the source, star the repo, and start creating.