AI software factories still need human help, says Sonar CEO Tariq Shaukat
AI has made writing code easier than ever, but determining whether that code works within a sprawling, complex codebase remains the trickier bit. At the AI Dev conference in New York, hosted by Andrew Ng's DeepLearning.ai, the software factory model was a recurring theme, yet getting these factories to work effectively requires careful tinkering with core models and their surrounding harnesses and context. Former Google Cloud president Tariq Shaukat, now CEO of Sonar, highlighted a growing problem: while code is now abundant, confidence in it has never been more scarce.
Shaukat illustrated the instability of AI coding agents with a real-world example from a codebase he was examining. When he ran the same agent multiple times, it found 40 issues, then 11, then 18, demonstrating significant variance. He argued that simply asking another agent to judge the results compounds the problem, as that second agent will also possess this inherent inconsistency. Throwing more agents at the issue increases token and time costs without guaranteeing a better outcome, he cautioned.
Rather than relying on multiple agents for verification, Shaukat advised teaching the model specific verification criteria. By providing the agent with defined examples of good and bad results, the knowledge can be encoded into the harness itself. This approach shifts the burden to finding and encoding expertise into the system, allowing the model to verify its own outputs more reliably within a defined framework rather than relying on unpredictable peer review.
When asked if software development can be fully automated, Shaukat distinguished between risk tolerance and regulatory requirements. For most Global 2000 companies, core software matters and cannot be left unchecked, though some non-critical components could operate in what he terms a "dark factory." He noted that regulations often mandate human review for certain code, forcing a "light factory" approach where human oversight is compulsory regardless of automation potential.
Shaukat introduced the concept of "dim factories," where not every single piece of code is checked, but oversight is applied based on stakeholder confidence. He predicted most software inside large companies will adopt this hybrid model: low-stakes or high-confidence automation operates under a "trust but verify" principle, while other parts require rigorous review of all completed work. This approach balances efficiency with the need for assurance in mission-critical systems.
The human role, Shaukat emphasized, is to define what to build, what "good" and "done" look like, and to plan the verification process including architecture and codebase adherence. While AI can augment much of this work, he does not expect humans to completely step away, especially for mission-critical applications. The developer's role shifts toward specification and oversight rather than writing every line of code, ensuring agents have the right information and context to produce compatible, verified results.
Source credits
By Russell Brandom from TechCrunch. Edited by SetuGeo.