SwarmOps
Search/v0.13.0

Pre-releasev0.13.02026-11-23Linux x86_64 and aarch64macOS aarch64MIT

Version control for swarms of coding agents

Agents commit into one store at once, a queue lands only what passed its checks, and work reaches GitHub or your own server. 50 agents: 25.0 lands/s, none lost (perf).

curl -fsSL https://get.swarmops.cc/install.sh | bash
  • Installs swarmops and so, its short name
  • Into ~/.local/bin
  • Checked against the release's SHA256SUMS
  • Linux x86_64 (tested) and aarch64 (smoke-tested under emulation), glibc 2.34 or newer; macOS aarch64 (Apple silicon); no Windows build (goal G8, roadmap)
  • Run it again to update

.deb and .rpm packagesOther install methodsThe installer as text

On stable: f71a8a4c2026-12-04124 commits since v0.13.028 unreleased changes

01First commands

A store in two commands

Ids cut to eight hex digits, meta to {…}; no line left out.

ShellOne click selects it
swarmops --version
swarmops init /tmp/dev-guide/acme --name acme
Output
swarmops 0.13.0
{"ok":true,"op":"repo_init","api":1,"result":{"repo_id":"a9f02ba0…","name":"acme","store_version":3,"changesets":0,"refs":0},"meta":{…}}

Give the store to an agent

ShellOne click selects it
claude mcp add swarmops -e SWARMOPS_AGENT=agent/worker-1 -- swarmops mcp --repo /tmp/dev-guide/acme

MCP integration has the rest.

02See it

Many agents commit into one store at once

Eight agent processes, all at once:

ShellOne click selects it
work() {  # one agent: commit a note, then land it on main
  local me=agent/worker-$1 cs
  printf '[{"path": "notes/%s.txt", "op": "put", "content": {"inline": "from worker %s\\n"}}]' $1 $1 > note-$1.json
  cs=$(so --as $me --human commit -m "note $1" --changes note-$1.json | sed -n 's/^changeset: //p')
  so --as $me --human land "$cs"
}
printf '[{"path": "README.md", "op": "put", "content": {"inline": "# acme\\n"}}]' > first.json
so --as agent/worker-0 --human commit -m "first" --changes first.json --advance main >/dev/null
for i in 1 2 3 4 5 6 7 8; do work $i > land-$i.txt & done; wait
cat land-*.txt
so --human ls main:notes | grep name
Output
landed b661f17c… on main (onto 3d63f551…, attempt 1, relocated)
landed 662c74ed… on main (onto b661f17c…, attempt 1, relocated)
landed e616ec6c… on main (onto dc448545…, attempt 1)
landed 3d63f551… on main (onto 55eeb7ed…, attempt 1, relocated)
landed 67506989… on main (onto e616ec6c…, attempt 1, relocated)
landed 55eeb7ed… on main (onto 2db19b84…, attempt 1, relocated)
landed 7a254784… on main (onto 662c74ed…, attempt 1, relocated)
landed 2db19b84… on main (onto 67506989…, attempt 1, relocated)
Show 8 more lines
entries[0].name: 1.txt
entries[1].name: 2.txt
entries[2].name: 3.txt
entries[3].name: 4.txt
entries[4].name: 5.txt
entries[5].name: 6.txt
entries[6].name: 7.txt
entries[7].name: 8.txt

All eight landed, on the first attempt. relocated: main moved under the land, which put the change on the new head itself. Parallel agents compares this with git worktrees.

03What it does

Core features

A landing queue

so queue enqueue takes a change in; the queue checks waiting changes in parallel and lands each one that passed, in order. A red one is found by bisection and leaves with its reason.

Commit and land

One check file

.swarmops/checks.toml names a repository's checks once. so check run runs a stage of them the same way for a person, an agent or CI, and a red test comes back as a finding.

Parallel agents

Land and workspaces

land merges a change three-way onto a ref's head without a checkout; so ws create writes a tree to disk, and ws land --check publishes the tree the check ran on.

Build and test a change

Answers for programs and people

A program reading so gets one JSON envelope with a stable E_* code; a person at a terminal gets short text. swarmops mcp serves every operation to an agent as an MCP tool.

Scripting the CLI

Your own server

swarmops serve serves stores to git and to so over ssh and HTTPS, under an owner as a forge names them: host:acme/app.git. Packages, an image and a Helm chart, with encrypted backups.

Serve over ssh

GitHub as a remote

push moves a branch by compare-and-swap, never by force; sync lands the store's unpublished changes on the remote's head. A release starts from a pushed release/X.Y.Z branch.

GitHub as a remote

Op log and undo

so op undo <op> moves every ref that operation moved back, by compare-and-swap.

History and undo

Crash safety and verify

