ReadingResearchRadarInvestment framework
Sign in / Sign up
← Back to reading
NewsMaterial3 min readDisconfirmAI Editorial

Sonar CEO Tariq Shaukat: More Agents Won't Fix AI's Verification Problem

Tariq Shaukat, former Google Cloud president and current Sonar CEO, presents a specific mechanism for handling AI code verification: the problem is not that agents cannot find issues, but that they find different issues on repeated runs of the same codebase. He rejects throwing more agents at the variance and instead proposes encoding domain expertise into the verification harness itself, with a risk-based spectrum from fully automated dark factories to human-reviewed light factories.

2026-12-03 01:02 GMT+8

AI has made writing code easier than ever. The harder question is whether that code is any good, and whether it works inside a sprawling, complex codebase. Tariq Shaukat, former president of Google Cloud and current CEO of Sonar, built his opening talk at the AI Dev conference in New York around a single tension: code is now abundant, confidence has never been more scarce.

Shaukat's argument is not that AI cannot verify code. It is that AI verification is inconsistent in a way that undermines trust. He gave a concrete example: in one codebase, Claude Code found 40 issues on a first run, 11 on a second, and 18 on a third. The same agent, the same code, the same prompt, wildly different outputs. The natural instinct is to add more agents, to create a consensus layer. Shaukat rejects this. "I don't think you can throw more agents at a problem and expect it to have a better outcome," he said. "It's going to cost you a lot more tokens. It's going to cost you a lot of time. And what we've seen is that it doesn't always solve the problem." The second agent will also have variance. You are compounding the problem, not solving it.

What he proposes instead is narrower and more specific: teach the agent how to verify its own results by encoding expertise into the harness. Tell the model what a good security finding looks like, what a bad one looks like, what the specific failure mode is. Build that knowledge into the verification infrastructure rather than relying on the model's general judgment. "At that point, it all comes down to finding the expertise and encoding it into the harness," he said. This shifts the bottleneck from model capability to human domain knowledge, which is a different and arguably more tractable problem.

Sign in / Sign up
ReadingResearchRadarInvestment framework

The practical implication is a spectrum of automation levels based on risk appetite and regulatory constraints. Shaukat describes three modes. A dark factory runs fully automated, suitable for low-stakes code where the organization accepts the variance. A light factory requires human review of every change, mandated by regulation or by the criticality of the system. Between them sits what Sonar calls a dim factory: you do not check every single piece, but you look at all the work that was done and make sure it was done the right way. He compared it to a washing machine. You know it cleans your clothes. You do not check every cycle. But if you start finding dirty clothes, that is a problem. The key is having evidence that the system is working, not checking every output.

For human developers, Shaukat expects they will write almost none of the actual code. But that does not mean they hand off a specification and walk away. The human role shifts to defining what should be built, what good looks like, what the architecture constraints are, and what the verification process should be. "Agents don't know to be compatible with your codebase," he said. "They're just going to find the shortest path to the answer." A human developer's knowledge of the system's conventions, trade-offs, and constraints is what keeps generated code from being technically correct but practically wrong.

The strongest limitation of this framework is that it assumes the expertise to encode into the harness already exists somewhere in the organization. If the team does not yet know what a good security finding looks like for their specific stack, the harness-encoding approach has nothing to encode. It also carries a commercial interest: Sonar sells code quality tooling, and a narrative that verification is harder than generation is convenient for that business. Still, the variance example is specific and reproducible, and the rejection of multi-agent consensus as a solution is a concrete operational judgment that other practitioners can test against their own experience.

Sources

  • techcrunch.comTechCrunch↗
Continue researching →