e2b-dev / E2B
git clone https://github.com/e2b-dev/E2B.git
@e2b/code-interpreter-python@2.11.2 · 1d ago
Open-source, secure environment with real-world tools for enterprise-grade agents.
+6
stars, 24h · #2,419
+~42
stars, 7 days · #2,984
+~180
stars, 30 days · #2,951
14k
★ total · +0% this week
1.1k
forks · 104 open issues
Star history (as recorded here)
LanguagePython
LicenseApache-2.0
Created2023-03-04 (3y ago)
Last pushtoday
Watchers85
OwnerOrganization
GitHub topics
agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Links
- GitHub: github.com/e2b-dev/E2B
- Homepage: https://docs.e2b.dev/?utm_source=github&utm_medium=referral&utm_campaign=repo_website&utm_content=e2b
- Releases · Issues · Hacker News mentions
README excerpt
## What is E2B? E2B is an open-source infrastructure that allows you to run AI-generated code in secure isolated sandboxes in the cloud. To start and control sandboxes, use our JavaScript SDK or Python SDK. ## Run your first Sandbox ### 1. Install SDK JavaScript / TypeScript [code] Python [code] ### 2. Get your E2B API key 1. Sign up to E2B here. 2. Get your API key here. 3. Set environment variable with your API key [code] ### 3. Start a sandbox and run commands JavaScript / TypeScript [code] Python [code] ### 4. Code execution with Code Interpreter If you need to execute code with `runCode()`/`run_code()`, install the Code Interpreter SDK (JavaScript / Python): [code] [code] ### 5. Computer use with Desktop For mouse, keyboard, screenshot, application, and desktop streaming APIs, install the Desktop SDK (JavaScript / Python): [code] [code] ### 6. Check docs Visit E2B documentation. ### 7. E2B cookbook Visit our Cookbook to get inspired by examples with different LLMs and AI frameworks. ## Self-hosting Read the embed deployment guide to learn how to set up the E2B runtime on your own. The infrastructure is deployed using Terraform. Supported cloud providers: - 🟢 AWS - 🟢 Google Cloud (GCP) - 🟢 Azure - 🟢 General Linux machine (via Embed)