Tomas Valenta f511678b5e Fix sandbox kill command (#344)
CLI `e2b sandbox kill` command didn't work with sandboxIDs provided by
the `e2b sandbox list`. This PR fixes that.
2024-03-26 20:53:13 -07:00
2024-03-26 20:38:26 -07:00
2023-05-31 16:05:59 -07:00
2024-03-08 15:55:04 -08:00
2023-12-13 22:25:03 +01:00
2024-03-08 19:23:19 +01:00
2024-03-26 20:53:13 -07:00
2023-12-09 19:38:16 +01:00
2023-12-04 17:54:00 +01:00
2023-09-26 19:12:23 +02:00
2024-01-29 17:10:11 +01:00
2023-11-06 15:07:09 +01:00
2023-10-22 12:43:03 -07:00
2023-10-20 19:16:02 -07:00
2023-07-01 17:08:01 -07:00
2023-05-21 10:51:33 -07:00
2023-09-15 14:10:27 +02:00
2023-11-06 15:07:09 +01:00
2024-03-24 17:51:59 +00:00
2024-02-03 18:17:12 +01:00

e2b logo

Cloud Runtime for AI Agents

Secure sandboxed cloud environments made for AI agents and AI apps

Docs | Website | Discord | Twitter

Last 1 month downloads for the Python SDK Last 1 month downloads for the Python SDK

Cover image

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

Start sandbox

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
  2. JS SDK
  3. CLI
  4. Documentation
S
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%