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

# Anona Compute

> Secure microVM sandboxes for AI agents. Works with the E2B SDK.

Anona Compute gives every AI agent its own computer: a KVM microVM with its own kernel, filesystem and network policy. Agents run code, move files, start long-lived processes, drive a desktop, and pause and resume with memory intact.

## Two ways to set up

> [card] [With your agent](/docs/agents/overview.md)
>
> Paste one prompt into Claude Code, Codex or Cursor. The agent installs the CLI, asks you to approve one browser sign-in, registers the MCP server and proves it works with a sandbox.

> [card] [By hand, with an API key](/docs/quickstart.md)
>
> Create an `ac_` API key in the [console](https://compute.anonalabs.com) and use it from Python, TypeScript or the CLI.

Both paths use the same account and organization. The agent path creates no API key: the CLI keeps your browser sign-in and trades it for gateway tokens that last 15 minutes. The manual path uses an `ac_` key you create, which you can scope, expire and revoke.

```text paste-into-your-agent
Set up Anona Compute for me. Fetch https://compute.anonalabs.com/docs/agents/onboarding-prompt.md and follow it.
```

## Or point the E2B SDK at Anona

The API is compatible with the E2B SDK. Point the stock `e2b` package at Anona with two environment variables:

```bash setup.sh
export E2B_DOMAIN=compute.anonalabs.com
export E2B_API_KEY=ac_YOUR_API_KEY
```

The SDK adds `api.` to the domain itself, so its requests go to `https://api.compute.anonalabs.com`; that is expected, not a typo.

Then create a sandbox, run a command and watch it:

```python quickstart.py
from e2b import Sandbox                            # pip install e2b

sbx = Sandbox.create(timeout=300)                  # uses the domain and key from setup.sh
result = sbx.commands.run("uname -sr && nproc")
print(result.stdout)
print(f"Watch it live: anona-compute view {sbx.sandbox_id} --mode terminal --control")
```

The last line prints a [CLI](/docs/cli/overview.md) command that opens a live terminal on the sandbox; the sandbox ends on its own after five minutes. Pick its vCPU, memory and disk with a [sandbox size](/docs/concepts/sizes.md).

## Where to go next

> [card] [Quickstart](/docs/quickstart.md)
>
> Create a sandbox, run a command, clean up.

> [card] [Migrate from E2B](/docs/migrate-from-e2b.md)
>
> What carries over unchanged, and what differs.

> [card] [Recipes](/docs/recipes/index.md)
>
> Start from what you are building.

> [card] [Concepts](/docs/concepts/sandboxes.md)
>
> Sandboxes, templates, lifecycle, security.

> [card] [CLI](/docs/cli/overview.md)
>
> Lifecycle, exec, ssh, live view and MCP.

> [card] [API reference](/docs/api-reference/introduction.md)
>
> Every route the gateway serves.

## What you get

| | |
| - | - |
| **Isolation** | One KVM microVM per sandbox, behind a gateway that checks every request. See [Security](/docs/concepts/security.md). |
| **E2B compatibility** | The `e2b` Python and JavaScript SDKs (checked with 2.20.3, 2.51.0 and 2.61.0): create, connect, commands, files, PTY, pause and resume. See [Migrate from E2B](/docs/migrate-from-e2b.md). |
| **Sandbox sizes** | Small, Medium, Large or XL (1 to 8 vCPU, 2 to 16 GiB memory, 10 to 80 GB disk) at create, from any template that fits. See [Sandbox sizes](/docs/concepts/sizes.md). |
| **Plan limits** | Each plan sets running and paused sandboxes, API keys, and how many templates and how much template storage you keep. sizes up to a largest (Free Medium, Pro Large, Scale XL), and request rates. See [Regions and limits](/docs/concepts/limits.md). |
| **Long-running sandboxes** | No lifetime limit on any plan, and pause on timeout instead of delete. See [Lifecycle](/docs/concepts/lifecycle.md). |
| **Live view** | Watch or take over a sandbox's terminal or desktop in your own page. See [Live view](/docs/guides/live-view.md). |
| **SSH** | `anona-compute ssh`, `scp`, port forwarding and VS Code Remote, with 10-minute certificates. See [SSH](/docs/guides/ssh.md). |
| **Egress control** | Per-sandbox allow and deny lists on top of a platform floor that always blocks private ranges and cloud metadata. See [Networking](/docs/concepts/networking.md). |
| **Usage pricing** | Plans from $0 to $399 a month with vCPU-hours and egress included every month; usage is the vCPU and memory a sandbox is given, billed per second with a 1-minute minimum, at \$0.06 an hour for 1 vCPU and 2 GiB. See [Pricing](/docs/pricing.md). |

## Docs for agents

| | |
| - | - |
| Index of every page | [`/llms.txt`](https://compute.anonalabs.com/docs/llms.txt) |
| Everything in one file | [`/llms-full.txt`](https://compute.anonalabs.com/docs/llms-full.txt) |
| Any page as Markdown | Add `.md` to its URL |
| Tools over MCP | [Agents via MCP](/docs/guides/mcp.md) |

See [Docs for agents](/docs/agents/docs-for-agents.md).

## Pieces

| Piece | What it is | Install |
| - | - | - |
| API | `https://api.compute.anonalabs.com`, the E2B-compatible gateway | Nothing: use the stock `e2b` SDK (`pip install e2b`, `npm install e2b`) |
| Console | [compute.anonalabs.com](https://compute.anonalabs.com): sign-in, API keys, sandboxes, usage | Nothing |
| CLI | `anona-compute`, one native binary: sign in, sandbox lifecycle, exec, ssh, live view, and an MCP server for agents | `npm install -g @anona-labs/anona-compute`, a [download](https://github.com/anonalabs/anona-compute-sdk/releases), or `go install` ([all three](/docs/cli/overview.md#install)) |
| SDK extras | Python `anona-compute` and TypeScript `@anona-labs/compute-sdk`: subclasses of the E2B `Sandbox` with `live`, `ssh` and `size` | `pip install anona-compute`, `npm install @anona-labs/compute-sdk e2b` |

The CLI (npm `@anona-labs/anona-compute`) and the Python SDK extras (PyPI `anona-compute`) are separate packages that share a name: the npm one installs the `anona-compute` command, the PyPI one is a library and installs no command. Both, and the TypeScript SDK, are open source (Apache-2.0) in [anona-compute-sdk](https://github.com/anonalabs/anona-compute-sdk).

> [!NOTE]
>
> Anona Compute is in preview. Anything not available yet is marked **Coming soon** where it appears. Today that is: the CLI's `keys`, `limits`, `push` and `recover` commands, E2B snapshots (`create_snapshot`), waking a paused sandbox on incoming traffic, and more regions. Anything built but not yet proven in production says so where it matters. Paid plans are paid on the secure Stripe checkout page; see [Plans and codes](/docs/plans-and-codes.md).


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