# Spinbox

**Spinbox is experimental: APIs change and data may be lost.** What is built and what proves it is on [Status](https://docs.spinbox.dev/reference/status.md); what Spinbox does not do is on [Limitations](https://docs.spinbox.dev/overview/limitations.md).

> Workspaces in your own AWS account, each a virtual machine built from parts Linux and QEMU already have, with snapshots, rollback and a diff of what changed.

## What its own machine gives it

- **[Isolate: a whole machine, not a container](https://docs.spinbox.dev/reference/status.md#workspaces).** Every workspace is a KVM virtual machine with its own kernel, root and a persistent disk. A person or an agent can install anything and break anything inside it. Around it, the QEMU process runs as a user of its own, opens nothing by name and has no network, and each machine sits in a network namespace of its own.
- **[Inspect: every file it changed](https://docs.spinbox.dev/reference/status.md#snapshots).** A snapshot before and one after, and the files added, modified or removed between them, read by a separate machine. What the agent did is on the record before you decide to keep it.
- **[Control: closed until you open it](https://docs.spinbox.dev/reference/status.md#network).** Egress is closed by default, and policies name what a workspace may reach. A team's secret stays on the runner's egress proxy and never enters the workspace. All of it in your AWS account, where the logs stay too.

What that boundary covers, and what it doesn't yet, is in the [security model](https://docs.spinbox.dev/security.md).

*Diagram: Where the boundary is: people and agents reach the proxy; the control plane, the runners, the buckets and the keys are the module's, in your account and your region.* Its labels: AWS · Users browser, spin CLI, SSH · Let's Encrypt · Region · spin-stack/ami task release · images.json release → region → AMI · operator tofu apply, or GitHub Actions · VPC - no NAT: every machine has its own way out · Internet gateway · edge subnets the proxy's alone · public subnets, one per zone · S3 gateway endpoint · S3 - only through the endpoint volumes (Object Lock), the database's sealed archive, logs, certificates; a document per role, by the apply · Parameter Store - written by the apply the key, the CA, the first password: the control plane's alone · Route 53 <domain>, which its registrar points at, and spin.internal, whose records the machines write · IAM a role per machine, one permissions boundary · Spin OS AMI the release, read-only root · CloudWatch Logs every boot, the VPC's flows · Session Manager the only shell · OpenTofu state S3, encrypted with KMS · Elastic IP app., tunnel.app., *.ws. · proxy, a group of one · control plane a group of one, replaced beside itself · runners 0 to max_runners spot hosts, sized by the control plane · Caddy TLS and the relay · spin control plane · PostgreSQL · VictoriaMetrics Quickwit, Alloy · Grafana · spin runner nftables per workspace · workspace VMs QEMU/KVM · 8080, dialled out · 443, and 80 for the challenge · 8080 · the relay: the runner dials 443 · nothing listens on a runner · volumes: an hour's minted credential · pull request · 443 · 80 · the network, the machines' groups, their documents and secrets. ([source](https://github.com/spin-stack/spin-terraform-aws/blob/358445c95280923876ef3e95658fe45e367462a1/docs/diagrams/installation))

## And

- **Ready for agents.** [Claude Code and Codex on every workspace's PATH](https://docs.spinbox.dev/reference/status.md#workspaces), API keys with scopes, JSON output.
- **Secrets the workspace never holds.** [A brokered rule](https://docs.spinbox.dev/reference/status.md#network) adds the team's secret on the way out, one for the person and one for the agent.
- **Moves while it runs.** [A running workspace goes to another host](https://docs.spinbox.dev/reference/status.md#workspaces) with its processes as they are.
- **Asleep when idle, awake as it was.** [A workspace nobody uses is suspended](https://docs.spinbox.dev/reference/status.md#workspaces), after asking first, and a start resumes it.
- **Reset in one command.** [A disk goes back to what it was created from](https://docs.spinbox.dev/reference/status.md#workspaces), its snapshots kept.
- **In your AWS account.** [One OpenTofu module installs it](https://docs.spinbox.dev/aws/overview.md). There is no hosted version, so your code and your data stay in your account.

## What's built, and what isn't

**96 features built**, each with a test or a command that proves it, 83 of them with an end-to-end test, 2 not built yet and 17 limits, on the [status page](https://docs.spinbox.dev/reference/status.md). An installation runs release `v20261027.01`; the reference is generated from spin `v20261114.01` (`51f7e0dea`).

## Straight answers

- **AWS only.** One OpenTofu module installs Spinbox in your account. There is no hosted version.
- **x86-64 only.** Runners are x86-64 machines with nested virtualization.
- **Linux guests only.** A workspace boots the kernel Spinbox provides.
- **No GPUs.** A preset names the class of runner its workspaces run on, and no class hands a workspace a GPU.
- **One region, one control plane.** An installation lives in one AWS region.

Each answer is a limit row of the [status page](https://docs.spinbox.dev/reference/status.md).
The rest are on [Limitations](https://docs.spinbox.dev/overview/limitations.md).

**Give every agent its own machine.** What it is for, what it costs to run, how to try it on one machine, and how to install it.

- [Evaluate Spinbox](https://docs.spinbox.dev/overview.md#evaluate-it)
- [Install on AWS](https://docs.spinbox.dev/aws/overview.md)
- [Quickstart](https://docs.spinbox.dev/quickstart.md)
- [For agents](https://docs.spinbox.dev/use/agents.md)
