Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

CLI reference

All cryochamber binaries and their commands. For cryo.toml and cryohub.toml fields, see Configuration.

Every binary accepts --version (print the version and exit) and --help.

Operator CLI (cryo)

Run these from inside a chamber directory unless noted otherwise.

CategoryCommandWhat it does
Lifecyclecryo init [--agent <cmd>]Initialize the directory: write cryo.toml, plan.md, NOTES.md, and README.md. Existing files are kept.
cryo start [--agent <cmd>]Start the daemon. Reads cryo.toml and writes overrides to timer.json.
cryo start --max-session-duration 3600Override the session timeout for this run.
cryo statusShow whether the daemon is running, the current session number, and the next wake time.
cryo restartRestart the running daemon. When it is installed as an OS service, restart the existing service without rewriting or removing it.
cryo cancelStop the daemon and remove the runtime state.
Logscryo watch [--all] [--viewpoint cryo|agent]Follow a log in real time. --all shows the log from the beginning. --viewpoint cryo (default) follows the structured event log; --viewpoint agent follows raw agent output (cryo-agent.log).
cryo logPrint the full session log.
Messagingcryo send "<message>" [--from <name>] [--subject <text>]Send a message to the agent's inbox; the daemon's inbox watcher wakes the agent. --from sets the sender (default human), --subject sets the subject (default: derived from the body).
cryo receiveRead messages the agent sent to the outbox.
Housekeepingcryo clean [--force]Remove runtime files such as logs, state, and messages.
cryo ps [--kill-all]List, or kill, every running cryo daemon on this machine. Run from anywhere.

Hub (cryohub)

CommandWhat it does
cryohub start [--host <ip>] [--port <n>]Install a service that survives reboot. --host and --port also update the saved hub config.
cryohub start --foregroundRun the hub in the current terminal instead of installing a service.
cryohub stopUninstall the global hub service.
cryohub restartRestart the installed global hub service without reinstalling it.
cryohub statusShow the global hub URL, chamber root, config path, log path, and service status. Also lists legacy cwd-scoped hub services from older versions.

Agent IPC (cryo-agent)

These commands are used by the spawned AI agent to communicate with the daemon over a Unix socket. They are not the operator interface.

CategoryCommandWhat it does
Hibernatingcryo-agent hibernate --summary "..."End the session; more work remains. Refused (non-zero exit) while unread inbox mail exists — the agent must receive, reply, and retry, so a session never ends with mail waiting for it. Also refused while no pending TODO declares the next wake. A successful call may block up to the reply window the agent requested with --linger <seconds> (omitted = 300, capped at 86400; 0 sleeps immediately).
cryo-agent hibernate --completeEnd the session; the plan is done. Additionally refused while a TODO is due. Never held open by the reply window.
cryo-agent hibernate --exit 1Report a failed session. The daemon marks consumed TODOs done and adds a fresh numbered retry TODO. Failure reports are never refused and never held open.
TODOscryo-agent todo add "text" --at <TIME>Schedule the next wake via a TODO. --at accepts a relative offset (+30 minutes), an ISO 8601 timestamp (2026-04-25T10:00; seconds and a space separator are tolerated), or a date only (2026-04-25, meaning midnight).
cryo-agent todo listList all TODO items.
cryo-agent todo done <id>Mark a TODO item as done.
cryo-agent todo remove <id>Remove a TODO item.
Messagingcryo-agent send "message"Write a message to the outbox for the human.
cryo-agent send --stdinRead the outbox message body from stdin exactly, including trailing newlines; use for multi-line or shell-sensitive text.
cryo-agent send --question "msg"Mark the message as a question awaiting a human reply.
cryo-agent receiveClaim the current inbox batch from the human.
cryo-agent dialog [--last N | --all | --since <iso>]Render the conversation transcript (default: last 20 messages). --last N shows the last N, --all shows every archived message, --since <iso> shows messages at or after an ISO 8601 time; the three are mutually exclusive. Also archives any pending inbox batch as a side effect, satisfying the same reply obligation as receive.
Timecryo-agent timePrint the current local time in ISO 8601 format.
cryo-agent time "+30 minutes"Compute a relative offset. Units: minutes, hours, days, weeks.
cryo-agent time "2026-04-25T10:00"Validate and normalize an ISO 8601 timestamp.

Zulip Sync (cryo-zulip)

CommandWhat it does
cryo-zulip init --config <zuliprc> --stream <name> [--topic <topic>] [--history]Validate credentials, resolve the stream, and write zulip-sync.json.
cryo-zulip sync [--interval N]Start the background sync daemon. Default interval comes from cryo.toml or falls back to 5 seconds.
cryo-zulip unsyncStop the sync daemon.
cryo-zulip pullOne-shot pull.
cryo-zulip pushOne-shot push.
cryo-zulip statusShow sync configuration.