Full fsync, no fast mode. verify --deep re-hashes every object and checks the derived values against them; git export writes the history back to git, byte for byte.

Verify and repair

04Goals and measurements

Goals, as last measured

G1Many writers, one store

Target10 to 50 processes; no E_BUSY (retryable, after the 10 s lock timeout) and no lost commit

  • 1 met
  • 1 not measured

Measured50 × 1,000 commits: E_BUSY 0, none lost, 74.0 commits/s, meta.elapsed_ms p99 765 ms; 32 × 1,000: E_BUSY 0, 73.2 commits/s, p99 509 ms (met) (perf.md, "v0.6.0 — 2026-10-28"); with batched commits (M18 D2) 50 × 1,000 not measured yet: the gated run found no quiet window (perf.md, "D2-8")Ledgerv0.6.0 — 2026-10-28 · D2-8

G2Cheap commits

Target≤ 5 ms + 0.3 ms per changed file

  • 1 met

MeasuredWithout syncs, p50 / p99: 1.26 / 1.77 ms for 1 file, 2.80 / 3.44 ms for 10, 10.36 / 13.50 ms for 100, against 5.3, 8.0 and 35 ms (met). With full fsync: 24.3 / 36.9, 26.3 / 38.4 and 74.7 / 86.1 ms (perf.md, "v0.6.0 — 2026-10-28")Ledgerv0.6.0 — 2026-10-28

G4Landing under a swarm's load

TargetAt 50 processes: ≥ 20 lands/s, p99 < 500 ms, retries < 5 %, nothing lost

  • 6 met
  • 1 missed
  • 1 not measured

MeasuredWith one lock pass per land (M16), at 50 processes, open loop, two runs: 25.0 lands/s (met), nothing lost (met), retries 0 % (met), p99 441.7 ms at a start load of 10.33 (met) and 1,483.5 ms at 20.88 (missed): met in one of two runs, not robustly; at 32: p99 217.9 ms and 3,087.3 ms, retries 0 % (perf.md, "M16 — 2026-11-07"; v0.7.0: p99 2.5–2.7 s at 50); with batched lands (M18 D2), at 50 processes, open loop, two runs started under the measurement gate: p99 157.320 ms and 154.458 ms (met), 25.0 lands/s, retries 0 %, nothing lost (met in both); at 32 and the rest of D2-8's steps not measured yet, queued for a night window (perf.md, "D2-8 gated runs — 2026-11-09"). An open loop lands what it offers, 25 lands/s at 50 processes, so its 25.0 shows no ceiling; back to back (closed loop, 50 processes, v0.5.0's code) 23.8 and 26.3 lands/s (perf.md, "v0.5.0 — 2026-10-27")LedgerM16 — 2026-11-07 · D2-8 gated runs — 2026-11-09 · v0.5.0 — 2026-10-27

G6An agent contract

TargetCodes, exit codes, the envelope and the schema change only as the versioning policy allows; every code pinned by a golden envelope

  • 1 met

Measured58 codes, 57 pinned by golden envelopes; JSON Schema for 246 types (architecture.md, "The contract"); MCP server since M1.5, 56 tools (41 store and 15 workspace operations) (met)

G8Portability

TargetmacOS and Windows beside Linux

No verdict in the ledger

Measuredx86_64 Linux tested; aarch64 Linux smoke-tested under QEMU

G22A push checked in bounded memory

TargetAt most 256 MiB at 2 GiB; the 2 GiB push at most 2.2× the 1 GiB one; a push that fails a check is refused before any ref moves, and a protocol v2 fetch by id of its objects gets git's not-found answer

  • 1 met
  • 1 missed

Measured1,194.6 MiB at 1 GiB and 3,228.8 MiB at 2 GiB (missed); 46.677 s and 82.230 s, 1.76× (met); the push over git's input bound refused with no ref moved (perf.md, "M17 baselines"); a refused push's objects not found by a protocol v2 fetch (serve_push tests in just check)LedgerM17 baselines

All goalsPerformance ledger

05Fit

When to use it

Use it when

  • Many agents on one host commit into one repository at once and need JSON answers and a land that retries by itself.
  • You keep git for review, CI and deployment; the store imports from and exports to git.

Do not use it when

  • You need git parity: user hooks, signing, submodules or LFS.
  • You need Windows or an Intel Mac.
  • Several hosts write into one store: one host writes at a time today.
  • The store would sit on NFS, SMB, FUSE or under /mnt/.

What it costs

  • Throughput: writers take turns under one lock with full fsync.
  • Disk: one file per object, no packs.

Non-goalsKnown limitationsSwarmOps and git

06Start

Start here

The quick start: a store, a commit, a land, a conflict and the op log.

Quick start