E2B

Active
GitHub Python Apache-2.0

Description

Cloud code sandbox purpose-built for AI agents.

Key Features

  • Sub-second startup — Millisecond sandbox creation
  • Multi-language — Python/JS/Go/Rust
  • Persistent — File state can be saved
  • Network isolation — Controllable network inside sandbox
  • SDKs — Python/JS SDKs

Use Cases

💡 Provide safe code execution for coding agents.
💡 Isolate code runs in multi-agent systems.
💡 Sandbox for data science agents.

Quick Start

pip install e2b
from e2b import Sandbox
sandbox = Sandbox()
exec = sandbox.run_code('print(1+1)')

Related Projects

Related Articles