> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tensorlake.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Sandbox and Orchestration Infrastructure for Agents

Tensorlake provides isolated MicroVM sandboxes that boot in hundreds of milliseconds, with memory and filesystem preserved across suspend/resume.
Get setup in a few minutes, and start a sandbox in a few seconds.

Sandboxes can be used to run agent harnesses, run tool calls or even as VMs for running coding agents, builds and IDEs.
[GPU sandboxes](https://docs.tensorlake.ai/sandboxes/gpu.md) use gVisor while CPU-only sandboxes run in VMs.

## How it works

You can create sandboxes on demand via the API and choose their image and resources. The default image is `tensorlake/ubuntu-minimal`.

```bash cli theme={null}
  tl sbx create
```

```python sandbox.py theme={null}
  from tensorlake.sandbox import Sandbox


  resp = Sandbox.create(
      image="tensorlake/ubuntu-minimal",
      cpus=4,
      memory_mb=8192,
  )
```

```typescript sandbox.ts theme={null}
  import { Sandbox } from "@tensorlakeai/tensorlake";

  
  const resp = await Sandbox.create({
    image: "tensorlake/ubuntu-minimal",
    cpus: 4,
    memoryMb: 8192,
  });
```

#### Start Using Sandboxes

> [card] [Quickstart](https://docs.tensorlake.ai/sandboxes/quickstart.md)
>
> Install the SDK and run your first sandbox.

> [card] [Lifecycle](https://docs.tensorlake.ai/sandboxes/lifecycle.md)
>
> The mental model behind ephemeral, named, suspend, and snapshot.

> [card] [Build and Import Images](https://docs.tensorlake.ai/sandboxes/images.md)
>
> Use and customize sandbox images for your use case.

> [card] [Sandbox Persistence](https://docs.tensorlake.ai/sandboxes/snapshots.md)
>
> How to persist sandbox state across runs with suspend and snapshots.

## Trust and support

Tensorlake is HIPAA and SOC 2 Type II compliant, supports EU data residency, and offers zero data retention.

> [card] [Slack](https://join.slack.com/t/tensorlakecloud/shared_invite/zt-32fq4nmib-gO0OM5RIar3zLOBm~ZGqKg)
>
> Chat with our engineers.

> [card] [Email](mailto:support@tensorlake.ai)
>
> [support@tensorlake.ai](mailto:support@tensorlake.ai)

> [card] [Newsletter](https://tensorlake.beehiiv.com/)
>
> Use cases and product updates.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.