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.
URL: Visit APIs.json
Run: Capabilities Using Naftiko
- AI, Agents, Code Execution, Code Interpreter, Sandboxes, Firecracker, microVMs, Computer Use, Desktop Sandbox, Templates, MCP, Open Source
- Created: 2026-05-25
- Modified: 2026-05-25
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/snapshot, metadata, env vars, metrics, log streaming, and connect upgrades. The same surface backs the JavaScript and Python SDKs as well as the e2b CLI.
Human URL: https://e2b.dev/docs
Base URL: https://api.e2b.app
- Documentation
- Documentation — Sandbox
- Documentation — Lifecycle
- Documentation — Persistence
- OpenAPI
- JSON Schema — Sandbox
- JSON-LD
- Naftiko Capability — Sandboxes
- Naftiko Capability — Lifecycle
- Naftiko Capability — Metrics
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 CPU and RAM, expose namespace/alias aliasing, and can be marked public or team-private. Builds expose status and streaming logs via the API and the e2b CLI.
Human URL: https://e2b.dev/docs/sandbox-template
- Documentation
- Documentation — CLI
- OpenAPI
- JSON Schema — Template
- Naftiko Capability — Templates
- Naftiko Capability — Builds
- Naftiko Capability — Tags and Aliases
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 short-lived JWT to read and write files and directories inside a mounted volume from any sandbox or external client.
Human URL: https://e2b.dev/docs/sandbox/persistence
- Documentation
- OpenAPI — Platform
- OpenAPI — Volume Content
- Naftiko Capability — Volumes
- Naftiko Capability — Volume Content
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 workflows. Team metrics expose aggregated sandbox usage counts for the workspace.
Human URL: https://e2b.dev/docs/api-key
- Documentation
- OpenAPI
- Naftiko Capability — Teams
- Naftiko Capability — API Keys
- Naftiko Capability — Access Tokens
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 including stdout, stderr, text, png, jpeg, svg, html, markdown, latex, json, javascript, pdf and chart outputs that map cleanly onto tool-use schemas for Anthropic, OpenAI, Mistral, Llama and other model providers.
Human URL: https://github.com/e2b-dev/code-interpreter
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 agents pairing vision-capable models like Claude and GPT with a real graphical desktop they can drive end to end.
Human URL: https://github.com/e2b-dev/desktop
- Plans and Pricing — Hobby (free + $100 credit), Pro ($150/mo + per-second usage), Enterprise (custom)
- Rate Limits — Concurrency, session-length, storage, and minimum CPU/RAM per tier
- FinOps — vCPU-second, GiB-second, and storage meters mapped to FOCUS