---
title: Concepts
description: Learn how the Sandbox SDK works, including architecture, lifecycle, security, and sessions.
image: https://developers.cloudflare.com/dev-products-preview.png
---

> Documentation Index  
> Fetch the complete documentation index at: https://developers.cloudflare.com/sandbox/llms.txt  
> Use this file to discover all available pages before exploring further.

[Skip to content](#%5Ftop) 

# Concepts

These pages explain how the Sandbox SDK works, why it's designed the way it is, and the concepts you need to understand to use it effectively.

* [Architecture](https://developers.cloudflare.com/sandbox/concepts/architecture/) \- How the SDK is structured and why
* [Sandbox lifecycle](https://developers.cloudflare.com/sandbox/concepts/sandboxes/) \- Understanding sandbox states and behavior
* [Container runtime](https://developers.cloudflare.com/sandbox/concepts/containers/) \- How code executes in isolated containers
* [Session management](https://developers.cloudflare.com/sandbox/concepts/sessions/) \- When and how to use sessions
* [Preview URLs](https://developers.cloudflare.com/sandbox/concepts/preview-urls/) \- How service exposure works
* [Security model](https://developers.cloudflare.com/sandbox/concepts/security/) \- Isolation, validation, and safety mechanisms
* [Terminal connections](https://developers.cloudflare.com/sandbox/concepts/terminal/) \- How browser terminal connections work

## Related resources

* [Tutorials](https://developers.cloudflare.com/sandbox/tutorials/) \- Learn by building complete applications
* [How-to guides](https://developers.cloudflare.com/sandbox/guides/) \- Solve specific problems
* [API reference](https://developers.cloudflare.com/sandbox/api/) \- Technical details and method signatures

```json
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"/directory/","name":"Directory"}},{"@type":"ListItem","position":2,"item":{"@id":"/sandbox/","name":"Sandbox SDK"}},{"@type":"ListItem","position":3,"item":{"@id":"/sandbox/concepts/","name":"Concepts"}}]}
```
