Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/e2b-dev/E2B
Cloud Runtime for AI Agents
https://github.com/e2b-dev/E2B
agent ai ai-agent ai-agents code-interpreter copilot development devtools gpt gpt-4 javascript llm nextjs openai python react software typescript
Last synced: about 1 month ago
JSON representation
Cloud Runtime for AI Agents
- Host: GitHub
- URL: https://github.com/e2b-dev/E2B
- Owner: e2b-dev
- License: apache-2.0
- Created: 2023-03-04T13:41:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-13T20:54:57.000Z (5 months ago)
- Last Synced: 2024-04-14T10:57:56.574Z (5 months ago)
- Topics: agent, ai, ai-agent, ai-agents, code-interpreter, copilot, development, devtools, gpt, gpt-4, javascript, llm, nextjs, openai, python, react, software, typescript
- Language: TypeScript
- Homepage: https://e2b.dev/docs
- Size: 51.4 MB
- Stars: 6,018
- Watchers: 59
- Forks: 360
- Open Issues: 43
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome - e2b-dev/E2B - Secure open source cloud runtime for AI apps & AI agents (TypeScript)
- project-awesome - e2b-dev/E2B - Secure open source cloud runtime for AI apps & AI agents (TypeScript)
README
![]()
Cloud Runtime for AI Agents
Secure sandboxed cloud environments made for AI agents and AI apps
Docs |
Website |
Discord |
![]()
![]()
## What is E2B?
E2B Sandbox is a secure sandboxed cloud environment made for AI agents and AI
apps. Sandboxes allow AI agents and apps to have long running cloud secure
environments. In these environments, large language models can use the same
tools as humans do. For example:- Cloud browsers
- GitHub repositories and CLIs
- Coding tools like linters, autocomplete, "go-to defintion"
- Running LLM generated code
- Audio & video editing**The E2B sandbox can be connected to any LLM and any AI agent or app.**
---
### Code interpreter SDK
We have built a [dedicated SDK](https://github.com/e2b-dev/code-interpreter) for building custom code interpreters in your AI apps. It's build on top of E2B and our core E2B SDK.### Getting started & documentation
> Please visit [documentation](https://e2b.dev/docs) to get started.
To create and control a sandbox, you use our SDK:
**Python**
1. Install SDK
```bash
pip install e2b
```2. Start sandbox
```py
from e2b import Sandbox# Create sandbox
sandbox = Sandbox()# Let an LLM use the sandbox here
# Visit https://e2b.dev/docs/sandbox/overview to learn more about sandboxes.# Close sandbox once done
sandbox.close()
```**JavaScript & TypeScript**
1. Install SDK
```bash
npm install e2b
```2. Start sandbox
```js
import { Sandbox } from "e2b";// Create sandbox
const sandbox = await Sandbox.create();// Let an LLM use the sandbox here
// Visit https://e2b.dev/docs/sandbox/overview to learn more about sandboxes.// Close sandbox once done
await sandbox.close();
```## Repository Structure
This repository is a monorepo containing:
1. [Python SDK](/packages/python-sdk)
1. [JS SDK](/packages/js-sdk)
1. [CLI](/packages/cli)
1. [Documentation](/apps/web/)