E2B  by e2b-dev

Open-source cloud runtime for AI apps and agents

created 2 years ago
9,116 stars

Top 5.7% 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

18 hours ago

Responsiveness

1 day

Pull Requests (30d)
26
Issues (30d)
18
Star History
1,083 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Jeremy Howard Jeremy Howard(Cofounder of fast.ai), and
1 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
Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Taranjeet Singh Taranjeet Singh(Cofounder of Mem0), and
1 more.

fragments by e2b-dev

0.6%
6k
Next.js template for AI-generated apps
created 1 year ago
updated 1 week ago
Feedback? Help us improve.