Skip to content

Commit 62bc63c

Browse files
committed
fix: address doc review feedback
- Fix terminology in Concepts.jsx (use "runtime environments" not "cloud VMs") - Add intro sentence before code example in sandbox overview - Fix awkward phrasing about tools - Remove redundant lifecycle link - Fix "persistance" typo in lifecycle page
1 parent bac5f53 commit 62bc63c

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/sandbox.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ description: "Secure runtime environments for AI agents"
66

77
A sandbox is an agentic runtime which is an isolated cloud VM under the hood. Sandboxes can start in as little as **~100ms**. Each sandbox has its own [filesystem](/docs/filesystem), can start [processes](/docs/commands), and has internet access with [configurable firewall](/docs/sandbox/internet-access#fine-grained-network-control).
88

9-
Sandboxes are designed to run thousands of AI agents safely with access to the real-world tools as on your own computer.
9+
Sandboxes are designed to run thousands of AI agents safely with access to the same tools available on your own computer.
10+
11+
Here's a basic example of creating a sandbox, running Python code, and shutting it down:
1012

1113
<CodeGroup>
1214
```js JavaScript & TypeScript
@@ -57,8 +59,6 @@ sbx.kill()
5759
These are defaults for the [code-interpreter](https://github.com/e2b-dev/code-interpreter) template. [Custom templates](/docs/template/quickstart) can have different CPU/RAM configurations.
5860
</Note>
5961

60-
See [lifecycle](/docs/sandbox/lifecycle) for timeout configuration.
61-
6262
## Sandbox capabilities
6363

6464
| Capability | Description |

docs/sandbox/lifecycle.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The maximum time sandbox can be kept running without being paused is
1111
- 24 hours on the Pro Tier
1212
- 1 hour on the Base Tier
1313

14-
For more details, please refer to [sandbox persistance page](/docs/sandbox/persistence#limitations-while-in-beta).
14+
For more details, please refer to [sandbox persistence page](/docs/sandbox/persistence#limitations-while-in-beta).
1515
</Warning>
1616

1717
<CodeGroup>

snippets/Concepts.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export const Concepts = () => {
44
href: "/docs/sandbox",
55
title: "Sandbox",
66
description:
7-
"Learn about sandboxes - isolated cloud VMs for running AI-generated code.",
7+
"Learn about sandboxes - isolated runtime environments for AI agents.",
88
icon: "box",
99
},
1010
{

0 commit comments

Comments
 (0)