
Code Is Cheap, Confidence Is Scarce: AI Software Factories Still Need Human Help, Says Sonar CEO Tariq Shaukat
Artificial intelligence has made generating raw software code faster and easier than ever before. The real bottleneck for engineering teams today is figuring out whether that AI-written code actually works reliably inside a massive, complicated production codebase. That friction over the real-world limits of autonomous coding ran straight through Andrew Ng’s DeepLearning.AI conference in New York this week.
While autonomous software factories remain a hot trend among AI-first developers, getting them to perform reliably in production requires painstaking engineering around both the core models and the surrounding verification harnesses and context layers.
Sonar Chief Executive Officer Tariq Shaukat delivered one of the sharpest reality checks at the event. Shaukat, who previously served as president of Google Cloud, argued in his opening talk that while code has become cheap and abundant, engineering confidence has never been scarcer. In an interview at the conference, Shaukat broke down why hands-off coding falls short and how human engineers fit into the new workflow.
Shaukat noted that most viral demos showing AI coding prowess take place inside clean, isolated sandbox environments. A model can easily validate a short snippet of isolated code, yet verifying a sprawling million-line enterprise codebase demands far deeper architectural judgment.
During his talk, Shaukat pointed to research showing how frequently AI judge models flip their answers when challenged by another model or even when asked the exact same prompt twice. He shared a telling example from his own testing: running Claude Code on a single codebase uncovered 40 issues on the first pass, 11 issues on the second run, and 18 issues on the third. Asking a second AI agent to referee those conflicting results simply compounds the randomness while burning extra tokens and compute time. Instead of throwing more agents at the problem, Shaukat advises teams to encode specific security rules and clear definitions of good output directly into the verification harness so agents can check their own work systematically.
When asked whether companies can ever achieve fully autonomous software development, Shaukat explained that automation levels depend entirely on business risk appetite. For major Global 2000 enterprises, core software carries huge financial and operational stakes. Low-stakes internal tools can run as fully automated dark factories, whereas heavily regulated systems require strict human review in a light factory model. Most enterprise software, Shaukat predicts, will operate as a dim factory, following a trust-but-verify model where teams spot-check outputs backed by concrete evidence rather than inspecting every single line manually. He compared the setup to a home washing machine: you do not inspect every single shirt after every cycle once experience proves the machine cleans reliably, stepping in only when clothes come out dirty.
In this dim factory future, human software engineers spend very little time typing raw syntax. Instead, their primary job shifts upstream to defining exact product requirements, system architecture, and clear standards for what counts as good and done. Left unchecked, coding agents naturally take the shortest path to a passing test rather than respecting long-term codebase conventions. Humans must supply the right context, design rigorous verification pipelines, and maintain oversight, especially across mission-critical applications where errors carry real consequences.







