E2B
E2B (e2b-dev) provides secure, isolated cloud sandboxes for AI agents and AI-generated code, built on a forked Firecracker microVM runtime. The platform ships a REST Sandbox API, JavaScript and Python SDKs, a Code Interpreter SDK, a Desktop Sandbox for computer-use agents, persistent volumes, a custom template build system, and an e2b CLI. The Apache-2.0 licensed core repos — E2B, infra, firecracker, code-interpreter, and desktop — also support self-hosted deployments on AWS, GCP, Azure, or bare Linux. E2B is LLM-agnostic and used by labs and enterprises building code interpreters, deep-research agents, data analysis features, reinforcement-learning environments, and computer-use agents.
APIs
E2B Sandbox API
Create, control, and tear down isolated Firecracker microVMs on demand for AI agents. Sandboxes cold-start in under 200ms and run for up to 24 hours, supporting pause/resume/sna...
E2B Template API
Define, build, version, and publish reusable sandbox base images. Templates are built from an e2b.toml or programmatic SDK definition, cache layers across builds, support custom...
E2B Volume API
Provision and manage persistent volumes that can be attached to sandboxes so agent state, datasets, and workspaces survive across sandbox runs. The Volume Content API uses a sho...
E2B Sandbox Events and Webhooks API
REST surface for sandbox lifecycle events. Exposes polling endpoints at /events/sandboxes and /events/sandboxes/{sandboxID} for created, updated, killed, paused, resumed, and ch...
E2B Team and Identity API
Manage E2B team identity, API keys, and CLI access tokens. API keys authenticate SDK and REST traffic via the X-API-Key header. Access tokens authenticate the e2b CLI and CI wor...
E2B Code Interpreter SDK
Higher-level SDK on top of the Sandbox API that exposes a Jupyter-style code interpreter for LLM-driven Python and JavaScript execution. Returns structured execution results inc...
E2B Desktop Sandbox SDK
Sandbox flavor that boots a Linux desktop environment with a noVNC stream and exposes mouse, keyboard, screenshot, and window-management primitives. Built for computer-use agent...