Eight months running an AI coding fleet: 9,305 merged PRs, one human
Seven model providers, four machines, one human. What actually slowed the fleet down was review and CI.
From April to November 2026 a fleet of AI coding agents wrote the software behind Antigency, and I was the only human involved. Until May it was a personal experiment. After that it was a company.
The agents came from seven model providers and ran on four machines. Between them they merged 9,305 pull requests. April: 184. October: 3,630.
- pull requests merged, April to November
- 9,305
- model providers in the fleet
- 7
- merges on the busiest day
- 266
- human
- 1
Fig. 1
Merged pull requests per month, up 19.7× from April to October
Hover a month for its count.
- Review record
- Self-hosted CI
I assumed the hard part would be getting models to write decent code. By the autumn that was the least of my problems. In October the fleet was opening about 120 PRs a day. What it couldn’t do cheaply was get them merged. Two things kept getting in the way: proving each change had been checked by something other than the model that wrote it, and CI.
(I call the providers P1 to P7 throughout. Work wasn’t routed at random, so none of this ranks the models.)
The org chart
Me at the top. Under me, a long-running agent session I called the Consultant. It acted as my delegate, made binding rulings, and kept a decision log every other agent had to re-read. Under the Consultant, controllers. Each controller owned a slice of the work and handed it out to lanes, which were just terminal sessions running a developer, a reviewer, or a “briefer” that turned tickets into specs.
Everything merged through one scripted path, and that path only accepted review records from a short allowlist of accounts. No agent could approve its own work.
A few things I didn’t expect.
Checking dwarfed building. In the transcripts from one provider’s lanes, review lanes outnumbered developer lanes about 10 to 1.
The reviewers refused a lot, and I only found out how much later. In their own documents (about 1,600 PRs, mostly from October), roughly one verdict in five was a refusal, and about one PR in four was refused at least once before it merged. GitHub showed a fraction of that, because the review format had no field for “no”. Refusals went back to the developer agents as files, the code got fixed, and only the final approval was ever posted. When a refusal happened, new code followed 95% of the time, with a median of about an hour and a quarter to the next approval. The next post is about how badly that gap fooled me.
It never slept. The busiest day merged 266 PRs. Across October and November the median day merged 99, weekends ran at weekday pace (106 a day against 108), and 27.6% of merges landed between midnight and 6 a.m. UTC. Median time from opening a PR to its first review verdict: half an hour.
The bosses kept forgetting things. Every agent session has a finite context window, so “the Consultant” was really a series of Consultants, a new one every few days, each named by its start date. I ended up running handovers like failovers. The outgoing session writes a dated handoff file. The fleet freezes: finish what’s in flight, start nothing new. The incoming session is told in so many words to “trust GitHub and the dashboard over the document.” The handoff file is a cache. GitHub is the source of truth.
Four versions of the review gate
The rule never changed: code written by one provider’s model has to be approved by a model from a different provider. How I enforced it changed four times, each time because something broke.
Fig. 2
Same rule, four enforcement mechanisms
v1
May 8 – Jun 12
Adversarial review bot
Agents argued in rounds; the bot blocked merges until they agreed.
v2
Jun 12 – Jul 17
I merged by hand
Review was a convention. Fine at 550 a month.
v3
From Jul 17
Commit-bound record
A machine-readable approval tied to the exact commit.
v4
From Aug 22
Provider-neutral
Nine reviewer identities across seven providers.
Version 1, May 8 to June 12: an adversarial review bot. Agents reviewed each other in rounds and the bot blocked the merge until they converged. Sometimes they never did, and specs bounced from rejection to rejection. I capped the rounds, then pulled the gate out altogether.
Version 2, June 12 to July 17: I merged by hand. Adversarial rounds were a convention, not a check. Monthly merges went from about 230 to about 550 with no machine enforcing review at all. Fine at that volume. Hopeless at ten times it.
Version 3, from July 17, with every PR covered from September: a review record bound to a commit. Every PR has to carry a machine-readable comment like this:
REVIEW_RECORD: v1
COMMIT: <exact 40-character commit>
REVIEWER: <provider family>
AUTHOR: <provider family>
VERDICT: APPROVE | APPROVE_WITH_NITS
EVIDENCE: <one line>
The reviewer has to come from a different family than every model that touched the branch. A script reads the commit history and routes the review. Because the record names the exact commit, yesterday’s approval can’t be reused for today’s code.
Version 4, from August 22: provider-neutral. More providers could review. By November the gate knew nine reviewer identities across seven providers, and 7,520 merged PRs carry one of these records.
Show me the test going red
The most useful rule I added came out of one PR that carried three contradictory pieces of evidence for the same claim.
After that, any PR claiming a security, tenancy, cost, idempotency or error-handling guarantee had to say what code it had deleted to test the guarantee, and which tests went red when it did. Measured at the current commit, not three pushes ago. The reviewer doesn’t take the author’s word for any of it. It reruns the experiment.
My favourite example from the whole eight months: a reviewer checked out a PR, ran the tests (green), deleted the guard the PR said it was testing, and ran them again. Its verdict:
The code was actually fine. The proof was fiction. The PR got blocked anyway, and it should have been: a test suite that still passes with the protection ripped out tells you nothing. Nobody was lying, exactly. Models are relentlessly optimistic about their own work, so the evidence has to be something the reviewer can rerun.
In August, 13% of approval evidence lines cited a mutation or a test seen going red. By November it was 47%. It wasn’t a straight line: 51% in September, then down to 27% in October as volume nearly quintupled. “Your evidence doesn’t prove your claim” became a refusal reason of its own, about one refusal in ten.
Fig. 3
Share of approvals whose evidence cites a test seen going red
October dipped as volume nearly quintupled.
CI went from a bill to a physics problem
Going from about 550 merges a month to about 3,600 turned CI from a quality gate into something I had to ration. The problems showed up in order.
Cost first. An audit on September 28 found a full PR run burned 90 to 102 hosted job-minutes, and every merge to main kicked off a second full pipeline. I moved PR CI to self-hosted ARM64 machines on September 30 and moved everything else over in late October. The bill for October 9 to 31 was $1,003.72 for 217,496 hosted minutes, about $0.28 per merged PR. That’s a floor, because I didn’t capture October 1 to 8. November cost $0.
Then latency. Agents sit idle while CI runs, so every minute of CI gets multiplied by the number of lanes waiting on it. On the self-hosted boxes the unit-test shards went from 16 to 19 minutes down to a 4.9-minute median.
- hosted CI bill: Oct 9–31, then November
$1,003.72$0- unit-test shard, median, after self-hosting
16–19 min4.9 min- hosted CI per merged PR in October (a floor)
- ~$0.28
Then capacity. With the bill gone, a fixed pool of 16 runners hit the walls. Five-second test timeouts failed under shared load. A type-check needed a 16 GB heap. Sixteen parallel end-to-end jobs timed out hammering one shared test database. Long-lived runners left junk behind for the next job. By late November I was adding ephemeral runners and more hosts.
One rule survived all of it: agents can propose cutting CI scope, but only fixed rules can actually cut it. Twice the record shows a cut going too far. One let a PR merge with a failing migration check. In the other, whole-codebase guard tests had to be put back after the merge queue started ejecting PRs. What held was a set of pinned tests that forbid skipping certain checks. The agents can’t vote those away.
Did it work?
The strictest measure of an escaped defect is a merged, attested PR that later had to be reverted. That happened at most 3 times out of 7,520, about 0.04%. A looser measure, bug reports that cite an already-merged attested PR, comes out at 4.8%. Treat both as floors. This codebase almost always fixes forward instead of reverting, and 78% of bug reports don’t cite a PR at all.
The more convincing evidence is what the reviewers stopped before merge. In a random sample of 250 refusals from the reviewers’ own documents, 58% pointed at a concrete defect, like a logic bug or a data-integrity problem. Security refusals posted on PRs caught a database read missing its tenant filter, a privileged database client newly reachable from the browser bundle, and several holes that would have let a PR walk around the review gate itself.
I’m not going to rank providers on escaped defects. The confidence intervals overlap, and who reviewed what shifted every month.
If you’re about to build one
Bind every review to an exact commit. Agents rebase and force-push constantly. A review without a commit hash is a review of some version of the code, and you don’t know which.
Don’t let agents tell you who they are. In my setup the controller assigns the reviewer identity at dispatch; the model doesn’t get to self-report. Even that drifts. When I traced session logs, provider labels held up, but on one host the lanes labelled as a provider’s large model had run its smaller model in all 385 sessions. Log what the harness actually ran.
Give “no” somewhere to live. If your review format only accepts approvals, your audit trail will tell you your reviewers almost never refuse. On the same PRs in October, mine showed about 8% refusals. The reviewers had written about 22%.
Make evidence rerunnable. A green test suite proves very little on its own. A mutation that turns it red proves something.
Keep nothing important in /tmp. My controller tooling lived there until a reboot wiped it. Anything that has to outlive a session, like authority, state or decisions, goes in versioned files.
Build the ownership register before you need it. Two lanes once got the same work dispatched twice. The Consultant had a lane-ownership register up within minutes and summed up the root cause in one line: “There was no lane-ownership registry.” With one or two coordinators nobody needed one. The third one caused the collision.
Plan for most of your capacity to go to checking. Ten review lanes per developer lane, in one provider’s record. That’s the work, not overhead.
Audit the fleet’s numbers the way you audit its code. The first research summary my agents wrote for this post was wrong. It reported more PRs than the repository could physically contain, since the shared issue and PR numbering never went that high. It also put one provider’s share of authored PRs at 88.8%, from an unrepresentative late-November sample; across August to November the real figure was 43.1%. An independent re-count from the raw GitHub data caught both, and every PR count here comes from that re-count. I’ll count that in the method’s favour. It caught its own author.
The fine print
One operator, one product, one repository, no control group. October’s jump coincided with self-hosted CI, more coordinators, more lanes and a new governance structure, all at once, so I can’t tell you which one mattered. I also didn’t track model API spend, which is almost certainly the biggest cost of the lot. Please don’t quote a cost-per-PR figure from this post without saying so.
What I can tell you is where the bottleneck went once code got cheap. It moved to proving the code had been checked, and to the machines doing the checking.
— Derek