ENGINEERING THE AUTONOMOUS ENTERPRISE
The Software Factory Changes Shape
When agents write and test code while they work, the scarce resource is no longer typing. It is knowing what to build and being able to tell whether it is right.
For most of the history of software, the expensive part was writing the code. Planning, review, testing and release were all arranged around that fact. Teams estimated in the time it would take a person to write something, and processes were built to make sure that time was not wasted.
That assumption no longer holds. Agents now write a large share of the code in many engineering organizations, and they write it faster than any team can read it. This third article in the series is about what happens to the software factory when writing stops being the constraint.
Where the bottleneck moved
When code is cheap to produce, the work around it becomes the limit.
Someone still has to decide what should be built, in enough detail that an agent can build it. Someone still has to tell whether what came back is correct, safe and maintainable. And the systems that test, integrate and release the code still have to keep up with the volume arriving at them.
Most engineering organizations discover this in the same order. The first months bring a visible jump in output: more pull requests, more features started, more code merged. Then review queues grow, test suites slow down, and incidents start to trace back to changes that nobody fully understood when they were approved. Output went up. Throughput, measured as working software in production, went up much less.
Agents that test while they code
The most useful change is also the least visible one. An agent working well does not hand over code and wait to be told whether it works. It writes a test, writes the code, runs both, reads the failure and tries again, many times, before a person ever sees the result.
This only works if the agent has somewhere to run. It needs an environment where the build, the tests and the dependencies behave the way they do in the real pipeline, and it needs to get an answer in seconds rather than the better part of an hour. A test suite that a person tolerates because it runs twice a day becomes the governor on everything an agent does, because the agent runs it hundreds of times.
So the first investment in an agent-driven factory is rarely a better model. It is a faster, more reliable feedback loop: tests that are quick, deterministic and trusted. Flaky tests, once an annoyance, become a direct tax on every change, and teams that used to live with them stop being able to.
Senior engineers steer and verify
The role that changes most is the senior engineer.
Their time used to go into writing the hardest parts of the system and reviewing what others wrote. In an agent-driven factory, it goes into two things.
Steering. Turning a business need into a specification precise enough to build against: the behavior, the constraints, the edge cases, and what done looks like. This was always part of the job. It is now most of the job, because an agent will build exactly what was asked, quickly, including the parts that were asked for by accident.
Verifying. Deciding whether what came back is right. Not reading every line, which stops being possible at agent volume, but knowing which lines matter: the security boundary, the data migration, the change to how money is calculated. Good verification is a judgment about where to look, backed by tests that make the rest safe to trust.
This makes senior judgment more valuable, not less. It also raises a question most organizations have not answered yet: how junior engineers build that judgment when the work they used to learn on is now done by agents. The organizations that handle this well pair junior engineers with agents on real work and review the specification and the verification with them, not just the code.
Review designed for volume
Code review was designed around people producing changes at human speed. One person writes, another reads, and the reader catches what the writer missed.
At agent volume, that model breaks in one of two ways. Either review becomes the queue that everything waits in, or it becomes a rubber stamp that approves changes nobody has really examined. Both are common, and the second is the dangerous one.
Review that holds up at volume is layered. Automated checks catch what can be caught mechanically: style, known vulnerability patterns, test coverage of changed behavior, contract compatibility. Agents review other agents' changes against the specification and flag what does not match. People review what is left, which should be the changes that carry real risk, and they should be told why each one reached them.
The test of a review process is not how many changes it approves. It is whether the people approving changes could explain, a month later, why each risky one was safe.
Smaller changes, more often
Agents make large changes cheap to write. They do not make them cheap to understand, test or roll back.
The factories that work best push the other way: many small changes, each with a clear purpose, each released behind a flag or to a small share of traffic first. Small changes are easier to specify, easier to verify and easier to undo. They also produce the closed loop from the first article in this series, because each one leaves a record that connects what was intended, what was built, and what happened in production.
What to measure
The metrics most organizations reach for first are the ones that move first: lines of code, pull requests opened, share of code written by agents. They are easy to collect and say very little about whether the factory is working.
The measures that matter are the ones the industry already uses for delivery, applied honestly:
- Lead time from an agreed specification to working software in production.
- Change failure rate, and whether it rises as agent share rises.
- Time to restore service when a change goes wrong.
- Review time, and the share of changes that receive real human attention.
- How often a change is reworked because the specification was wrong, not the code.
The last one is the early warning. When agents build the wrong thing quickly, the problem is upstream of the code.
How to start
Rolling agents out to every engineer at once produces a spike in output and a backlog in review. The pattern that works is the same narrow-and-deep sequence as everywhere else in this series.
Pick one team with a codebase it knows well and a delivery record it can measure. Make its feedback loop fast and trustworthy before anything else. Agree how specifications are written, how changes are verified, and which changes need a person. Measure delivery before and after, in production terms. Then widen, carrying the practices with the tools rather than the tools alone.
What comes next
A factory that ships this way changes what a team looks like. The next article in the series looks at teams in which people and agents work as one operating unit: who owns what, how work is assigned, and what management means when part of the team is software.