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

Generated from flock --help (snapshot-tested in crates/flock-cli/tests/cli_help_snapshot.rs).

Top-level commands

CommandPurpose
runScheduler-led goal loop with plugin verifier
evolveTopology evolution from episode logs
remoteMultiplexer attach + governed goal run
multiplexerPTY server (server, ensure)
herdHerdR-shaped UX (server, status, tabs, attach, wait, …)
replayReplay episode JSON; --continue-run resumes checkpoint
swarm-demoMulti-pane scheduler-led demo
ipcLegacy JSON-line bridge (deprecated)
acpAgent Client Protocol stdio server
rah-demoDepth-2 RAH pane spawn demo
skillsList SKILL.md bundles
drift-checkVerification manifest guardrails
pluginlist, info, new, install
mcpMCP stdio JSON-RPC server
telemetryQuery ~/.config/flock/telemetry.db (sessions, transitions, vitals)
vitalsCirculation vitals from latest episode
genomelist, lineage from topology archive
dashboardRatatui control tower; --history for telemetry JSON

flock run

flock run --goal <GOAL> [--plugin gridworld] [--rlm] [--max-steps 8]
          [--audit <PATH>] [--json] [--mcp] [--model <URL_OR_NAME>]
          [--genome <ID>] [--seed-archive] [--archive .flock/topology_archive.json]

--genome or --seed-archive seeds topology/coordination from the evolve archive before the run. Episode logs include a genome_seed event.

--model mock uses the deterministic stub. HTTP URLs and named providers require building with --features llm-http. The model is used only on the plugin verify path or RLM loop — never in PressureScheduler wake decisions.

flock remote

flock remote --goal <GOAL> [--plugin gridworld] [--socket <PATH>]
             [--ssh user@host] [--stub] [--audit <PATH>]

Governance pipeline (with_governance) applies on the remote hot path. Audit JSONL optional via --audit.

flock telemetry

flock telemetry [--limit 20] [--db <PATH>]
flock dashboard --history [--limit 20]

Headless query of dashboard telemetry (sessions, agent transitions, vitals snapshots). No TTY required.

flock evolve

flock evolve [--episodes 10] [--workspace .flock/episodes] [--hook rust|seed-only]

Output includes gen0_fitness, final_fitness, and fitness_delta. See repository docs/demo/evolve-proof.md.

flock mcp

flock mcp

Stdio JSON-RPC: initialize, tools/list, tools/call. See MCP tools.

flock plugin install

flock plugin install --from <DIR>
flock plugin install --git <URL> [--name <NAME>]

Installed plugins register automatically via plugins.toml and build.rs — no registry.rs edit.

Help snapshots

UPDATE_SNAPSHOTS=1 cargo test -p flock-cli --test cli_help_snapshot