@e2b/sdk@0.11.5
id parameter when spawning Sandbox and add template parameter instead (#233)
Sandbox for AI Apps & Agents
Secure sandboxed cloud environments made for AI agents and AI apps
Docs | Website | Discord | Twitter
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.
Getting Started & Documentation
Please visit documentation to get started.
To create and control a sandbox, you use our SDK:
Python
Install SDK
pip install e2b
Start sandbox
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
Install SDK
npm install @e2b/sdk
Start sandbox
import { Sandbox } from "@e2b/sdk";
// 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:
Description
E2B 是开源的安全运行时环境,为企业级 AI Agent 提供真实工具支持。|GitHub 镜像 ⭐ 13.6k · 🍴 1k
https://github.com/e2b-dev/e2b
Readme
Apache-2.0
130 MiB
Languages
Python
57.4%
TypeScript
41.9%
Dockerfile
0.3%
JavaScript
0.1%
Makefile
0.1%
Other
0.1%
