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

# SDK extras

> The E2B SDK plus Anona's live view, SSH and defaults.

Anona Compute works with the stock E2B SDKs. The Anona packages are thin extras on top of them:

| | Python | TypeScript |
| - | - | - |
| Package | `anona-compute` (needs `e2b>=2.61,<3`; extra `anona-compute[desktop]` adds `e2b-desktop`) | `@anona-labs/compute-sdk` (peer dependency `e2b ^2.61.0`; optional `@e2b/desktop`) |
| `Sandbox` | Subclass of `e2b.Sandbox` | Subclass of e2b's `Sandbox` |
| Adds | `sandbox.live`, `sandbox.ssh`, `sandbox.idle_pause`, `anona_compute.configure()`, `anona_compute.desktop.Sandbox`; from 0.3.0, a [capacity wait](/docs/sdk/python.md#waiting-for-capacity) on `create` and `connect` | `sandbox.live`, `sandbox.ssh`, `sandbox.idlePause`, `configure()`; from 0.3.0, a [capacity wait](/docs/sdk/typescript.md#waiting-for-capacity) on `create` and `connect` |
| Defaults | Domain `compute.anonalabs.com`; reads `ANONA_API_KEY` | Same |

Everything else (`commands`, `files`, `pty`, `pause`, `connect`, …) is the E2B SDK, unchanged. Its own documentation applies.

Install with `pip install anona-compute` or `npm install @anona-labs/compute-sdk e2b`. The source is public, in [anona-compute-sdk](https://github.com/anonalabs/anona-compute-sdk) (Apache-2.0).

## Environment

| Anona variable | Fills | Notes |
| - | - | - |
| `ANONA_API_KEY` | `E2B_API_KEY` | used when `E2B_API_KEY` is unset and it holds an `ac_` (or legacy `e2b_`) key, so an Anona Memory key there is never sent |
| `ANONA_DOMAIN` | `E2B_DOMAIN` | default `compute.anonalabs.com` |
| `ANONA_API_URL` | `E2B_API_URL` | E2B deprecates it; fallback only |

`E2B_*` values always win, so an environment already set up for the stock SDK keeps working unchanged.

* [Python reference](/docs/sdk/python.md)
* [TypeScript reference](/docs/sdk/typescript.md)


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