# E2B **Repository Path**: single_zh/E2B ## Basic Information - **Project Name**: E2B - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: api-docs - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-07-19 - **Last Updated**: 2024-07-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
## 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](https://e2b.dev/docs) to get started.
To create and control a sandbox, you use our SDK:
### Python
#### Install SDK
```bash
pip install e2b
```
#### 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
#### Install SDK
```bash
npm install @e2b/sdk
```
#### Start sandbox
```js
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:
1. [Python SDK](/packages/python-sdk)
1. [JS SDK](/packages/js-sdk)
1. [CLI](/packages/cli)
1. [Documentation](/apps/docs/)