Skip to content

Commit cce66f8

Browse files
Merge branch 'main' into openclaw-instructions
2 parents 6940f58 + c5f04f6 commit cce66f8

22 files changed

Lines changed: 254 additions & 66 deletions

.tool-versions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node 24.11.0

docs.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@
107107
"docs/sandbox/lifecycle-events-api",
108108
"docs/sandbox/lifecycle-events-webhooks",
109109
"docs/sandbox/persistence",
110+
"docs/sandbox/snapshots",
110111
"docs/sandbox/git-integration",
111112
"docs/sandbox/metrics",
112113
"docs/sandbox/metadata",

docs.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { Quickstart } from '/snippets/Quickstart.jsx';
1010

1111
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.
1212

13-
Spin up a sandbox and run code in a few lines:
13+
Start a sandbox and run code in a few lines:
1414

1515
<CodeGroup>
1616
```bash JavaScript & TypeScript
@@ -50,7 +50,7 @@ A quick overview of the core building blocks you'll interact with when using E2B
5050

5151
The documentation is split into three main sections:
5252

53-
- [**Quickstart**](#quickstart) — Step-by-step tutorials that walk you through spinning up your first E2B sandboxes.
53+
- [**Quickstart**](#quickstart) — Step-by-step tutorials that walk you through creating your first E2B sandboxes.
5454

5555
- [**Examples**](#examples) — In-depth tutorials focused on specific use cases. Pick the topics that match what you're building.
5656

docs/agents/amp.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ icon: "/images/icons/amp.svg"
88

99
## CLI
1010

11-
Spin up a sandbox with the [E2B CLI](/docs/cli).
11+
Create a sandbox with the [E2B CLI](/docs/cli).
1212

1313
```bash
1414
e2b sbx create amp

docs/agents/claude-code.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ icon: "/images/icons/claude-code.svg"
88

99
## CLI
1010

11-
Spin up a sandbox with the [E2B CLI](/docs/cli).
11+
Create a sandbox with the [E2B CLI](/docs/cli).
1212

1313
```bash
1414
e2b sbx create claude

docs/agents/codex.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ icon: "/images/icons/codex.svg"
88

99
## CLI
1010

11-
Spin up a sandbox with the [E2B CLI](/docs/cli).
11+
Create a sandbox with the [E2B CLI](/docs/cli).
1212

1313
```bash
1414
e2b sbx create codex

docs/agents/openclaw.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ icon: "/images/icons/openclaw.svg"
88

99
## CLI
1010

11-
Spin up a sandbox with the [E2B CLI](/docs/cli).
11+
Create a sandbox with the [E2B CLI](/docs/cli).
1212

1313
```bash
1414
e2b sbx create openclaw

docs/agents/opencode.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ icon: "/images/icons/opencode.svg"
88

99
## CLI
1010

11-
Spin up a sandbox with the [E2B CLI](/docs/cli).
11+
Create a sandbox with the [E2B CLI](/docs/cli).
1212

1313
```bash
1414
e2b sbx create opencode

docs/billing.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@ Check your usage and costs in the [dashboard usage tab](https://e2b.dev/dashboar
9292
</Accordion>
9393

9494
<Accordion title="How do I optimize costs?">
95-
- **Always kill sandboxes when done** - Use `sbx.kill()` to stop billing immediately
96-
- **Enable autopause** - Automatically pause sandboxes after a period of inactivity to stop billing while preserving state
95+
- **Enable auto-pause** - Automatically pause sandboxes after a period of inactivity to stop billing while preserving state
96+
- **Pause sandboxes when idle** - Use `sbx.pause()` to stop billing while keeping state available for later
97+
- **Kill sandboxes you no longer need** - Use `sbx.kill()` to stop billing and release resources permanently
9798
- **Allocate only what you need** - Start with default resources (2 vCPU, 1 GB RAM) and increase only if necessary
98-
- **Implement automatic timeouts** - Set max session lengths to prevent forgotten sandboxes from running
9999
- **Monitor actively running sandboxes** - Use the [CLI](/docs/cli/list-sandboxes) or [dashboard](https://e2b.dev/dashboard?tab=usage) to track active sandboxes
100100
- **Use lifecycle events** - Set up [webhooks](/docs/sandbox/lifecycle-events-webhooks) to get notified when sandboxes are created
101101
</Accordion>

docs/cli/connect-to-sandbox.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ e2b sandbox connect <sandbox-id>
1212

1313
Unlike the `create` command, `connect` does not kill the sandbox when you disconnect. When you exit the terminal, only your terminal session is closed—the sandbox continues running.
1414

15-
Once connected, you can inspect the sandbox filesystem and processes to debug or experiment, or use it as a disposable environment for running agents instead of your local computer.
15+
Once connected, you can inspect the sandbox filesystem and processes to debug or experiment, or use it as a dedicated environment for running agents instead of your local computer.

0 commit comments

Comments
 (0)