E2B is the AI agent cloud. It gives every agent session an isolated Linux machine that boots from a snapshot and works with any model or agent framework. You ship the agent. We run the infrastructure. Our cloud or yours.
This GitHub organization hosts every layer of that stack in the open, under Apache-2.0: the Firecracker runtime, the control plane, the in-VM agent, the SDKs, and the dashboard. The code running E2B Cloud is the code in these repositories. Read the documentation at docs.e2b.dev.
- Start with the Quickstart guide in our documentation.
- Get an API key at e2b.dev, then
npm i e2borpip install e2b. - Want the whole stack on a machine you own? E2B Embed brings it up with
docker compose up.
- E2B Runtime: The runtime behind every E2B stack: Cloud, Enterprise, and your own machine. Control plane, Firecracker orchestrator, in-VM agent, edge router, and template builder, in Go.
- E2B SDK: The SDK & CLI for JavaScript and Python. Create sandboxes, run commands, move files, expose ports, pause and resume.
- E2B Code Interpreter: Python & JS/TS SDK for running AI-generated code with stateful execution, charts, and streaming output. Built on the E2B SDK.
- E2B Desktop: E2B Sandbox with a graphical desktop that you can connect to any LLM for secure computer use.
- E2B Dashboard: Open-source dashboard for a runtime you host yourself. Sandboxes, templates, and builds behind a team API key.
- Fragments: Open-source template for building apps like Anthropic's Claude Artifacts, Vercel v0, or GPT Engineer.
- Surf: A computer-use agent that drives an E2B desktop through natural language instructions.
- Open Computer Use: Open-source AI computer use powered by open-source LLMs and the E2B Desktop Sandbox.
- AI Analyst: Upload a CSV, ask questions, get interactive charts. An open-source AI analyst on E2B.
- E2B Cookbook: Example code and guides for every major model provider and agent framework.
E2B also ships sandbox backends for Vercel AI SDK, LangChain Deep Agents, Google ADK, n8n, and Hermes Agent, and maintains awesome-ai-agents, the list of AI autonomous agents.
Questions, feedback, or need help getting set up? Join the community or reach out on social.
We are building the infrastructure layer for AI agents. Check out the open positions at E2B.