Itamar Friedman is CEO and co-founder of Qodo, empowering professional, busy development teams with code integrity solutions.
When I first started using AI agents to build software, I was impressed by how quickly the code came together. Features that once took days could be built in hours. But getting that code into production was another story. Pull requests piled up, and validating the work often took longer than building it. AI hadn’t removed the bottleneck in software development. It simply moved it.
This hasn’t made me less enthusiastic about AI, only more convinced of where software development is heading. Within the next three to five years, I expect software factories to become central to companies that develop substantial software. Agents will handle more of the work end to end, while engineers build and operate the systems that direct, verify and recover that work. Designing the factory itself will become one of the most important engineering responsibilities.
But a factory is only as good as what it ships. Companies need to become as good at verifying what AI builds as they are at generating it.
The Factory’s Second Job Is Falling Behind
Every software factory has two jobs: building the product and establishing that it meets the requirements for release. Organizations have invested heavily in making agents more productive. The systems responsible for checking and governing their work haven’t kept pace.
Our 2026 State of AI Code Quality research, based on a Censuswide survey of 500 U.S. developers and 300 U.S. engineering leaders, shows the imbalance. Both groups identified reviewing and validating AI-generated code as their top delivery bottleneck. Only 3.7% of engineering leaders said their existing processes were sufficient to maintain quality and governance as agents take on more work. And the larger the organization, the sharper the problem.
Organizations are trying, but manual effort and incomplete context leave gaps that become harder to manage as output grows. More than one-third of developers say reviewing AI-generated code takes the same time as before but requires more mental effort. As AI output grows, so does the demand for human attention.
None of this is a reason to slow down, but it is the next engineering problem to solve.
When The Factory Inspects Itself
The software factory also reshapes engineering workflows. As developers increasingly oversee work produced by multiple agents, the challenge shifts from reviewing individual contributions to understanding whether they work together as intended.
AI is also increasingly used for review and test generation. The risk comes when the same assumptions or incomplete context shape both the code and the evidence used to validate it.
Consider an agent that misunderstands a requirement. It writes code that looks correct, generates tests based on the same misunderstanding and passes them. An AI reviewer working from the same incomplete context approves the change. The original mistake carries through every step.
Engineers increasingly build and operate the system that produces the software: connecting agents and tools, preserving organizational knowledge, defining verification criteria and designing recovery. Teams may buy components, but they still own the complete system and what it ships.
Software needs the same discipline. Code that works on its own can still break the system it joins. Catching that requires checks grounded in the organization’s architecture, security requirements and engineering standards. Much of that knowledge lives in senior engineers’ heads, and capturing it is one of the hardest parts of building the factory.
The Risk Builds Over Time
The consequences go beyond individual bugs. Thousands of plausible changes can gradually leave a system that’s harder to understand, maintain and trust. Fixing each bad output leaves the underlying cause intact. Missing context, a weak check or a flawed workflow can keep producing the same mistake. Engineers need to correct the factory as well as its output.
How to Build Quality Into The Factory
The next phase depends less on more capable agents than on what organizations build around them.
Giving agents more responsibility requires both evidence and permission. The boundary depends on the class of work, business criticality, allowed actions, reversibility and safe fallback. A factory should be able to withhold a release, roll back where safe or stop before escalating to a human. Stronger verification can justify greater autonomy within that approved domain. Four priorities stand out.
1. Make verification independent of generation.
The agent producing a change should not be able to redefine the criteria that make it acceptable. Verification needs protected acceptance criteria, organizational context to challenge the implementation and evidence grounded in observable behavior. A second agent or different model can help, but neither establishes independence by itself. Humans retain authority over criteria, permissions and exceptions, stepping into individual changes based on risk.
2. Make standards enforceable, not just available.
Writing a building code doesn’t make a building safe. Enforcing it does. Engineering standards should work the same way. Our research found that 87% of leaders are confident standards are applied consistently across their AI tools, yet only 37% have policy enforcement across teams and repositories. Giving agents the rules isn’t the same as confirming they followed them.
3. Check continuously and learn from production.
Quality checks should run throughout development and continue after deployment. Escaped defects, incidents and customer outcomes should feed back into the factory’s context, verification and workflows. Evaluate whether those changes prevent recurrence, with review and evidence before changing acceptance criteria or permissions.
4. Budget for both jobs, and measure the results.
Investment in generation should include investment in assurance. Trace intent and agent actions through verification, authorization, deployment and production outcomes. Track accepted changes, escaped defects, human verification effort, recovery time and customer outcomes to establish whether the investment is working.
The Factory Worth Building
A productive factory proves its value in production: useful changes delivered, defects prevented, human effort reduced and failures contained and recovered from. Confidence should follow that evidence.
The factory worth building is one whose engineers can show what it delivers, explain why it was allowed to act and improve how it works after every failure.
Forbes Technology Council is an invitation-only community for world-class CIOs, CTOs and technology executives. Do I qualify?