The rookery CLI communicates with the rookeryd daemon over HTTP.
When api_key is set in ~/.config/rookery/config.toml, the CLI automatically attaches it to daemon requests. rookery auth generate prints a strong suggested key for the config file.
--daemon <url> Daemon address (default: http://127.0.0.1:3000)
--json Output as JSON (supported on most commands)
rookery start [profile] # start server (default profile if omitted)
rookery stop # stop server
rookery sleep # unload the model but remember the active profile
rookery wake # wake the sleeping profile
rookery swap <profile> # hot-swap to a different profile
rookery status # show server state, PID, uptime
rookery bench # run PP + gen speed benchmark
rookery profiles # list available profilesrookery status reports sleeping when auto-sleep or manual sleep has unloaded the backend. The next chat request also wakes the server automatically.
rookery gpu # VRAM, temp, utilization, power, processesrookery agent start <name> # start an agent
rookery agent stop <name> # stop an agent
rookery agent update <name> # stop, update, restart
rookery agent status # list agents with status
rookery agent describe <name> # detailed health, uptime, restarts, errorsrookery models search <query> # search HuggingFace for GGUF repos
rookery models quants <repo> # list quants with sizes and VRAM fit
rookery models recommend <repo> # VRAM-aware best quant recommendation
rookery models list # locally cached models
rookery models pull <repo> [--quant Q4_K_M] # download a model
rookery models hardware # show hardware profilerookery releases # upstream release status (llama.cpp, vLLM)
rookery releases --json # JSON output for scriptingrookery logs # last 50 log lines
rookery logs -n 100 # last 100 lines
rookery logs -f # follow mode (stream via SSE)rookery config # validate config, show resolved commandsrookery auth generate # print a strong rky-... API key
rookery completions <shell> # generate shell completions (bash, zsh, fish)Most commands support --json for machine-readable output:
rookery status --json | jq '.state'
rookery agent status --json | jq '.agents[0].uptime_secs'
rookery gpu --json | jq '.gpus[0].vram_used_mb'