Journal 11 min

Closing the agent factory chapter

What I learned in fourteen months spent on the same tool, and what I want to automate now.

Agent Factory has been public since November 24, 2026. It is the last version of a tool I started in September 2025, and I am stopping there on this subject. Here I tell what the tool does, what I learned by using it, and what I want to automate now.

  1. Claude AutopilotA list of tasks, done one by one, with the tests run after each.
  2. Claude Plan ExecuteA plan written then reviewed by another Claude before the code starts.
  3. A private versionThe same thing for a single product, inside an organisation.
  4. Agent FactoryAny repository, tests in the browser, screenshots and videos.

The first version already worked

In September 2025 I wrote a script that I called Claude Autopilot. I gave it the list of tasks of a project and it asked Claude Code to do them, one by one, without me in front of the screen. After each task, the script ran the tests itself. If the tests did not pass, Claude Code had to fix things before moving to the next task, and after three failures everything stopped so that I could come and look. A second script ran next to it to watch what the agent was doing and cut everything if there was a problem.

The first commit dates from the night of September 1 to 2, 2025. That version already did the main thing. The agent moved forward alone, and it was not the one deciding whether a task was finished.

What I improved since

Since then I have not changed the idea, I have improved the tool.

In March 2026 it became Claude Plan Execute. The main difference is that before coding, the agent writes a plan. Another Claude reviews that plan, and the code only starts if the plan is accepted. This is the tool that runs this blog.

Then I made a version for one specific product, inside an organisation. That one I cannot show. Agent Factory is the same thing, made usable on any repository. Three points changed the most.

The tests used to judge the work are now written before the code, by another agent, and the one that codes can no longer modify them. These tests do not look at the code. They open the application in a browser, click where a user would click, and check what shows up.

The pull request arrives with what they saw. It contains screenshots taken before and after the change, and a video of the journey, filmed on the old version then on the new one. With Autopilot, all I had at the end was tests that passed.

And the cockpit, the interface where you see what each agent is doing, now follows several projects at once and shows the agents’ logs live. It is from there that you validate a spec, answer an agent or start the merge.

The cockpit during the demonstration that ships with the repository. It shows an issue with its frozen tests, then a pull request with its tests red then green and its videos. The projects and the people are fictional.

Part of these improvements comes from discussions with engineers at Vercel. The rest comes from the models and the harnesses themselves, which changed a lot in fourteen months.

The pull request no longer means the same thing

The pull request was invented so that one person could read another person’s code before it was merged. In Agent Factory, one agent writes the tests, another writes the code and a third reviews. When the pull request opens, that work is already done. So I think we can do without it more and more, and that this historical mechanism no longer makes as much sense.

The measurements point the same way. Two researchers at Harvard, Fiona Chen and James Stratton, studied 655 firms and more than 720,000 people. After coding agents are adopted, the time between the review request and the merge goes up by 56%, and code waits 60% longer before a reviewer picks it up. 79% of those firms have adopted AI review tools, yet humans still write almost all of the reviews. The authors conclude that review has become the bottleneck.

You can watch the queue fill up.

When fourteen changes arrive every day and eight are reviewed, one hundred and twenty are waiting after twenty days.

Each square is a change that is waiting. This is a subtraction and not a measurement. It shows what piles up as soon as you produce faster than you review.

On 23 November 2026 Anthropic released Claude Ship, which goes after this bottleneck. One agent reviews the pull request, another fixes what breaks in CI and answers the comments, and a third approves it when the policy written by the team allows it. Anthropic published the figures of the team that builds Claude Code, and they are good.

On the Claude Code teamBeforeAfter
Pull requests merged, June to September 2026more than double
Share of them that had to be reverteddown by more than 40%
Accepted after a single round of review65%78%
Five rounds of review or more8.9%1.5%
Reviews per pull request, on average2.081.32

Figures published by Anthropic about its own repositories. Anthropic notes that Claude's review is only one part of its process.

For me it still does not change much, because the mechanism stays the same. Every change is still a branch, then a pull request that waits for its turn, gets reviewed, checked against the main branch and merged. Claude Ship moves that queue along faster, but the queue is still there, and what goes into it grows faster still. In the same article, Anthropic says its main repository went from about 2,500 changes a day in May to more than 30,000 in September. Ordinary changes still need one person to agree, the riskiest ones need two, and those people still read a diff.

I am not saying it is useless. A team that already has its repositories, its branch protection rules and audit obligations cannot change everything at once, and for that team it is the most realistic path. Reverting fewer changes while merging twice as many is a real result. Agent Factory itself still opens a pull request at the end. But I see it as a transition. As long as the unit of work is the pull request, we are speeding up the review of a text, when the useful question is whether the product does what we expected of it.

