code-interpreter  by e2b-dev

SDK for running AI-generated code in secure cloud sandboxes

created 1 year ago
1,905 stars

Top 23.4% 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)
1
Star History
205 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Elie Bursztein Elie Bursztein(Cybersecurity Lead at Google DeepMind), and
6 more.

E2B by e2b-dev

0.7%
9k
Open-source cloud runtime for AI apps and agents
created 2 years ago
updated 1 day 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.