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

# Choose a Computer or a Sandbox

> Choose the right lifetime, plan eligibility, and public access paths for your task, and understand what each Machine preserves.

Deepest provides two Machine types built on the same Account resource pool: **Computers** for durable workspaces and **Sandboxes** for short-lived, isolated headless tasks.

> [card] [Persistent Computer](https://docs.deepest.dev/computers/lifecycle.md)
>
> Keep your disk, repositories, IDE access, Desktop, Preview, and Share links across sessions. Available on all commercial Beta plans (Starter, Pro, Max 16, Max 32).

> [card] [Temporary Sandbox](https://docs.deepest.dev/sandboxes/overview.md)
>
> Headless task environment with a fixed 24-hour hard lifetime and default 30-minute idle Stop. Available on Pro, Max 16, and Max 32 (excluded on Starter).

Both Machine types draw Memory, shared CPU (`shared_cpus`), Storage, and outbound network Fair Use from the same Account pool. Choosing one over the other changes lifetime and public entry points—not resource isolation or dedicated CPU guarantees.

## Compare public capabilities

| Capability | Computer | Sandbox |
| - | - | - |
| Plan availability | Starter, Pro, Max 16, Max 32 | Pro, Max 16, Max 32 (`sandbox_enabled: true`; **disabled on Starter**) |
| Maximum retained count | Counts toward plan `persistent_computers` limit (**50 / 500 / 1,000 / 1,000**; Stopped still counts until Delete) | Separate from `persistent_computers` limit |
| Workspace lifetime | Persistent until deleted (subject to active entitlement and 30-day retention) | Fixed **24-hour hard lifetime** from creation; cannot be extended |
| Idle behavior | No ordinary idle auto-stop | Auto-stops after 30 minutes of inactivity (configurable or disableable within 24h) |
| Stop then Start | Same ID and disk, cold boot | Same ID and disk while unexpired; original expiry unchanged |
| API `exec` | Yes | Yes, capped by hard expiry |
| SSH, SFTP, port forwarding, VS Code | Yes, standard OpenSSH entry | No public SSH entry |
| Desktop & human assistance | Yes | No managed visual entry |
| Private Preview & 24h Share | Yes, HTTP/WebSocket | Not available |
| Tools Quick Install | Supported catalog tools | No Sandbox Quick Install endpoint |
| Memory Resize | Live grow when supported; stopped Resize otherwise | Size fixed at creation; no Resize endpoint |
| Disk snapshots, restore, clone, reclaim | Yes, on stopped Computer | Not available |
| Vault Secrets | Explicit per-Computer grants | Explicit per-Sandbox grants; starts with none |
| Automatic result export / promotion | No cross-Machine sync | No; export results before 24h expiry (no promotion to Computer) |

> [!NOTE]
>
> These are platform entry-point boundaries, not Linux restrictions. Installing your own web server or GUI software inside a Sandbox does not create a Deepest SSH, Desktop, Preview, or Share API for it.

## Decision scenarios

> [accordion] A repository or environment you return to daily
>
> **Choose a Computer.** Keep the Git working tree, Docker containers, and installed tools on its persistent disk. Stop it when idle to release running Memory without losing files, and Start the same ID later. If the workload needs more RAM, evaluate [Memory Resize](https://docs.deepest.dev/computers/resize.md) before creating another Machine.

> [accordion] A one-off test of untrusted dependencies or generated code
>
> **Choose an eligible Sandbox** (Pro or Max). Grant only the narrowest Vault secret needed, if any, and export selected results explicitly before the 24-hour deadline. Treat exported scripts or binaries as untrusted until reviewed—do not automatically execute them or merge them into another Computer.

> [accordion] A browser workflow requiring login, OAuth, or human takeover
>
> **Choose a Computer.** Use [Desktop and human assistance](https://docs.deepest.dev/desktop/human-assistance.md). You can run user-managed browser automation tools inside Linux on that Computer, while Deepest coordinates human sign-in handoff without exposing a platform browser-control API.

> [accordion] Parallel builds or multi-agent tasks
>
> **Read [Account resources](https://docs.deepest.dev/concepts/account-resources.md) first.** Two running Machines share the Account's `shared_cpus` budget and both consume running Memory. Separate Machines isolate files and dependencies cleanly, but creating more Machines does not multiply total CPU cores or network bandwidth.

> [accordion] A job that may run longer than 24 hours
>
> **Choose a Computer** with sufficient entitlement duration. Disabling Sandbox idle auto-stop, calling `touch()`, or restarting a Sandbox never extends its fixed 24-hour `expires_at` deadline.

## Persistence and copies

* A Computer's disk survives Stop/Start; RAM and active processes end on Stop.
* A Sandbox's disk survives an early Stop/Start only until its original 24-hour hard expiry. Account Computer retention (30 days after entitlement loss) never extends a Sandbox's 24-hour lifetime.
* A [disk snapshot](https://docs.deepest.dev/computers/snapshots-and-restore.md) contains no RAM or process state. A [clone](https://docs.deepest.dev/computers/clone.md) requires a stopped Computer source and creates a separate Computer with a fresh identity, SSH Host Key, and no inherited SSH, Share, or Vault grants. Neither provides a live-memory fork.
* Nothing automatically synchronizes files, volumes, browser profiles, or credentials across Machines. Move artifacts explicitly via Git, SFTP, or application-level export.

## Inspect before acting

Before creating or starting work, call `resources.get()` and check:

* `entitlement.status` (`active`, `none`, or `retention`) and optional `expires_at`
* Available Memory (`ram_limit_mib - ram_used_mib`) and `storage_status`
* `sandbox_enabled` and `machine_count_constraints` (`persistent_computers`)
* Existing Machines via `computers.list()` / `sandboxes.list()`, plus `expires_at` and `stop_reason` on any existing Sandbox

> [!WARNING]
>
> If any observation is `UNKNOWN`, query and resolve the original resource rather than assuming the Machine is stopped, empty, or deleted. On a capacity or count refusal (`LIMIT_EXCEEDED`), inspect `error.limit` and adjust your plan instead of looping through new creation keys.

Next: [create a Computer](https://docs.deepest.dev/quickstart.md), [operate from an Agent](https://docs.deepest.dev/for-agents.md), or [run a Sandbox task](https://docs.deepest.dev/sandboxes/overview.md).


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