AI has revolutionized software development, making it faster and more accessible than ever. But as companies race to automate coding, a critical question lingers: Can we trust the code AI writes?
At the AI Dev conference in New York, Sonar CEO Tariq Shaukat delivered a blunt warning. The former Google Cloud president argued that while AI excels at generating code in controlled environments, real-world software development remains a messy, unpredictable challenge—one that still demands human oversight.
Shaukat’s skepticism stems from years of experience. As president of Google Cloud, he saw firsthand how AI tools could churn out code quickly—but also how easily they could miss critical flaws. "There’s a lot of demonstrations of how effective AI is at coding," he said in an interview, "but they’re all given in these pristine environments. The moment you get into anything more complicated, you see these problems emerge."
"The model can verify a small piece of code, but verifying a million lines of code, a whole codebase, is a much, much harder thing. It still requires a lot of judgment to do that." — Tariq Shaukat, Sonar CEO
The core issue? AI’s confidence in its own output is shaky. Shaukat cited research showing that AI models often contradict themselves when asked the same question twice—or when challenged by another model. "You could ask the next agent to actually say what’s right and what’s not right," he explained. "But you’re kind of compounding the problem at that point because that second agent will also have this variance in it."
So where does that leave human developers? According to Shaukat, their role is evolving—not disappearing. The most critical tasks now involve defining what "good" code looks like, setting up verification processes, and ensuring AI-generated code aligns with a company’s architecture. "Most of that work can be augmented with AI," he said, "but I don’t think you’re going to see a world where the human just completely steps away."
For now, the future of AI-driven development isn’t full automation—it’s augmented development. Companies will adopt "dim factories," where AI handles low-stakes tasks while humans oversee high-risk areas. The goal isn’t to eliminate human input but to make it smarter, more strategic, and more effective.