Runtime Lifecycle
Last updated 2026-02-07
Rooaak starts and manages per-agent runtime instances (Fly Machines).
Controls
POST /v1/agents/:id/start: ensure runtime runningPOST /v1/agents/:id/stop: stop runtime (status becomessleeping)POST /v1/agents/:id/reload: markpending_config=true(hot reload path)POST /v1/agents/:id/restart: destroy/recreate runtime and mark config applied
Runtime control loop
- Runtime polls config (
GET /runtime/config) - Runtime applies config
- Runtime acknowledges (
POST /runtime/config)
Operational note
reload does not force VM restart. restart does.