SwarmOps
View as Markdown

SwarmOps documentation#

The documents, grouped by what you want to do. The README shows the core features, each with an example.

Get started#

DocumentRead it to
InstallInstall swarmops and so with the installer, from a release archive or from source; upgrade or remove them.
Quick startMake a store, commit, land a change, meet a conflict and read the op log.
ConceptsLearn what a store, a revision, a change list, a ref, a land and an envelope are.

Use#

DocumentRead it to
Commit and landPublish a change: commits, compare-and-swap, landing, retries and conflicts.
History and undoRead history and diffs, and take an operation back.
Parallel agentsRun many agents on one repository, and see how that compares with agents in git worktrees.
Claude CodeGive Claude Code agents the store through MCP.
Git round tripImport a git repository, and export the work back for review and CI.
MCP integrationConnect any MCP client: registration, the stdio exchange, identity, every tool and its command, limits and failures.
CLI scriptingDrive SwarmOps from scripts: the envelope, exit codes, jq recipes, retries and idempotency keys.

Operate#

DocumentRead it to
OperationsFind the task page for running SwarmOps for a swarm.
Install and upgradeInstall, upgrade and remove SwarmOps on a host.
StoresCreate a store, place it on a supported filesystem, and set identities.
AgentsGive agents the store through MCP.
The daily loopMove work between the store and git every day.
Build and testBuild and test a change on disk before it lands.
One writer per trunkKeep one writer on the git side of each trunk.
Verify and repairCheck a store and act on what the check finds.
Backup and restoreBack a store up and bring it back.
Making roomSee what a store keeps and how to free space.
MonitoringKnow what to watch on a running store.
LimitsKnow the limits a store and a request enforce.
TroubleshootingGo from a symptom to its cause and the command that fixes it.
PilotFollow the runbook of the first real use, on this repository.
SupportFind where to ask a question or report a problem.
SecurityReport a vulnerability privately, and learn what counts as one.

Reference#

DocumentRead it to
CLI referenceLook up a command, its arguments and its output.
Error referenceLook up an E_* code, its exit code and what to do.
LimitsLook up a limit, its value, constant, commands and error.
Schema typesLook up a request, response or value type and its fields.
MCP tool referenceLook up an MCP tool, its input schema, annotations, an example call and its CLI command.
Versioning and stabilityKnow what stays compatible, and how a breaking change is made.
MSRV and platformsKnow the Rust version and the platforms SwarmOps supports.
ChangelogSee what changed, release by release.

Design#

DocumentRead it to
RoadmapSee where SwarmOps is going: working with GitHub in three topologies, each with its commands, design, acceptance criteria and milestone.
GoalsSee what SwarmOps sets out to do: each goal with its metric, target, measured value and milestone.
Clean-room developmentSee how third-party designs reach the code: requirements only, with provenance and checks.
ArchitectureUnderstand the design: crates, data model, the store on disk, the write and read paths, durability, concurrency, the contract.
Known limitationsSee what is still open, and which milestone takes each item.
PerformanceSee every measurement, and the decisions taken on them.
Metadata store comparisonSee how the native metadata store is measured against embedded databases.
SwarmOps and gitCompare SwarmOps with git, dimension by dimension.
RoadmapSee the milestones, built and planned.

The design documents are the authority: the umbrella spec and the storage, operations and review specs, in Korean, which the maintainers keep privately; Architecture is their public overview. How changes are made is in CONTRIBUTING.md, who makes them in MAINTAINERS.md, and how a release is cut in RELEASE.md.

Edit on GitHub

On this page