1
Warm start a computer from an OCI image
Start a detached Ubuntu computer with a workload that stays alive, then
confirm it reaches
running:2
Mutate live filesystem and process state
Use Verify that both the file and the live process exist:
vers exec to write a file and launch a background process inside the
computer. Pass --keep-background so background children continue running
after vers exec exits:3
Capture a full-state checkpoint and branch in parallel
Capture CPU, memory, device, process, and disk state into a portable
checkpoint:Fan out parallel branches via
The standalone CLI does not include a Programmatic callers that want durable, retry-safe admission can call
Confirm that a branched computer resumes with both
Fan out parallel branches via POST /api/v2/branches
The standalone CLI does not include a vers branch subcommand; to fan out
multiple parallel computers from one checkpoint (or directly from a running
computer) in a single call, call POST /api/v2/branches:POST /api/v2/branches returns 201 Created with the newly started computers:You can also branch directly from a running computer without a separate
checkpoint step by setting
"source": { "type": "computer", "computer_id": "<uuid>" }.Restore a single branch with durable idempotency
For a single branch from the CLI, usevers restore:POST /api/v2/computers directly with a UUID Idempotency-Key header. Vers
answers 202 Accepted with a durable Operation you can poll via
GET /api/v2/operations/{operation_id} (or follow with
vers operation wait <operation_id>):/tmp/state.txt and the
running heartbeat process intact — completely isolated from the original and
other branches:4
Sleep idle computers and wake on demand
When a computer is idle, put it to sleep to drop compute billing to Wake the exact same computer whenever you need it again:Commands that need a running computer (
$0
(only storage applies) while preserving its live memory, processes, and disk:vers exec, vers cat, vers write,
vers logs, vers workload-logs, and vers ssh-key) also wake a sleeping
computer automatically unless you pass --no-wake.5
Clean up
Delete the computers you created, then remove the checkpoint once no computers
depend on it:
Need to branch an entire multi-service stack (like an app plus seeded Postgres)?
See the Multi-VM project networks guide for private
<service>.internal DNS and whole-stack restores.Next steps
Python & TypeScript cookbook
Copy reusable
/api/v2 helpers for branching, exec, and streaming events.Multi-VM project networks
Put up to 253 VMs on a private network and branch the full stack together.