# E2B

> Open-source infrastructure for running AI-generated code in secure, isolated cloud sandboxes.

## Facts
- **Category:** [Agent Infrastructure](https://agentsearchengine.app/category/agent-infrastructure)
- **Type:** Infrastructure
- **Pricing:** Open source
- **GitHub stars:** 13,927
- **Language:** Python
- **License:** Apache-2.0
- **Last repo activity:** today (Sep 22, 2026)
- **Official site:** https://docs.e2b.dev/
- **Source code:** https://github.com/e2b-dev/E2B
- **Listing on Agent Search Engine:** https://agentsearchengine.app/agents/e2b
- **Data verified:** September 2026

## Best for
Agents that need to execute untrusted code, analyse data or use a desktop safely.

## Avoid if
You want no account or infrastructure; use needs an E2B API key or your own self-hosted deployment.

## About E2B
E2B runs AI-generated code in secure, isolated sandboxes in the cloud, controlled through JavaScript and Python SDKs. Add-on SDKs provide code interpretation with run_code, and desktop computer use with mouse, keyboard, screenshot and streaming APIs. You can use E2B's cloud with an API key or self-host the infrastructure.

## Install

```
pip install e2b
```

## Alternatives
E2B sits in agent infrastructure. Related tools indexed here:
- [daytona](https://agentsearchengine.app/agents/daytona) — Secure elastic infrastructure for running AI-generated code; this repository is no longer maintained. · Open source · Infrastructure · 72k★ · active 2 months ago
- [mem0](https://agentsearchengine.app/agents/mem0) — Universal memory layer for AI Agents · Open source · Infrastructure · 66k★ · Python · Apache-2.0 · active today
- [Langfuse](https://agentsearchengine.app/agents/langfuse) — An open-source LLM engineering platform for tracing, evaluation, prompt management and debugging. · Open source · Infrastructure · 35k★ · TypeScript · MIT · active today
- [Graphiti](https://agentsearchengine.app/agents/graphiti) — A framework for building temporal context graphs that give AI agents memory of how facts change. · Open source · Infrastructure · 31k★ · Python · Apache-2.0 · active 1 day ago
- [Cognee](https://agentsearchengine.app/agents/cognee) — An open-source memory platform that turns documents, code and conversations into a knowledge graph for agents. · Open source · Infrastructure · 31k★ · Python · Apache-2.0 · active today
- [Composio](https://agentsearchengine.app/agents/composio) — SDKs that give AI agents 1,000+ pre-authenticated toolkits, per-user sessions, triggers and a sandbox. · Open source · Infrastructure · 30k★ · TypeScript · MIT · active today
- [cua](https://agentsearchengine.app/agents/cua) — Open-source infrastructure for Computer-Use Agents. Sandboxes, SDKs, and benchmarks to train and evaluate AI agents that can control full desktops (macOS, Linux, Windows). · Open source · Infrastructure · 26k★ · Python · MIT · active today
- [Opik](https://agentsearchengine.app/agents/opik) — Comet's open-source platform for LLM and agent tracing, evaluation, prompt management and monitoring. · Open source · Infrastructure · 22k★ · Python · Apache-2.0 · active today

---
Source: [Agent Search Engine](https://agentsearchengine.app) — an independent, hand-curated index of AI agents, MCP servers, and frameworks. Rankings are never sold; sponsored placements are labeled and never numbered. Full directory: https://agentsearchengine.app/llms-full.txt