That is the reason I created musthold. The idea is to replace the review of the code with a proof that can be read without opening the code. You write what you expect in plain language, one requirement at a time. While the agent works, musthold deliberately damages the code in several ways and watches whether the tests notice. If a broken version passes every test, the agent is not allowed to stop. It has to strengthen its tests, and it never sees the broken code, so it cannot write a test made to measure. musthold also checks that each test verifies what its requirement says, and it points out what the request left vague.

At the end, I no longer have to read a diff or trust tests because they are green. I read a list of requirements, and for each one I know whether it is proven or not. That is what would allow a change to be merged without a person reviewing it. It is only a draft, and the philosophy behind it is not finished yet.

What coordination costs

I have worked in a team with the classic method, where you write a spec, code, get it reviewed, merge and sort out the conflicts. I have also worked alone with agents, on the same kind of project. Alone, I shipped faster.

This is not about the people. The developers I worked with are very competent, and I am no more competent than they are. The difference comes from the organisation. A good part of a team’s time goes into agreeing with each other, in meetings, in debates and in git conflicts. These practices were designed so that several people could write the same code without getting in each other’s way. When agents do the writing, their cost stays whole while part of what they protected is gone. Alone, I had nobody to synchronise with, and I could question these practices without waiting for an agreement, while still having good code written.

In a teamAlone with agents
Meetingsregularnone
Git conflictsto sort out between peoplenone
Debatesbefore decidingnone

I take no pleasure in this. I simply think that with agents, the number of developers is no longer what moves a project forward, and that coordination can cost more than it brings.

Very close tools are arriving

Tools that do the same thing are starting to come out. Datadog, for example, is opening Datadog Studio in early access. According to its page, it is a workspace that runs locally and brings agents, pull requests and bugs together in one place, around a “build, ship, validate” loop. It plugs into Claude Code, Codex, OpenCode and Pi.

On my side, everything is now public under the AGPL license, Autopilot and Plan Execute included. You can use the code, fork it and modify it, but a modified version that you distribute has to stay open too.

What I want to automate now

I start from a request and I end, without watching the agents, with an application I can see working on screen. For me, that is a solved problem. So I am closing this chapter.

If agents write, review and test the code, the verification left to a person has to happen higher up, at the level of the real experience of the user, at least for products used by humans. That is the part I want to automate.

Today you get that feedback with an early access. You put the product in front of real people and you watch what happens. What you gain from it is known and has numbers.

1/3of the ideas tested at Microsoft improve what they were meant to improve. A third change nothing and a third make it worse.
85%of usability problems are met by five people, when each of them meets 31%.
50 msare enough to judge whether a page is pleasing, and that judgment holds when you look at it longer.

The first number comes from the experimentation team at Microsoft. It says that the people who build a product are wrong two times out of three about what will work, and that it takes feedback from use to find out. The second comes from Jakob Nielsen, who adds that it holds for people who use the product in comparable ways. Have one more person try the product and look at what they bring that is new.

With five people who each meet 31% of the problems, about 85% of them are met.

Each person runs into about 31% of the problems at random, so the result changes from one draw to the next. On average, the formula of Nielsen and Landauer gives 84% of the problems known after five people, which Nielsen rounds to 85%.

That feedback pays. Nielsen reports that when about 10% of a project’s budget goes to these trials, the targeted indicators improve by 83% on average. And going without it costs. Pendo estimates, on its own customers’ products, that 80% of features are rarely or never used. In an analysis of 101 accounts of failed startups, the first cause cited, in 42% of cases, is the lack of a need for the product.

None of this is about bugs. Part of what you learn comes down to an impression, and an impression forms very fast. In a 2006 study, pages shown for 50 milliseconds already got a rating, and that rating agreed with the one given after a longer look. Try it.

This test shows three screens for 50 milliseconds each and asks you to rate them, then to rate them again with no time limit. It needs JavaScript.

Three wordless mock-ups, shown for about 50 ms each depending on your screen. Your ratings stay in your browser.

An end-to-end test sees none of this. It is written in advance, it always goes through the same steps and it checks expected results. I want something else. I want to put agents in front of the product the way you would put people there, with unpredictable behaviour, to get feedback on what cannot be tested deterministically, like an impression or a matter of taste. The goal is not to find bugs. The goal is to stop waiting for the first users to learn what they would have taught us.

Research is moving in that direction. A team led at Stanford built agents from interviews and surveys with 1,052 people. Those agents recover 72.8% of the answers of the person they imitate, while the person, asked again two weeks later, only recovers 79.5% of them. There are limits left. In another study, models that walk through an interface complete more tasks than humans do and spot fewer places where people go wrong. They are still too efficient to look like someone discovering a product.

What I am not sure about

With musthold I look for reproducibility, out of scientific rigour. I may still be holding on too tightly to determinism, while the models keep getting more intelligent. Reproducibility is not always critical on the subjects we work on, and the budget may be better spent elsewhere, on these real usage tests.

This is the direction I have been taking for more than a year. I will say more soon.