Skip to main content

Crate swarmy

Crate swarmy 

Source
Expand description

swarmy: mission control for Claude Code agents.

The library holds everything; the swarmy binary only parses the command line and calls cli::run.

Modules§

cli
Command-line interface.
core
The domain model: usage, prices, periods, limits, tool classes, harnesses. Pure functions, no I/O.
errors
The catalogue of failures a user sees (review L3): each has a stable code, so a message can be looked up, scripted against and tested, and callers can react to a kind of failure (the dashboard tells “the vault is busy” from “the vault is damaged”). Errors are made where the failure is found (vault, config, cli::setup, index, app) and travel inside anyhow::Error to the edges, which print swarmy: <message> [<code>] (code_of).