SwarmOps

Page kind: Guide

For agents and programs#

Describes stable at 24b451a5, ; latest release v0.11.0what changedLast changed View as Markdown

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:

Text
https://swarmops.cc/docs/guides/install     the page
https://swarmops.cc/docs/guides/install.md  its Markdown

The 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, the E_* 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.

On this page