Page kind: Guide
For agents and programs#
After this page a program or a coding agent can find every SwarmOps page, fetch it as Markdown, and know which parts of a command's answer it may rely on across releases.
Find the pages#
The index of the documentation is at https://swarmops.cc/llms.txt: it lists the pages, each linked to its Markdown.
Fetch a page as Markdown#
Every docs page is also served as Markdown, at its address plus .md:
https://swarmops.cc/docs/guides/install the page
https://swarmops.cc/docs/guides/install.md its MarkdownThe Markdown comes from the page's source file in the repository, under docs/.
What a program may rely on#
Every command prints one JSON envelope, and every MCP tool returns the same one (CLI scripting, The envelope). A program tests three things in a failed envelope:
error.code, theE_*code (error reference);- the exit code, the same as
error.exit; error.retryable, which says whether running it again can succeed.
It never tests error.message or the wording of hint: they are text for a person, and their
wording may change in any release. The versioning policy
says so, and lists what stays compatible. A new code, tool or optional argument is not a breaking
change, so a program allows for codes it does not know: it reads their exit and retryable.
Next#
Next: CLI scripting: exit codes, retry rules and idempotency keys, with runs to copy.
- MCP integration: the same envelope as tool results, for agents that speak MCP.
Scripting the CLI
After this page you can drive SwarmOps from a script or a CI job: read the exit code and the JSON envelope, retry what may be retried, and make a retry safe…
Code style
After this page you know how SwarmOps keeps its Rust style: what the gate enforces, what review reads for, how public types are built, and the few rules the…