# Overview

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

As business needs change, you can scale compute resources up or down in real-time. UCloud Sandbox supports billing based on actual resource usage, which can help you save computing costs.

#### <center>[Quick Start](/docs/agent-sandbox/product/00-quick-start)   |   [Core Concepts](/docs/agent-sandbox/concepts/02-concepts)   |   [CLI Guide](/docs/agent-sandbox/product/cli)   |   [FAQ](/docs/agent-sandbox/troubleshooting/00-overview)</center>

---

## Recommended Learning Path

Follow the order of "Get Started → Understand Concepts → Deep Dive":

### Step 1: Quick Start
1. [Prerequisites and Authentication](/docs/agent-sandbox/product/01-prerequisites) - Get API Key and configure environment
2. [SDK Quick Start](/docs/agent-sandbox/product/00-quick-start) - Create your first sandbox in 5 minutes
3. [CLI Guide](/docs/agent-sandbox/product/cli) - Command-line tool introduction

### Step 2: Understand Core Concepts
1. [Concept Overview](/docs/agent-sandbox/concepts/02-concepts) - Relationship between sandboxes, templates, and snapshots
2. [How Templates Work](/docs/agent-sandbox/concepts/02-how-it-works) - Detailed explanation of snapshot mechanism

### Step 3: Deep Dive
1. [Template Quick Start](/docs/agent-sandbox/template/01-quick-start) - Build custom templates
2. [Command Execution](/docs/agent-sandbox/sdk/commands/01-overview) - Run commands in sandboxes
3. [File System](/docs/agent-sandbox/sdk/filesystem/01-overview) - File read/write and transfer

---

## Core Capabilities

| Capability | Description | Related Documentation |
|-----|------|---------|
| **Code Execution** | Safely run Python, JavaScript, and other code generated by Agents | [Command Execution](/docs/agent-sandbox/sdk/commands/01-overview) |
| **File Operations** | Transfer files between sandbox and host | [File System](/docs/agent-sandbox/sdk/filesystem/01-overview) |
| **Custom Templates** | Pre-installed dependencies, pre-configured files, millisecond-level startup | [Template Guide](/docs/agent-sandbox/template/01-quick-start) |
| **Network Control** | Flexibly control sandbox internet access permissions | [Internet Access](/docs/agent-sandbox/sdk/sandbox/10-internet-access) |
| **Data Persistence** | Mount remote storage buckets or persistent volumes | [Persistence](/docs/agent-sandbox/sdk/sandbox/04-persistence) |
| **E2B Compatibility** | Seamlessly integrate using existing E2B SDK | [E2B Compatibility Mode](/docs/agent-sandbox/product/e2b-compatibility) |

---

## Typical Use Cases

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

>
> For more examples, please refer to [Example Library](/docs/agent-sandbox/template/12-examples)

---

## FAQ

Encountering issues? Please refer to [FAQ and Troubleshooting](/docs/agent-sandbox/troubleshooting/00-overview), covering:

- Authentication and permission issues
- Template build stuck
- Command execution timeout
- Network access failures
- Rate limiting and resource restrictions

---

## Quick Links

| Category | Links |
|-----|------|
| **Getting Started** | [Prerequisites](/docs/agent-sandbox/product/01-prerequisites) · [SDK Quick Start](/docs/agent-sandbox/product/00-quick-start) · [CLI Guide](/docs/agent-sandbox/product/cli) |
| **Concepts** | [Concept Overview](/docs/agent-sandbox/concepts/02-concepts)  |
| **Reference** | [Glossary](/docs/agent-sandbox/troubleshooting/glossary) · [FAQ](/docs/agent-sandbox/troubleshooting/00-overview) |


