talira

The AI agent cloud: an isolated sandbox machine for every agent session

open coreApache-2.0self-hostablefree

E2B runs isolated cloud sandboxes where AI agents execute code and use tools. Each session gets its own Firecracker microVM that boots from a snapshot, with a shell, filesystem, browser and network access under an egress policy, and can be paused and resumed. Agents control it through the Python and JavaScript/TypeScript SDKs, an API and a CLI, for coding agents, code interpreting and data analysis, computer use on a full Linux desktop, background jobs, evals and reinforcement learning rollouts. It runs in E2B's cloud (US, EU and APAC) or, on Enterprise, in your own AWS, GCP or Azure account, and its runtime is open source under Apache 2.0, so you can also run it yourself.

Ways to install

Package managers

Problems it solves

  • I need a safe place to run code my AI agent writes without exposing my servers
  • give each user's agent session its own isolated machine with a shell, filesystem and browser
  • run AI-generated Python for data analysis and charts in a sandbox
  • spin up thousands of sandboxes in parallel for agent evals or RL rollouts
  • let a computer-use agent drive a full Linux desktop with mouse and keyboard
  • pause an agent's sandbox and resume it later with its state intact
  • run agent sandboxes inside our own AWS, GCP or Azure account for compliance
  • self-host the sandbox runtime for AI agents on our own machines

Features

  • A Firecracker microVM per sandbox, booted from a snapshot
  • Shell, filesystem, browser and network inside each sandbox
  • Pause and resume sandboxes
  • Egress policies and per-sandbox secrets
  • Desktop sandboxes for computer-use agents
  • Python and JavaScript/TypeScript SDKs, REST API and CLI
  • Custom sandbox templates
  • Per-second billing by vCPU and RAM
  • Regions in the US, EU and APAC
  • Bring your own cloud (AWS, GCP, Azure) on Enterprise
View 1 more
  • Open source runtime under Apache 2.0

Ways to run it

E2B Cloud

Hosted by E2B

Hobby free with $100 one-time credit; Pro $150/month; Enterprise custom; plus per-second usage2

Only in this edition

  • Managed regions in the US, EU and APAC
  • BYOC deployment in your AWS, GCP or Azure on Enterprise

Pricing

E2B Runtime (self-hosted)

You run it, Apache-2.0

free3

You arrange

  • Your own machines to run its Firecracker microVMs

Self-hosting docs Code

Capabilities

Has an APIplan not known
Has a command line toolplan not known
Has official SDKsplan not known

Alternatives

The same job

These do what E2B does.

  1. Vercel Sandbox Run agent workloads in isolated sandboxes
  2. Modal Pay per second for GPUs and CPUs
  3. Sandscale Isolated cloud sandboxes, workspaces and build machines for AI agents
  4. CodeSandbox Instant cloud development environments and sandboxes built for scale
  5. Capsule Run untrusted Python and JavaScript code in isolated WebAssembly sandboxes
  6. Sandbox Runtime OS-level filesystem and network sandbox for agents, MCP servers and any process, without a container

Compare E2B with the top 3