
AI Software Factories Still Depend on Human Expertise, Sonar CEO Says
Author : Ravit Jain
Generating code with artificial intelligence has become remarkably straightforward. The harder challenge is determining whether that code is actually reliable - and whether it integrates cleanly into a large, intricate codebase. That fundamental tension surfaced repeatedly this week at the AI Dev conference in New York, organized by Andrew Ng's DeepLearning.ai, where practitioners and executives gathered to wrestle with the real-world limits of AI-driven software development.
The concept of the software factory - using AI systems to automate significant portions of the development pipeline - continues to attract strong interest among developers working at the frontier of the technology. But making those factories function reliably in practice demands considerable effort: fine-tuning the underlying models, carefully constructing the surrounding scaffolding, and feeding the right context into the system at every stage.
Confidence, Not Code, Is the Scarce Resource
Among the more pointed voices at the conference was Tariq Shaukat, chief executive of Sonar, who opened his talk by framing what he sees as the central crisis in AI-assisted development: a shortage not of code, but of confidence in that code. Shaukat, who previously served as president of Google Cloud, argued that while AI systems can now produce code at extraordinary volume and speed, the ability to trust what they produce has not kept pace.
In a conversation at the conference, Shaukat elaborated on those ideas and what they mean for software engineers trying to find their footing in an industry being reshaped by automation.
The Gap Between Demos and Reality
From outside the software industry, many observers assume that coding is among the tasks most readily handed off to AI. Shaukat pushes back on that assumption. The demonstrations that circulate publicly, he notes, tend to take place in controlled, simplified environments that bear little resemblance to the messy complexity of real production codebases.
"There's a lot of demonstrations of how effective AI is at coding, 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."
This gap between demonstration performance and production performance is, in Shaukat's view, one of the most underappreciated risks facing organizations rushing to adopt AI development tools.
The Variance Problem
A related issue Shaukat raised during his talk involves the inconsistency of AI judgment - specifically, the tendency of AI models to reach different conclusions when asked the same question multiple times, or when challenged by another model. Research he cited at the conference illustrated how frequently AI evaluators will reverse their assessments under mild pressure or simply upon repetition.
He offered a concrete illustration from his own experience: running a code analysis tool on a single codebase and getting wildly different results each time. One pass flagged 40 issues. A second pass found 11. A third returned 18. The instability of those outputs raises an obvious question about how much weight any single result should carry.
Some practitioners respond to this kind of variance by layering additional AI agents on top of one another - using one model to check the work of another. Shaukat is skeptical of that approach. Stacking agents, he argues, compounds the underlying uncertainty rather than resolving it, while also driving up computational costs and processing time without reliably improving outcomes.
His preferred alternative is to build verification intelligence directly into the system's scaffolding. Rather than asking a general-purpose model to evaluate its own output in an open-ended way, developers can constrain the task: specify exactly what kind of issue the model should look for, provide examples of what a correct finding looks like and what it does not look like, and encode that domain expertise into the harness itself. The result is a more focused, more consistent evaluation process - one that draws on human knowledge rather than trying to replicate human judgment from scratch.
Dark Factories, Light Factories, and the Space Between
Even with a well-constructed harness, the question of how much of the development process can be fully automated remains contested. Shaukat's answer is that it depends heavily on the stakes involved and the organization's tolerance for risk.
He describes a spectrum of approaches. At one end is what he calls the dark factory - a fully automated pipeline with no human review, appropriate for low-stakes components where errors carry minimal consequences. At the other end is the light factory, where regulatory requirements or business criticality demand that a human review every piece of code before it ships. For many large enterprises, neither extreme is practical across their entire codebase.
The middle ground, which Shaukat refers to as the dim factory, is where he expects most organizations to land. In this model, not every line of code gets reviewed, but humans maintain meaningful oversight over the process as a whole. High-confidence, low-risk portions of the system run with minimal intervention. Higher-stakes areas receive more scrutiny - not necessarily a line-by-line audit, but enough review to verify that the work was done correctly and that the overall output meets the organization's standards.
Verification Is Not a Sign of Distrust
Shaukat acknowledged that spending significant effort on verification might seem to undercut the premise of AI-driven development. If you have to check everything, what has actually been gained? His response is that verification and confidence are not opposites. Many reliable processes involve ongoing checks not because the system is untrustworthy, but because evidence of correct operation is itself valuable.
He used a straightforward analogy: a washing machine that has consistently cleaned clothes well earns a degree of trust, but that trust is built on accumulated evidence, not blind faith. The same logic applies to automated software development pipelines. Regular verification is how organizations build the track record that justifies confidence over time.
What Human Engineers Actually Do Now
Perhaps the most practically significant part of the conversation concerned the evolving role of human software engineers in this new environment. If AI is writing most of the code, what work is left for people?
Shaukat's answer centers on several areas where human judgment remains not just useful but essential. The first is problem definition: deciding what to build, what it needs to do, and what a successful outcome looks like. That kind of upstream thinking - setting the requirements, defining the architecture, specifying the standards the final product must meet - is something AI systems are not yet equipped to do reliably on their own.
A related challenge involves codebase compatibility. Human developers who have worked within a system over time carry an implicit understanding of how new code should fit into the existing structure. AI agents lack that contextual awareness. Without explicit guidance, they tend to find the most direct path to a working solution, which may not align with the conventions, architecture, or long-term maintainability goals of the broader codebase. Ensuring that agents have the right information and context to make compatible decisions is, for now, a fundamentally human responsibility.
Designing and maintaining the verification process itself is another area where human expertise remains central. Someone has to decide which parts of the system require close scrutiny, what the review process should look like, and how to interpret the results. Much of that work can be supported by AI tools, but it cannot be entirely delegated to them - particularly in applications where errors carry serious consequences.
"At least for the foreseeable future, there's a huge role for human beings in making sure the coding agent has the right information and the right context, and that you have all the right verification steps and reviews in place."
Shaukat is direct about what this means for the day-to-day work of software engineers. The expectation that developers will personally write significant volumes of code is fading. In an AI-augmented environment, a developer might write very little code directly. But that does not mean the developer's role has shrunk - it has shifted. The work has moved upstream, toward planning, specification, and oversight, and toward the kind of contextual judgment that AI systems still cannot reliably supply on their own.
For organizations navigating this transition, the practical implication is that the value of software engineering expertise has not diminished - it has been redirected. The engineers who understand how to frame problems clearly, how to encode domain knowledge into AI workflows, and how to design verification processes that catch meaningful errors are likely to become more valuable, not less, as AI tools continue to mature.
Source Credits : TechCrunch


