12345678910111213141516171819202122232425262728293031Client, SDK, CLI, or dashboard | | HTTP v +---------------+----------------+ | Control plane | | | | API and authentication | | Sandbox lifecycle and routing | | Worker coordination | +---------------+----------------+ | | worker RPC v +---------------+----------------+ | Data plane worker | | | | QEMU/KVM VM lifecycle | | Networking and storage | | Checkpoint and hibernation | +---------------+----------------+ | | virtio serial / vsock v +---------------+----------------+ | Sandbox VM | | | | Full Linux filesystem | | OpenComputer in-VM agent | | User commands and processes | +--------------------------------+
opensandbox-server. The historical
opensandbox name also appears in environment variables as the
OPENSANDBOX_* prefix.opensandbox-worker. A worker registers itself with
the control plane through Redis and advertises its capacity and RPC address.osb-agent. It receives command, file, terminal,
and process operations from the worker over a VM-local transport. User
workloads do not need direct access to the worker host.osb-agent, applies sandbox networking and environment
configuration, and reports the sandbox as running.123456789+--------------------------------------------------+ | One development VM | | | | opensandbox-server :8080 | | opensandbox-worker | | PostgreSQL + Redis | | QEMU/KVM sandbox VMs | | local rootfs images and sandbox disks | +--------------------------------------------------+
12345678910111213141516171819202122+----------------------+ | HTTPS load balancer | +----------+-----------+ | +----------v-----------+ | Control plane | | one or more replicas | +----+-------------+---+ | | +---------v--+ +--v-----------+ | PostgreSQL | | Redis | +------------+ +--------------+ | +---------v-------------------------+ | Worker pool | | KVM host | KVM host | KVM host | +------------------+----------------+ | +--------v---------+ | Object storage | | durable VM data | +------------------+
| Data | Recommended storage |
| Organizations, API keys, sandbox records | PostgreSQL |
| Worker registry and coordination | Redis |
| Checkpoints and hibernation archives | S3-compatible object storage |
| Golden rootfs images | Worker image or durable object storage |
| Active sandbox disks | Fast local NVMe or provisioned block storage |