# 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 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.

Website: https://docs.e2b.dev/
