# Overview

UCloud Sandbox provides you with safe and reliable elastic sandbox computing services. In just seconds, you can obtain and enable a sandbox with full operating system capabilities in the cloud for executing AI Agent-generated code, conducting automated tests, or running untrusted scripts.

As business needs change, you can scale computing resources up or down in real time. UCloud Sandbox supports billing based on the actual resources used, which can save you computing costs.

#### <center>[Quick Start](/docs/agent-sandbox/product/quickstart.md) | [CLI Guide](/docs/agent-sandbox/product/cli.md) | [Template Guide](/docs/agent-sandbox/template/quickstart.md) | [E2B Compatibility mode](/docs/agent-sandbox/product/e2b-compatibility.md)</center>

---

## Recommended learning path

Start by following the order of "Run first → In-depth capabilities → Build a custom environment":

### Step one: Get started quickly

1. [Prerequisites and Certification](/docs/agent-sandbox/product/prerequisites.md) - Obtain API Key and configure the environment
2. [SDK Quick Start](/docs/agent-sandbox/product/quickstart.md) - Create your first sandbox in 5 minutes
3. [CLI Guide](/docs/agent-sandbox/product/cli.md) - Getting Started with Command Line Tools
4. [Switch Region](/docs/agent-sandbox/product/region.md) - Learn how to switch regions
5. [Billing Instructions](/docs/agent-sandbox/product/fee.md) - Understand the sandbox billing situation

### Step 2: Use the sandbox in depth

1. [Sandbox life cycle](/docs/agent-sandbox/sandbox/lifecycle.md) - timeout, suspension, recovery and destruction
2. [Command execution](/docs/agent-sandbox/commands/overview.md) - Run commands in the sandbox
3. [File System](/docs/agent-sandbox/filesystem/overview.md) - File reading, writing and transmission
4. [Network Access](/docs/agent-sandbox/network/internet-access.md) - Control sandbox Internet access

### Step 3: Build a custom template

1. [Template Quick Start](/docs/agent-sandbox/template/quickstart.md) - Build custom templates
2. [How the template works](/docs/agent-sandbox/template/how-it-works.md) - Detailed explanation of the snapshot mechanism
3. [Template Examples](/docs/agent-sandbox/template/examples/claude-code.md) - Template examples for common scenarios

---

## Core Competencies

| Capabilities | Description | Related Documentation |
|-----|------|---------|
| **Code Execution** | Safely run Python and other codes generated by Agent | [Command Execution](/docs/agent-sandbox/commands/overview.md) |
| **File Operations** | Read, write, upload, and download files between the sandbox and the local machine | [File System](/docs/agent-sandbox/filesystem/overview.md) |
| **Customized Template** | Pre-installed dependencies, preconfigured files, millisecond startup | [Template Guide](/docs/agent-sandbox/template/quickstart.md) |
| **Network Control** | Flexible control of sandbox Internet access permissions | [Network Access](/docs/agent-sandbox/network/internet-access.md) |
| **Public Access** | Expose services running within the sandbox through a public URL | [Public URL](/docs/agent-sandbox/network/public-url.md) |
| **Data Persistence** | Pause and resume the sandbox, retaining the complete running state | [Persistence](/docs/agent-sandbox/sandbox/persistence.md) |
| **Snapshots** | Create reusable point-in-time snapshots from a running sandbox | [Snapshots](/docs/agent-sandbox/sandbox/snapshots.md) |
| **Multi-region switching** | Supports creating sandboxes in different regions | [Switch regions](/docs/agent-sandbox/product/region.md) |
| **E2B Compatible** | Seamless access using existing E2B SDK | [E2B Compatibility Mode](/docs/agent-sandbox/product/e2b-compatibility.md) |

---

## Typical application scenarios

- **AI Agent Code Execution**: Safely run code generated by LLM and isolate risks
- **Automated Testing**: Run test cases in an isolated environment
- **Data Analysis**: Provides a sandbox environment with pre-installed analysis tools
- **Education and Training**: Provide students with an independent experimental environment

> For more best practices, see [Remote Development Environment](/docs/agent-sandbox/best-practices/codeagent.md), [Remote Code Executor](/docs/agent-sandbox/best-practices/code-interpreter.md), and [Remote Desktop](/docs/agent-sandbox/best-practices/desktop.md).

---

## Quick links

| Categories | Links |
|-----|------|
| **Getting Started** | [Prerequisites](/docs/agent-sandbox/product/prerequisites.md) · [SDK Quick Start](/docs/agent-sandbox/product/quickstart.md) · [CLI Guide](/docs/agent-sandbox/product/cli.md) |
| **Sandbox** | [Lifecycle](/docs/agent-sandbox/sandbox/lifecycle.md) · [Persistence](/docs/agent-sandbox/sandbox/persistence.md) · [Snapshot](/docs/agent-sandbox/sandbox/snapshots.md) |
| **Template** | [Quick Start](/docs/agent-sandbox/template/quickstart.md) · [Definition Template](/docs/agent-sandbox/template/defining-template.md) · [Template Examples](/docs/agent-sandbox/template/examples/claude-code.md) |
| **Reference** | [Billing Instructions](/docs/agent-sandbox/product/fee.md) · [Quota Instructions](/docs/agent-sandbox/product/ratelimit.md) · [E2B Compatibility Mode](/docs/agent-sandbox/product/e2b-compatibility.md) |
