AI & Compute · 4 min read

Sonar CEO: AI coding agents produce plenty of code, little confidence

Sonar CEO Tariq Shaukat told AI Dev in New York that the same codebase scanned by Claude code yielded 40, 11 and 18 issues across three runs, arguing confidence in AI code remains scarce.

By Sophie Lindqvist758 words

Key takeaways

  1. Claude code returned 40, then 11, then 18 issues on three scans of one codebase, per Shaukat.
  2. Shaukat, ex-president of Google Cloud, spoke at DeepLearning.ai's AI Dev conference in New York this week.
  3. Sonar frames enterprise automation as a 'dim factory': trust but verify, with humans required for regulated code.
  4. Shaukat says more agents cost more tokens and time without reliably fixing the variance problem.
Sonar CEO: AI coding agents produce plenty of code, little confidence
AI-generated

A single codebase, scanned three times by the same AI coding agent, produced 40 issues on the first run, 11 on the second and 18 on the third. Sonar CEO Tariq Shaukat cited that variance at the AI Dev conference in New York this week as evidence that AI-generated code is abundant while confidence in it is scarce.

Shaukat, formerly president of Google Cloud, made the remarks in his opening talk at the event hosted by Andrew Ng's DeepLearning.ai. He then expanded on them in an interview on the practical limits of AI-driven software development. His core claim: AI demonstrations look impressive in pristine environments, but real codebases expose the gaps.

What does the variance problem actually look like?

Shaukat's example involved Anthropic's Claude code tool. One scan of a codebase returned 40 issues. Repeated runs returned 11, then 18. He asked which number was right, and noted that delegating the verdict to another agent compounds the problem, because that agent carries the same variance.

He was blunt about the popular fix. "I don't think you can throw more agents at a problem and expect it to have a better outcome," Shaukat said. More agents cost more tokens and more time, and in Sonar's experience do not always solve the problem.

His proposed alternative is narrower. Tell the model exactly what to look for, show it what a good result looks like, and teach the agent to verify its own results. That knowledge gets encoded into the harness surrounding the model. Success then depends on finding human expertise and building it into that harness, not on model scale alone.

Can software factories go fully dark?

Shaukat drew a three-way split for automation levels. Some software matters little and can run as a fully automated "dark factory," with no human review. Other code falls under regulation that requires a human to review it — a "light factory" with no exceptions.

Most enterprise software, in his view, lands in between. Sonar calls this the "dim factory": not every piece gets checked, but oversight remains. "It's trust but verify," he said in substance. Low-stakes components get light checks; critical parts get a rigorous review of the work as a whole, if not of every line.

The answer depends on risk appetite. For most Global 2000 companies, core software actually matters, which rules out full darkness for the systems that carry the business.

Pushed on whether so much verification signals weak confidence, Shaukat pushed back. He compared it to a washing machine: he knows it cleans clothes without checking every load, because evidence accumulates over time. Verification exists to produce that evidence, not to compensate for doubt.

What work stays human?

Shaukat assigned humans the front of the process, not the middle. The first task is deciding what to build, what "good" means and what "done" means. Verification planning happens before generation starts. Specifications must cover architecture and adherence to the existing codebase, not just function.

He flagged a specific behavioral gap. Human developers naturally write code compatible with the surrounding codebase. Agents do not. They take the shortest path to the answer, which is precisely why context and constraints must be supplied externally.

For the foreseeable future, humans keep a large role in feeding agents the right information and context, and in keeping review steps in place. Shaukat allowed that AI can augment most of that work, but he does not expect humans to step away entirely, particularly for mission-critical applications. The individual developer may write almost none of the actual code, yet supervision remains a full job rather than a formality.

What was not said

Shaukat offered no benchmark, no measured reliability figure and no customer data quantifying how much review the dim-factory model requires in practice. The 40/11/18 result is a single anecdote from one codebase he was inspecting, not a study. Sonar sells tooling in this space, which gives it a commercial stake in the scarcity of confidence — a caveat that applies to every vendor keynote in this debate.

The context at AI Dev reinforced his argument: the software-factory model stays popular among AI-focused developers, but making it work requires careful tinkering with both the core models and the harnesses and context around them. Shaukat's framing turns that tinkering into the product. The open question for buyers is whether encoded expertise, rather than model improvement, will close the verification gap — and Shaukat's own variance example suggests that question stays open.

techcrunch.com (Source)

Filed under

Share this article:

More from Sophie Lindqvist

Sophie Lindqvist

Show full bio

News editor covering money, funding and market shifts around Semiconductors, chip manufacturing, hardware, AI compute at Chip Dispatch.

1,496 articles

Read also

« Previous articleNext article »

AI Coding Agents Produce Code, Little Confidence — Chip Dispatch