Skip to content

CLI: observe

kairos observe launches a live terminal dashboard that runs a fly-by-wire session and displays real-time telemetry.

kairos observe \
--scenario <scenario-id> \
--artifact <artifact.json> \
--policy <policy.json> \
[options]
FlagDescription
--scenarioScenario ID to simulate
--artifactPath to calibration artifact JSON
--policyPath to deployment policy JSON
FlagDefaultDescription
--manifestEmbeddedPath to scenario manifest (uses embedded scenarios if omitted)
--eventsNonePath to EDMS event script JSON
--license~/.kairos/license.keyPath to license file
--seedFrom scenarioSeed override
--tick-rate200Simulation tick interval in milliseconds (50 to 2000)
--max-ticksUnlimitedMaximum number of ticks to step
--alertsOffEnable acoustic alerts on threshold breach
--alert-threshold0.8Criticality threshold for acoustic alerts
--markersautoChart marker style: braille, halfblock, or auto
--export-dirNoneDirectory for snapshot exports (enables S keybinding)
--sentinelOffEnable Sentinel assessment panel
--hitlOffActivate HITL operator mode
--coordinator-urlhttp://127.0.0.1:8787Coordinator service URL
--operator-key-idNoneOperator key ID. Required with --hitl
Terminal window
kairos observe \
--scenario axelrod-tournament \
--artifact artifact.json \
--policy policy.json
Terminal window
kairos observe \
--scenario axelrod-tournament \
--artifact artifact.json \
--policy policy.json \
--tick-rate 200 \
--alerts \
--alert-threshold 0.75 \
--sentinel \
--export-dir /tmp/snapshots

Multi-actor scenarios show one tab per actor. Switch actors with number keys (1 to 9) or Tab and Shift+Tab.

Real-time gauges display:

  • Severity: Magnitude of detected instability
  • Imminence: How soon the instability will manifest
  • Risk: Combined risk metric (inertia and optimized variants)
  • Criticality: Overall system criticality
  • Gamma Floor: The Gamma floor of the loaded deployment

The chart shows current telemetry, recent history, and projected risk movement when projection data is available.

--sentinel enables this panel. The panel displays a rule-based structured assessment:

  • Risk level: NOMINAL, ELEVATED, or CRITICAL
  • Steps-to-impact urgency
  • Path divergence analysis
  • Upcoming events list

This panel is an immutable scrolling log of engine events, decisions, and state transitions.

When --export-dir is set, press s or S to export the current dashboard state as a JSON snapshot.

KeyAction
q, Q, or Ctrl+CQuit
SpacePause or resume simulation
TabSelect next actor (not in HITL mode)
Shift+TabSelect previous actor (not in HITL mode)
1 to 9Select actor by index (not in HITL mode)
s or SExport snapshot (when --export-dir is set)

With --hitl, these keys act on the coordinator’s request list:

KeyAction
Up, DownSelect the previous or next request. The dashboard switches to that request’s actor.
r or RRefresh the request list from the coordinator
EnterShow or hide the details of the selected request
a or AApprove the selected request (asks for confirmation)
d or DDeny the selected request (asks for confirmation)
y or YConfirm the approval or denial
n, N, or EscCancel the confirmation