E2B  by e2b-dev

Open-source cloud runtime for AI apps and agents

Created 2 years ago
9,513 stars

Top 5.3% on SourcePulse

GitHubView on GitHub
Project Summary

E2B provides a secure, cloud-based runtime environment for executing AI-generated code, enabling developers to build and deploy AI agents and applications. It offers isolated sandboxes for code execution, accessible via JavaScript/TypeScript and Python SDKs, simplifying the integration of AI-driven code into existing workflows.

How It Works

E2B utilizes isolated sandboxes, likely containerized environments, to execute untrusted AI-generated code safely. This approach prevents malicious or erroneous code from impacting the host system or other processes. The SDKs abstract away the complexities of sandbox management, providing a straightforward API for code execution and result retrieval.

Quick Start & Requirements

  • Install SDK:
    • JavaScript/TypeScript: npm i @e2b/code-interpreter
    • Python: pip install e2b-code-interpreter
  • Prerequisites: E2B API key (obtainable by signing up at E2B). Set E2B_API_KEY environment variable.
  • Documentation: E2B documentation
  • Examples: E2B Cookbook

Highlighted Details

  • Secure, isolated cloud runtime for AI code execution.
  • Official SDKs available for JavaScript/TypeScript and Python.
  • Self-hosting guide available using Terraform, with initial support for GCP.

Maintenance & Community

  • Active development indicated by SDK availability and self-hosting guides.
  • Community channels are not explicitly mentioned in the README.

Licensing & Compatibility

  • The README does not specify a license.

Limitations & Caveats

  • Self-hosting support is primarily focused on GCP, with AWS in progress and Azure/general Linux machines not yet supported.
  • The project appears to be relatively new, and extensive community support or long-term maintenance history is not detailed.
Health Check
Last Commit

1 day ago

Responsiveness

1 day

Pull Requests (30d)
33
Issues (30d)
17
Star History
217 stars in the last 30 days

Explore Similar Projects

Starred by Jared Palmer Jared Palmer(Ex-VP AI at Vercel; Founder of Turborepo; Author of Formik, TSDX), Shawn Lewis Shawn Lewis(Cofounder of Weights & Biases), and
4 more.

arrakis by abshkbh

0.5%
572
Sandboxing solution for AI agent code execution and computer use
Created 1 year ago
Updated 3 months ago
Starred by Jeff Hammerbacher Jeff Hammerbacher(Cofounder of Cloudera), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
5 more.

code-interpreter by e2b-dev

0.5%
2k
SDK for running AI-generated code in secure cloud sandboxes
Created 1 year ago
Updated 2 weeks ago
Feedback? Help us improve.