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.
Pre-releasev0.13.02026-11-23Linux x86_64 and aarch64macOS aarch64MIT
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 | bashswarmops and so, its short name~/.local/binSHA256SUMS.deb and .rpm packagesOther install methodsThe installer as text
On stable: f71a8a4c2026-12-04124 commits since v0.13.028 unreleased changes
01First commands
Ids cut to eight hex digits, meta to {…}; no line left out.
swarmops --version
swarmops init /tmp/dev-guide/acme --name acmeswarmops 0.13.0
{ "ok": true, "op": "repo_init", "api": 1, "result": { "repo_id": "a9f02ba0…", "name": "acme", "store_version": 3, "changesets": 0, "refs": 0}, "meta": { …}}claude mcp add swarmops -e SWARMOPS_AGENT=agent/worker-1 -- swarmops mcp --repo /tmp/dev-guide/acmeMCP integration has the rest.
02See it
Eight agent processes, all at once:
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 namelanded 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)
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
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.
.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.
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.
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.
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.
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.
so op undo <op> moves every ref that operation moved back, by compare-and-swap.
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.
04Goals and measurements
Target10 to 50 processes; no E_BUSY (retryable, after the 10 s lock timeout) and no lost commit
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
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
TargetAt 50 processes: ≥ 20 lands/s, p99 < 500 ms, retries < 5 %, nothing lost
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
TargetCodes, exit codes, the envelope and the schema change only as the versioning policy allows; every code pinned by a golden envelope
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)
Measuredx86_64 Linux tested; aarch64 Linux smoke-tested under QEMU
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
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
05Fit
/mnt/.