Quickstart
Spin up your first Tenki Sandbox session in under a minute. Install the CLI or SDK, authenticate with an API key, and run commands inside an isolated Linux VM.
Tenki Sandbox gives you disposable full Linux VMs you can drive from the CLI or the Go, TypeScript, and Python SDKs. This guide takes you from install to a running sandbox in a few minutes. Pick your tool in the first code block and the selection follows you down the page.
1. Install
Supported platforms
The tenki CLI supports Linux x86-64 (linux/amd64) and Apple silicon macOS (darwin/arm64); Intel macOS is
not supported.
2. Authenticate
Sign the CLI in interactively. For SDKs and automation, Sandbox onboarding creates an initial API key. Export it
as TENKI_API_KEY. See Manage API keys to create additional keys, choose an
expiration date, rotate keys, or revoke them.
3. Create a sandbox and run a command
Create a session, run a command inside it, and read the output back. The session is a fresh Linux VM, isolated from your machine.
You should see the guest's kernel info and username printed back. That output came from inside the VM.
What's next
- Do more with a session: Sessions covers command execution, file I/O, port exposure, and SSH.
- Concepts: how sessions, volumes, and snapshots fit together.
- Recipes: run an AI agent, checkpoint an environment, cache dependencies.
- Anchor: a pre-built image for browser automation through an Anchor-managed browser.
- Chrome and Chromium: run a headless or headed browser, drive it over CDP, and watch it through noVNC.
- Grok: a pre-built image with xAI's Grok Build coding agent for headless
grok -pruns. - Droid: a pre-built image with Factory's Droid coding agent for headless
droid execruns. - Amp: a pre-built image with Sourcegraph's Amp coding agent for headless
amp -xruns. - Crabbox: keep a sandbox warm and run your test suite on it from your local checkout, like CI before you commit.
- Harbor: run agent benchmarks such as Terminal-Bench with every trial in its own sandbox.
- Pi: a pre-built image with the open source Pi coding agent, provider-agnostic and run inside a per-session isolation boundary.
- Prime Agent: a pre-built image with Prime Intellect's Prime Agent coding and research harness, its Python kernel prewarmed, for headless
prime-agent -pruns. - TinyFish: a pre-built image with the TinyFish CLI, SDK, and Playwright client for web agents, remote browsers, fetch, and search.
- Hotdata: a pre-built image with the Hotdata CLI, Python SDK, and agent skill, for giving an agent its own database to load files into and query with SQL.
- Persistent Volumes and Snapshots for durable state.
- CLI Reference and SDK Reference for every command and option.
Need help? Email hello@tenki.cloud and we'll help you get set up.