You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here you'll find all the guides, concepts, and SDK references for developing with E2B.
9
+
## What is E2B?
10
+
11
+
E2B provides isolated sandboxes that let agents safely execute code, process data, and run tools. Our SDKs make it easy to start and manage these environments.
12
+
13
+
Spin up a sandbox and run code in a few lines:
12
14
13
15
<CodeGroup>
14
16
```bash JavaScript & TypeScript
15
-
npm i @e2b/code-interpreter
17
+
npm i e2b
16
18
```
17
19
```bash Python
18
-
pip install e2b-code-interpreter
20
+
pip install e2b
19
21
```
20
22
</CodeGroup>
21
23
22
-
## What is E2B?
23
-
E2B is an [open-source](https://github.com/e2b-dev) infrastructure that allows you to run AI-generated code in secure isolated sandboxes in the cloud.
24
-
To start and control sandboxes, use our [Python SDK](https://pypi.org/project/e2b/) or [JavaScript SDK](https://www.npmjs.com/package/e2b).
result = sandbox.commands.run('echo "Hello from E2B Sandbox!"')
37
+
print(result.stdout)
38
+
```
39
+
</CodeGroup>
40
+
41
+
## E2B Building Blocks
42
+
43
+
A quick overview of the core building blocks you'll interact with when using E2B.
44
+
45
+
-[**Sandbox**](/docs/sandbox) — A fast, secure Linux VM created on demand for your agent
46
+
47
+
-[**Template**](/docs/template/quickstart) — Defines what environment a sandbox starts with
48
+
49
+
## How to use the docs
50
+
51
+
The documentation is split into three main sections:
52
+
53
+
-[**Quickstart**](#quickstart) — Step-by-step tutorials that walk you through spinning up your first E2B sandboxes.
25
54
26
-
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](https://github.com/e2b-dev/fragments).
55
+
-[**Examples**](#examples) — In-depth tutorials focused on specific use cases. Pick the topics that match what you're building.
27
56
28
-
### Under the hood
29
-
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.
30
-
For example, if you were building an AI data analysis chatbot, you would start the sandbox for every user session.
57
+
-[**SDK Reference**](https://e2b.dev/docs/sdk-reference) — A complete technical reference for every SDK method, parameter, and configuration option.
Pro plan includes 100 concurrent sandboxes. Higher concurrency up to 1,100 is available as a purchasable [add-on](https://e2b.dev/dashboard/tberan/billing).
21
+
Pro plan includes 100 concurrent sandboxes. Higher concurrency up to 1,100 is available as a purchasable [add-on](https://e2b.dev/dashboard?tab=billing).
22
22
</Note>
23
23
24
24
Plans have different [API rate limits](/docs/sandbox/rate-limits).
@@ -64,6 +64,10 @@ Template.build(
64
64
65
65
See [template quickstart](/docs/template/quickstart) for more details on building custom templates.
66
66
67
+
<Note>
68
+
Need higher CPU or RAM limits? Contact [support@e2b.dev](mailto:support@e2b.dev) for more information.
0 commit comments