code-interpreter  by e2b-dev

SDK for running AI-generated code in secure cloud sandboxes

Created 1 year ago
1,987 stars

Top 22.3% on SourcePulse

GitHubView on GitHub
Project Summary

E2B provides an open-source infrastructure for executing AI-generated Python and JavaScript/TypeScript code within secure, isolated cloud sandboxes. It's designed for developers building AI applications that require reliable and safe code execution, offering a robust solution for sandboxing potentially untrusted code.

How It Works

E2B leverages cloud-based sandboxes to isolate code execution, preventing any unintended side effects on the host system. The SDKs abstract away the complexities of managing these sandboxes, allowing developers to easily create, interact with, and terminate them programmatically. This approach ensures security and reproducibility for AI-driven code interpretation tasks.

Quick Start & Requirements

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

Highlighted Details

  • Supports both Python and JavaScript/TypeScript for code execution.
  • Provides isolated cloud sandboxes for secure code execution.
  • Offers SDKs for easy integration into AI applications.

Maintenance & Community

  • Active development is indicated by the presence of SDKs and a cookbook.
  • Community channels or specific contributor information are not detailed in the README.

Licensing & Compatibility

  • The README does not explicitly state the license. Further investigation into the repository is required.
  • Compatibility for commercial use or closed-source linking is not specified.

Limitations & Caveats

The README does not detail specific limitations, supported environments beyond the SDKs, or potential caveats regarding resource usage or execution time limits. The licensing is also not specified, which could impact commercial adoption.

Health Check
Last Commit

2 weeks ago

Responsiveness

1 day

Pull Requests (30d)
7
Issues (30d)
3
Star History
41 stars in the last 30 days

Explore Similar Projects

Starred by Joe Walnes Joe Walnes(Head of Experimental Projects at Stripe), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
21 more.

E2B by e2b-dev

0.5%
10k
Open-source cloud runtime for AI apps and agents
Created 2 years ago
Updated 1 day ago
Feedback? Help us improve.