E2B  by e2b-dev

Open-source cloud runtime for AI apps and agents

Created 3 years ago
12,360 stars

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

17 hours ago

Responsiveness

1 day

Pull Requests (30d)
40
Issues (30d)
13
Star History
444 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.