E2B

E2B

Open-source Firecracker microVM cloud sandbox platform for running AI-generated code, terminal commands, and desktop computer-use agents safely.

Letting an autonomous AI agent run arbitrary Python scripts, bash commands, or npm installs directly on your production container is a major security risk. E2B (English2Bits) provides hardware-isolated Linux sandboxes powered by Firecracker microVMs that boot in roughly 150 milliseconds. Developers use its Python and JavaScript SDKs to give coding agents, data analysts, and computer-use bots a full Linux filesystem, headless browser, or XFCE virtual desktop that can pause and resume with memory intact.

Core sandbox features

  • 150ms Firecracker microVMs: Isolates every agent session inside its own kernel with full root access, outbound internet controls, and custom Docker template support.
  • Code Interpreter and Desktop SDKs: Runs stateful Jupyter-style Python, Node.js, R, and bash cells, or launches a graphical XFCE desktop for visual computer-use agents.
  • Stateful pause and resume: Snapshots both the filesystem and running RAM so long-running agent conversations can sleep between user replies without losing in-memory variables.
  • Open-source and BYOC deployment: Runs on E2B’s managed cloud or self-hosts under an Apache-2.0 license on your own AWS, GCP, or Azure infrastructure.

Pricing and limitations

E2B’s Free Hobby tier ($0 base) includes a one-time $100 usage credit, up to 1-hour continuous session duration, and up to 10 concurrent sandboxes. The Pro plan costs $150/month plus per-second compute (starting at $0.00000225 per second for 0.5 GiB RAM and scaling up to 8 vCPUs and 8 GiB RAM), unlocking 24-hour session limits and 100 concurrent sandboxes (expandable to 1,100). Enterprise plans start at $2,000/month for multi-day persistent sessions, BYOC deployment, and SSO/SCIM. Keep in mind that E2B sandboxes run strictly on CPUs with no in-sandbox GPU passthrough for model training, and adding SSO to the Pro plan costs an extra $300/month. Compared to Modal and Daytona, E2B focuses on sub-second microVM startup and stateful pause-resume for conversational agents. Claim the free Hobby tier and $100 credit to wire up a secure code-execution tool for your LLM agent.

Ready to try E2B?

Experience the full capabilities on their official website.

Visit Official Website