AI software factories can automate more of the development process, but Sonar CEO Tariq Shaukat argues that companies still need human judgment and independent checks. His approach shifts oversight from reviewing every generated line to setting requirements, enforcing technical controls and deciding what can ship.
Shaukat was listed on the November 30 AI Dev conference agenda in New York to discuss agent-written code at enterprise scale. At AI Engineer New York on October 14, he also explained why code generation can outpace release capacity. Sonar sells code verification products, so it has a commercial interest in the debate.
AI software factories face a verification bottleneck
Sonar published its 2027 State of Code Developer Survey Report on November 12. The September 2026 online survey included 1,026 developers and engineering managers who had used AI coding tools professionally during the previous year.
Among 856 participants who write code, the average estimated share of committed code generated or substantially AI-assisted reached 65%. The comparable figure from the previous survey was 42%, a 23-percentage-point difference.
Across the latest sample, 76% agreed that their teams produce AI code faster than they can verify it. Some 53% now spend more time reviewing code than creating it. Only 18% recalled spending more time on review before adopting AI tools.
Sonar found that 5% of respondents were building or using software factories, while 34% expected to do so within one year. Another 52% reported coding agents with established controls, and 28% reported approved agents with few controls.
These results reflect reported experiences rather than measured repository activity. The sample excludes professionals who have not used AI coding tools. Expectations about future adoption are not confirmed deployments.
Why faster code generation does not guarantee faster releases
A software factory connects agents to development tools so they can plan changes, implement code, run tests and refine their work. Unlike a basic autocomplete tool, an agent may modify multiple files and use external tools without asking for guidance at every step.
Consider a payment system update. An agent might pass a routine checkout test but fail to prevent duplicate charges when a request is retried. It could also overlook authorization rules that stop one customer from accessing another customer’s payment records.
Engineers need to define these requirements before implementation. Tests should include invalid inputs, interrupted transactions and concurrent requests. A passing test suite cannot demonstrate correctness for scenarios it never covers.
Independent verification matters because the agent that writes code may repeat its original assumptions when asked to assess it. A separate model can assist reviewers, but its judgment is not a substitute for reproducible tests or security checks.
How engineers can supervise autonomous development
Sonar recommends establishing the intended outcome, constraints, separate verification and records of the checks performed. Human oversight does not necessarily require an engineer to read every line. Instead, it can focus on architecture decisions, exceptions, and changes with serious consequences.
The National Institute of Standards and Technology’s Secure Software Development Framework describes practices that reduce software security risks throughout development. It provides a useful starting point for designing controls, whether humans or agents write the code.
Organizations can implement these practices through a risk-based workflow:
- Define acceptance criteria and security requirements before assigning a task.
- Restrict the agent to a development environment and narrowly scoped credentials.
- Run regression tests, dependency checks and static analysis through a protected build pipeline.
- Require designated reviewers to approve sensitive changes and exceptions.
- Record test results, approval decisions and release versions; retain a tested rollback procedure.
As TechAmerica’s guide to AI agent authorization explains, enforce permissions outside the model. A coding agent should not be able to remove a required test or approve its own production access. Different safeguards may be appropriate for documentation changes and authentication systems.
Measuring the actual business value
Sonar reported that only 36% of respondents could see their team’s AI productivity measurements. Counting code volume alone doesn’t show whether customers receive better software.
For example, suppose a team can verify ten changes daily. Increasing submitted changes from ten to twenty without expanding verification leaves ten additional changes waiting each day. This hypothetical example illustrates why generation speed alone is not a delivery metric.
Teams should track review hours, release frequency, defects found after deployment and recovery time. Include model usage charges, testing infrastructure and maintenance work in cost comparisons. A limited pilot with a baseline can reveal whether agents reduce total delivery effort. For more context, see TechAmerica’s explanation of autonomous AI agents.
Software factories may change the work engineers perform. Whether they improve delivery depends on the quality of their controls and the results they produce, not simply the number of tasks completed without intervention.
What is an AI software factory?
It is a development workflow that coordinates coding agents, testing systems and release tools to automate software engineering tasks.
Can AI software factories run without human review?
Some tasks can run automatically. Teams still need accountable owners, independent controls and risk-based approval requirements.
What did Sonar’s survey find?
Of 1,026 professionals using AI coding tools, 76% agreed their teams generate AI code faster than they can verify it.
Does 65% mean AI writes most software worldwide?
No. It is the average self-reported AI-generated or significantly assisted share of committed code among the 856 survey participants who write code.
How can teams verify AI-generated code?
Use independently controlled tests, security scans, dependency checks and appropriate human review before releasing consequential changes.
Does faster code generation mean greater productivity?
Not necessarily. Review delays, operating costs, defects and release outcomes also affect productivity.
Have another question about this story? Email the newsroom.










