SwarmOps

Page kind: Start

SwarmOps documentation#

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

SwarmOps is version control designed for large pools of coding agents: their processes commit into one store at once, every command answers in one JSON envelope, and the work goes back to git.

It is measured today at 50 agents landing on one host: 25.0 lands/s, nothing lost (perf.md, "D2-8 gated runs — 2026-11-09").

Start here#

  • Install it: Install SwarmOps on Linux: one command, a package, or a build from source.
  • Make a first commit: Quick start: a store, a commit, a land and an undo.
  • Run a swarm: Parallel agents: many agents on one repository, beside git worktrees.
  • Bring a git repository in: Git round trip: import, land, and export back for CI.
  • Look something up: CLI reference: every command, its arguments, its output and its errors.
  • Keep a store healthy: Verify and repair: check a store, read what it finds, repair it.

How these pages are organised#

Start pages (Install first) take you from nothing to a store with work in it. Guides (Commit and land first) walk through one task with runs you can repeat. The concept page (Concepts) defines each noun once, from the store to the workspace. Reference pages (CLI reference first) are generated from the code: commands, errors, limits, types and tools. Operate pages (Operating SwarmOps first) are for whoever runs SwarmOps for a swarm on one host. Design pages (Goals first) say what SwarmOps sets out to do, what is measured and what is still open.

What SwarmOps does not do#

Goals, Non-goals lists what SwarmOps does not set out to be: among them a general-purpose replacement of git, a cluster, and writes without a lock. Known limitations lists what is still open, and which milestone takes each item.

All pages#

Start#

PageRead it to
InstallInstall swarmops and so with the installer, a package, 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, an envelope and a workspace are.

Guides#

PageRead it to
Commit and landPublish a change: commits, compare-and-swap, landing, retries and conflicts.
Parallel agentsRun many agents on one repository, and see how that compares with agents in git worktrees.
History and undoRead history and diffs, and take an operation back.
Git round tripImport a git repository, and export the work back for review and CI.
GitHub as a remoteClone, fetch, push and sync with GitHub; pull requests, tokens in CI, commit authors, a sync that stops.
A store as a remoteClone, fetch, push and sync another store that swarmops serve serves; what crosses between stores and what stays.
Claude CodeGive Claude Code agents the store through MCP.

Develop#

PageRead it to
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.
For agents and programsFind the pages as Markdown, and know what a program may rely on.
Code styleHow the Google Rust style guide is kept here: what the gate enforces, what review reads for, the recorded deviations.

Operate#

PageRead it to
OperationsFind the task page for running SwarmOps for a swarm.
StoresCreate a store, place it on a supported filesystem, and set identities.
Install and upgradeInstall, upgrade and remove SwarmOps on a host.
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.
MonitoringKnow what to watch on a running store.
LimitsKnow the limits a store and a request enforce.
Making roomSee what a store keeps and how to free space.
Backup and restoreBack a store up and bring it back.
Verify and repairCheck a store and act on what the check finds.
Serve over sshLet people and CI clone, fetch and push a store with stock git over ssh.
Serve over HTTPServe the same store over HTTPS, through a web server.
Where serve differs from gitSee each place where swarmops serve answers stock git differently from git's server.
TroubleshootingGo from a symptom to its cause and the command that fixes it.

Reference#

PageRead 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.
Coming from gitLook up a git command, what to type instead and the hint a refusal carries.

Project#

PageRead it to
GoalsSee what SwarmOps sets out to do: each goal with its metric, target, measured value and milestone.
RoadmapSee where SwarmOps is going: the milestones, built and planned, and working with GitHub in three topologies.
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.
PilotFollow the runbook of the first real use, on this repository.
ChangelogSee what changed, release by release.
Versioning and stabilityKnow what stays compatible, and how a breaking change is made.
MSRV and platformsKnow the Rust version and the platforms SwarmOps supports.
Clean-room developmentSee how third-party designs reach the code: requirements only, with provenance and checks.
SwarmOps and gitCompare SwarmOps with git, dimension by dimension.
Metadata store comparisonSee how the native metadata store is measured against embedded databases.
SupportFind where to ask a question or report a problem.
SecurityReport a vulnerability privately, and learn what counts as one.

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.

On this page