Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

update readmes

Vasek Mlejnskyc42077a8e48f
diff --git a/README.md b/README.md
index 545b331d4..d84240fd6 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
<p align="center">
- <img width="100" src="readme-assets/logo-circle.png" alt="e2b logo">
+ <img width="100" src="/readme-assets/logo-circle.png" alt="e2b logo">
</p>
<h1 align="center">
@@ -28,7 +28,7 @@
</a>
</h4>
-<img width="100%" src="readme-assets/preview.png" alt="Cover image">
+<img width="100%" src="/readme-assets/preview.png" alt="Cover image">
## What is E2B?
@@ -101,7 +101,7 @@ await sandbox.close();
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/)
+1. [Python SDK](/packages/python-sdk)
+1. [JS SDK](/packages/js-sdk)
+1. [CLI](/packages/cli)
+1. [Documentation](/apps/docs/)
diff --git a/packages/cli/README.md b/packages/cli/README.md
index 7f3f401bd..8b2a3ac9e 100644
--- a/packages/cli/README.md
+++ b/packages/cli/README.md
@@ -1,26 +1,7 @@
<h1 align="center">
-<span style="font-size:48px;"><b>E2B CLI</b></span>
+ E2B CLI
</h1>
-<h4 align="center">
- <a href="https://e2b.dev/docs">Docs</a> |
- <a href="https://e2b.dev">Website</a> |
- <a href="https://discord.gg/U7KEcGErtQ">Discord</a> |
- <a href="https://twitter.com/e2b_dev">Twitter</a>
-</h4>
-
-<h4 align="center">
- <a href="https://discord.gg/U7KEcGErtQ">
- <img src="https://img.shields.io/badge/chat-on%20Discord-blue" alt="Discord community server" />
- </a>
- <a href="https://twitter.com/e2b_dev">
- <img src="https://img.shields.io/twitter/follow/infisical?label=Follow" alt="e2b Twitter" />
- </a>
-</h4>
-
-[E2B](https://e2b.dev) (_english2bits_) is a cloud operating system for AI
-agents.
-
This CLI tool allows you to build and manage E2B sandbox templates from your
terminal.
diff --git a/packages/js-sdk/README.md b/packages/js-sdk/README.md
index d30d3c785..0cfc6b445 100644
--- a/packages/js-sdk/README.md
+++ b/packages/js-sdk/README.md
@@ -1,7 +1,15 @@
+<p align="center">
+ <img width="100" src="/readme-assets/logo-circle.png" alt="e2b logo">
+</p>
+
<h1 align="center">
-<span style="font-size:48px;"><b>E2B JavaScript & TypeScript SDK</b></span>
+ Sandbox for AI Apps & Agents
</h1>
+<h3 align="center">
+ Secure sandboxed cloud environments made for AI agents and AI apps
+</h3>
+
<h4 align="center">
<a href="https://e2b.dev/docs">Docs</a> |
<a href="https://e2b.dev">Website</a> |
@@ -10,36 +18,56 @@
</h4>
<h4 align="center">
- <a href="https://discord.gg/U7KEcGErtQ">
- <img src="https://img.shields.io/badge/chat-on%20Discord-blue" alt="Discord community server" />
+ <a href="https://pypi.org/project/e2b/">
+ <img alt="Last 1 month downloads for the Python SDK" loading="lazy" width="200" height="20" decoding="async" data-nimg="1"
+ style="color:transparent;width:auto;height:100%" src="https://img.shields.io/pypi/dm/e2b?label=PyPI%20Downloads">
</a>
- <a href="https://twitter.com/e2b_dev">
- <img src="https://img.shields.io/twitter/follow/infisical?label=Follow" alt="e2b Twitter" />
+ <a href="https://www.npmjs.com/package/@e2b/sdk">
+ <img alt="Last 1 month downloads for the Python SDK" loading="lazy" width="200" height="20" decoding="async" data-nimg="1"
+ style="color:transparent;width:auto;height:100%" src="https://img.shields.io/npm/dm/%40e2b/sdk?label=NPM%20Downloads">
</a>
</h4>
-[E2B](https://e2b.dev) (_english2bits_) is a cloud operating system for AI agents.
+<img width="100%" src="/readme-assets/preview.png" alt="Cover image">
+
+## What is E2B?
-With a single line of our SDK, you can give your AI agent a sandboxed cloud environment where your agent can do any of the following:
-- Run any code
-- Run any terminal command
-- Install dependencies and programs
-- Use filesystem
-- Upload and download files
-- Access the internet
-- Start a web server that's accessible from the internet
-- Clone git repositories
-- Start any process (even long-running such as a database)
+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:
-This just a few examples of what can be done with our agent cloud environments.
+- Cloud browsers
+- GitHub repositories and CLIs
+- Coding tools like linters, autocomplete, "go-to defintion"
+- Running LLM generated code
+- Audio & video editing
-**Our SDK works with any AI agent (no matter what framework, you're using), and without the need to manage any infrastructure.**
+**The E2B sandbox can be connected to any LLM and any AI agent or app.**
## Getting Started & Documentation
-Visit [docs](https://e2b.dev/docs) to get started with the SDK.
+> Please visit [documentation](https://e2b.dev/docs) to get started.
+
+To create and control a sandbox, you use our SDK:
+
+### Install SDK
-### Installation
```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();
+```
diff --git a/packages/python-sdk/README.md b/packages/python-sdk/README.md
index 78c95a58f..b3b14da54 100644
--- a/packages/python-sdk/README.md
+++ b/packages/python-sdk/README.md
@@ -1,7 +1,15 @@
+<p align="center">
+ <img width="100" src="/readme-assets/logo-circle.png" alt="e2b logo">
+</p>
+
<h1 align="center">
-<span style="font-size:48px;"><b>E2B Python SDK</b></span>
+ Sandbox for AI Apps & Agents
</h1>
+<h3 align="center">
+ Secure sandboxed cloud environments made for AI agents and AI apps
+</h3>
+
<h4 align="center">
<a href="https://e2b.dev/docs">Docs</a> |
<a href="https://e2b.dev">Website</a> |
@@ -10,36 +18,56 @@
</h4>
<h4 align="center">
- <a href="https://discord.gg/U7KEcGErtQ">
- <img src="https://img.shields.io/badge/chat-on%20Discord-blue" alt="Discord community server" />
+ <a href="https://pypi.org/project/e2b/">
+ <img alt="Last 1 month downloads for the Python SDK" loading="lazy" width="200" height="20" decoding="async" data-nimg="1"
+ style="color:transparent;width:auto;height:100%" src="https://img.shields.io/pypi/dm/e2b?label=PyPI%20Downloads">
</a>
- <a href="https://twitter.com/e2b_dev">
- <img src="https://img.shields.io/twitter/follow/infisical?label=Follow" alt="e2b Twitter" />
+ <a href="https://www.npmjs.com/package/@e2b/sdk">
+ <img alt="Last 1 month downloads for the Python SDK" loading="lazy" width="200" height="20" decoding="async" data-nimg="1"
+ style="color:transparent;width:auto;height:100%" src="https://img.shields.io/npm/dm/%40e2b/sdk?label=NPM%20Downloads">
</a>
</h4>
-[E2B](https://e2b.dev) (_english2bits_) is a cloud operating system for AI agents.
+<img width="100%" src="/readme-assets/preview.png" alt="Cover image">
+
+## What is E2B?
-With a single line of our SDK, you can give your AI agent a sandboxed cloud environment where your agent can do any of the following:
-- Run any code
-- Run any terminal command
-- Install dependencies and programs
-- Use filesystem
-- Upload and download files
-- Access the internet
-- Start a web server that's accessible from the internet
-- Clone git repositories
-- Start any process (even long-running such as a database)
+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:
-This just a few examples of what can be done with our agent cloud environments.
+- Cloud browsers
+- GitHub repositories and CLIs
+- Coding tools like linters, autocomplete, "go-to defintion"
+- Running LLM generated code
+- Audio & video editing
-**Our SDK works with any AI agent (no matter what framework, you're using), and without the need to manage any infrastructure.**
+**The E2B sandbox can be connected to any LLM and any AI agent or app.**
## Getting Started & Documentation
-Visit [docs](https://e2b.dev/docs) to get started with the SDK.
+> Please visit [documentation](https://e2b.dev/docs) to get started.
+
+To create and control a sandbox, you use our SDK:
+
+### Install SDK
-### Installation
```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()
+```