This is an early release preview. You may encounter bugs.
E2B logo
Unclaimed

Platform coding security

E2B

Runs AI-generated code in isolated cloud sandboxes controlled from JavaScript or Python SDKs

Built by E2B

A 89/100 GitHub score ? This grade is derived from GitHub signals, not user votes. Open for the full breakdown.
No votes yet

01 / About

What E2B is.

E2B is infrastructure for running AI-generated code in isolated cloud sandboxes. An agent or application starts a sandbox through the JavaScript or Python SDK, runs shell commands or code inside it, and reads back the output, keeping untrusted execution off the host.

The base SDK exposes sandbox creation and command execution (sandbox.commands.run). A separate Code Interpreter SDK adds runCode() / run_code() for executing code and returning results, with a cookbook of examples covering different LLMs and agent frameworks. The infrastructure is open source and can be self-hosted with Terraform; AWS and Google Cloud are supported, with Azure and general Linux hosts not yet available.

Features

  • Isolated sandboxes: each run executes inside its own cloud sandbox
  • SDKs: JavaScript/TypeScript (e2b) and Python (e2b) packages for starting and controlling sandboxes
  • Command execution: run shell commands and capture stdout from the sandbox
  • Code interpreter: @e2b/code-interpreter and e2b-code-interpreter add runCode for stateful code execution
  • Self-hosting: Terraform-based deployment of the infrastructure on AWS or Google Cloud
  • Cookbook: example integrations with various LLMs and AI frameworks

02 / Discussion CREDIBILITY-GATED

Discussion

Reading is open to everyone. Posting and voting need a verified identity or a GitHub grade of B or higher.

  • No discussions yet.

04 / Build

Build with E2B.

Browse the catalogue for frameworks, tools, and harnesses, each scored on real GitHub credibility.

Get E2B →

Browse the catalogue