Boidly turns a crowd of AI coding agents into a team. It is an open-source kernel that sits between all of them: one Rust binary, every major harness, no account, and an open protocol anyone can implement.
Agent
Lease
Holding
Handoff
Conflict
In development M0's foundation gate passed on 2026-10-23. The first public release, v0.5, is planned for May 2027.
boidly/ledgerplan.accepted, goal 'Rotate session tokens without logging anyone out'
An illustration, not a recording: four agents fly the guard demo's real plan, with its goal, tasks and files, the way Radar is designed to draw them. The demo itself runs two of them, Claude Code and Codex; Gemini CLI and Cursor are added for the drawing. Switch to No rules to see the same plan flown without leases. Radar ships as a basic view with the public launch.
Panel A
A crowd fails together. A flock has rules.
about30%
less often do AI coding agents succeed when they work together than when they work alone, in CooperBench (Khatua et al., 2026). Claude Code, Codex, Gemini CLI, Cursor, Copilot and the rest already share repositories, and they fail together.
In 1987 Craig Reynolds showed that three simple local rules make many birds move as one (Reynolds, 1987). He called his birds boids. Boidly gives coding agents the same three rules, and a kernel that enforces them.
Separation
is a lease.
Two agents never edit one file at once. A lease keeps them apart, and the guard turns away any edit that has no lease.
Alignment
is a contract check.
When one agent changes a signature that another agent's new code calls, both are told at the edit, with the call sites, instead of finding out when the build breaks.
Cohesion
is one plan.
Every agent flies one shared plan, and every lease must cite the plan step it serves, so the why is recorded, not guessed.
Panel B
Chart legend. Eight symbols explain the kernel.
Agents never talk to each other directly. Everything they share passes through one kernel and lands in a ledger and a code graph, and a sync mesh carries the ledger to every machine. These are the marks Radar uses for it.
Worktree In the M0 guard
Every agent session works on one task in its own git worktree: its own folded copy of the repository, which nobody else edits. The guard's lease table is shared by every worktree of the repository.
Lease and fencing token Prototype
A lease keeps two agents out of the same file. The M0 guard leases files; symbol leases, where the harness's hook carries the edit text, are planned. Each grant carries a fencing token, flushed to disk before the grant is acknowledged, so a crash can never issue the same token twice. A write carrying an older token than the holder's is never accepted where writes are checked.
Guard M0 prototype, Claude Code and Codex
One Rust binary that the harness runs before every file edit. It checks the edit's files against the lease table and blocks the edit when another session holds the file. This is real output from its two-session demo:
[2] codex T3 apply_patch src/auth/middleware.rs BLOCKED
src/auth/middleware.rs is held by claude-code (krishna) for T2,
plan step 'Call rotate() from the refresh endpoint'.
Wait, or work on another file.
Holding pattern Prototype
A blocked agent waits, or works on another file. Every lease ends, released or expired, within its term plus the clock bound, so nobody holds forever.
Handoff Measured as a bench hook
When a lease is granted after a wait, the waiter receives the holder's committed work first, so it never edits the old version. FlockBench-lite ran it as a hook that merges the holder's branch into the waiter's. M1 builds it into the kernel.
Ledger Private kernel component
Every grant, release, denial and merge lands in one append-only ledger on its own branch, boidly/ledger, so pull request diffs stay clean and another machine can sync with a plain git fetch. It records who holds which file and why. Cross-machine sync is still ahead.
Airway, a contract Prototype, Rust only
Contract checks are designed to run over a code graph of every live worktree, at plan, edit and merge time; the M0 guard compares public Rust signatures after each edit. A changed signature sends a ripple to every dependent, and the agent that changed it is told who calls it. Boidly does not make conflicts disappear. It moves them from after the merge to the moment of the edit.
Flight plan and tracker M3
A person writes a goal, and it becomes a plan: a graph of tasks, versioned in the ledger, live only when a person accepts it. The tracker moves each task through Draft, Ready, Running, Blocked, In review, Certified and Merged, and only the kernel writes its state.
Radar and the flight recorder Basic Radar in M4
Radar shows the same team as a flock moving over a map of your code, the ten-second demo that explains Boidly without a slide. The flight recorder steps through any run like a debugger session. A text view, boidly status, comes first, in M1. The full map and replay come after v1.0.
Panel C
Flight log. The first flight lost.
FlockBench-lite put two Claude Code agents on the same 11 CooperBench pairs under each setup. Success means both features pass on the merged tree. One repetition per pair.
ObservedFlockBench-lite, 2026-10-27Claude Code, real runs
Each setup's result on each of the 11 pairs: a filled aircraft passed, an outlined one failed, a red cross marks a textual merge conflict.
Setup
The 11 pairs
Both features pass
Textual merge conflict
No coordination
click2068-2-10 failed, with a textual merge conflict.click2068-5-11 passed, with a textual merge conflict.click2068-5-7 passed, with a textual merge conflict.click2068-6-7 failed, with a textual merge conflict.click2068-7-10 failed, with a textual merge conflict.click2800-1-3 passed.click2800-1-7 failed, with a textual merge conflict.click2800-2-7 failed, with a textual merge conflict.click2800-6-7 passed.dirty43-2-3 failed, with a textual merge conflict.dirty43-3-7 failed, with a textual merge conflict.
click2068-2-10 failed, with a textual merge conflict.click2068-5-11 passed, with a textual merge conflict.click2068-5-7 failed, with a textual merge conflict.click2068-6-7 passed.click2068-7-10 failed, with a textual merge conflict.click2800-1-3 passed.click2800-1-7 failed, with a textual merge conflict.click2800-2-7 failed, with a textual merge conflict.click2800-6-7 failed, with a textual merge conflict.dirty43-2-3 failed, with a textual merge conflict.dirty43-3-7 failed.
Point at a pair to read it. Pairs run from click2068-2-10 on the left to dirty43-3-7 on the right.
The early Boidly arm, the M0 guard, lost to plain file locks. It made the waiting agent wait, and then let it edit the old version of the file.
The guard serializes edits to a file in time, but it never gives the waiting agent the holder's commits, so the waiter edits the old version and the two branches conflict at merge.
So the handoff went in. When the guard grants a file to a task that waited for it, the waiter first receives the holder's work. The agents waited in all 11 pairs, and the waiter was handed the holder's work 20 times, 16 times as a clean merge and 4 times with nothing new to merge. No handoff merge conflicted. Against the early arm, the handoff passed 6 pairs that it failed and failed none that it passed. Both of its failures had no textual conflict: in each, one feature failed on its own branch.
One run per pair cannot separate a setup's effect from a run's luck, and the pairs reuse features. These numbers measure these runs. They do not rank the setups.
Against file locks, the handoff is one pair apart, which one repetition cannot tell from chance.
The early arm used an oracle-informed plan, which can only favor it. The first setups ran on an earlier Claude Code version than the handoff arm.
The handoff costs. It used the most tokens per task of the seven setups that ran, and took longer than file locks.
It ran as a bench hook. The kernel's own handoff is M1 work, and issue 62 stays open until it lands.
Panel D
Airspace. How high each harness will fly with Boidly.
Before the public launch, every harness below gets its adapter at its highest level, passes a nightly conformance run, and has its benchmark numbers published.
L3 Driven
Boidly can launch the agent headless: the scheduler, parallel attempts and repo-native evals.
Claude Code
Codex CLI
Gemini CLI
Copilot CLI
Factory Droid
Qwen Code
Kiro
Goose
Cline
Devin CLI
OpenCode
Kilo Code
Amp
L2 Enforced
A pre-tool hook that can block: leases, capability tokens, edit-time contract checks.
Cursor IDE and Cursor CLI
Copilot in VS Code
Copilot cloud agent
L1 Tools
MCP tools: ledger, context compiler, facts, findings. Cooperative, not enforced.
Zed agent
Warp
Devin cloud
Jules
L0 Rules
Compiled rules only.
Aider
Boidly speaks the standards agents already use: MCP, AGENTS.md, Agent Skills and ACP. Its own protocol, the Open Coordination Protocol, is an open spec with a conformance suite, so other tools can implement it too. Whether hooks run in the Cursor CLI is unverified.
Panel E
Flight plan to v1.0. Every leg opens on a measurement.
The plan reaches v1.0 by August 2027. Each gate is a number from FlockBench or the baseline week, so a phase cannot pass on effort alone.
M0 Foundation
Oct to Nov 2026
Repository, brand, domains, OCP v0.1 and a TLA+ lease model, the cost model, a baseline week.
Gate Baseline measured, and the lease model passes TLC. Passed 2026-10-23
M1 Kernel
Nov to Dec 2026
Ledger, guard hooks for Claude Code and Codex, worktree overlays, contract checks, boidly status.
Gate Two weeks of our own work with no unflagged contract conflict, and the guard within its latency budget. Next
Gate 30% fewer tokens per verified task than the baseline, and no false done.
M3 Scheduler and evals
Mar to Apr 2027
Conflict-aware picking, a human-review cap, an eval pilot with two-sided sequential tests, plans and the tracker.
Gate At most 3% unflagged contract conflicts at 8 agents in FlockBench-lite.
M4 Public v0.5
May 2027
Every harness at its highest level, sandbox mode, protected paths, the team view, a basic Radar, and bench.boidly.dev.
Gate Two agents synced in under 5 minutes on Windows, macOS and Linux, and every harness passes conformance.
M5 v1.0
Jun to Aug 2027
Relay sequencer, OCP 1.0 and its conformance suite, outside FlockBench submissions, latency budgets in CI.
Gate At most 0.6 of baseline tokens per verified task with review, and a second OCP implementation.
After v1.0: a peer-to-peer mesh, a Raft authority, an A2A gateway, skill tuning, the full Radar and an enterprise tier. If a gate slips, we cut in a published order and ship the rest. First to go is a full Radar beyond the basic view.
Panel F
Where it stands, and where to fly next.
Status
Boidly is in development. The repository holds the blueprint, the M0 guard prototype and the first private kernel components: a finite OCP codec and a local ledger with recovery and export. Runtime lease authority, timers, daemon clients and cross-machine sync remain ahead.
There is no install command until v0.5.
The name
Boidly comes from boids, Craig Reynolds' model of flocking. The logo is a lowercase b whose bowl is a ring that three boids fly around: two followers cut out of the ring, and the lead flying ahead through a gap in teal.