Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 1.72 KB

File metadata and controls

41 lines (31 loc) · 1.72 KB
title E2B Documentation - AI Sandbox Infrastructure
description Complete Guides, Concepts, And SDK References For Developing With E2B's Secure Cloud Sandboxes For AI-Generated Code Execution And Data Analysis.
sidebarTitle Home
icon house

import { Concepts } from '/snippets/Concepts.jsx'; import { CodeInterpreting } from '/snippets/CodeInterpreting.jsx'; import { Quickstart } from '/snippets/Quickstart.jsx';

Here you'll find all the guides, concepts, and SDK references for developing with E2B.

```bash JavaScript & TypeScript npm i @e2b/code-interpreter ``` ```bash Python pip install e2b-code-interpreter ```

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 Python SDK or JavaScript SDK.

Some of the typical use cases for E2B are AI data analysis or visualization, running AI-generated code of various languages, playground for coding agents, environment for codegen evals, or running full AI-generated apps like in Fragments.

Under the hood

The E2B Sandbox is a small isolated VM the can be started very quickly (~150ms). You can think of it as a small computer for the AI model. You can run many sandboxes at once. Typically, you run separate sandbox for each LLM, user, or AI agent session in your app. For example, if you were building an AI data analysis chatbot, you would start the sandbox for every user session.

Quickstart

Code interpreting with AI

Learn the core concepts