Back to directory

E2B

Open-source infrastructure for running AI-generated code in secure, isolated cloud sandboxes, with JavaScript and Python SDKs, a code-interpreter mode and a desktop SDK for computer-use agents.

E2B

E2B is open-source infrastructure for running AI-generated code inside secure, isolated sandboxes in the cloud, controlled from JavaScript, TypeScript or Python through its SDKs. A sandbox can be created and used to run arbitrary shell commands, with the sandbox's standard output returned to the caller.

A separate Code Interpreter SDK adds a function that executes code inside the sandbox and returns its result directly, while a Desktop SDK adds mouse, keyboard, screenshot and application control along with desktop streaming, for agents that need to operate a full desktop rather than just run code.

E2B can be self-hosted using a Terraform-based setup guide, with supported deployment on AWS and Google Cloud; Azure and general Linux machine support are not yet available. A public cookbook of examples shows the SDKs used together with different LLMs and agent frameworks.

More in Containers

See all 120
  • Drop

    droprun.sh

    A rootless Linux sandbox for developers, built on user namespaces with optional gVisor isolation, that confines coding agents and third-party packages without leaving your normal work environment.

  • minienv

    github.com

    Reads an existing docker compose file and deploys it as a remote preview environment with little setup, with optional public endpoints and authentication so others can review in-flight work.

  • Rig

    npmjs.com

    Gives each coding agent, such as Claude Code, Cursor or Codex, its own cloud Linux desktop with a running dev server, tests and a signed-in Chrome, so the developer's laptop stays free while several agents work at once.