E2B
Basic Information
E2B is an open-source infrastructure that lets developers run AI-generated code inside secure, isolated sandboxes in the cloud. This repository hosts the core SDK used by the E2B Code Interpreter product and provides programmatic control of sandboxes via JavaScript and Python libraries. The README documents quickstart steps such as installing the @e2b/code-interpreter npm package or the e2b-code-interpreter Python package, setting the E2B_API_KEY environment variable, creating a Sandbox instance and executing code, and points to documentation and a cookbook for examples. It also links to a self-hosting guide and an infrastructure repository for deploying the system on your cloud account.
Links
Stars
9270
App URL
Github Repository
Categorization
App Details
Features
Secure isolated cloud sandboxes for executing AI-generated code. Official JavaScript and Python SDKs with package names and usage snippets for creating sandboxes, running code, and inspecting execution outputs. Built-in code interpreter workflow examples showing stateful code execution. API key based authentication via environment variable. Documentation and a cookbook repository with example integrations using different LLMs and AI frameworks. Self-hosting guide and infrastructure repository with Terraform deployment instructions. Notes about supported cloud providers are included in the README.
Use Cases
The project helps developers embed safe, auditable execution of AI-generated code into applications and prototypes by providing an SDK and examples for creating and controlling sandboxes. It reduces operational risk by isolating untrusted code inside managed environments and by supplying self-hosting instructions for teams that need control over infrastructure. The provided cookbook and docs accelerate experimentation with different models and frameworks. Simple SDK examples demonstrate how to run code, obtain results, and iterate, enabling faster development of code-interpreting agents, automated testing flows, and secure execution services.