AI software factories still need human help, says Sonar CEO Tariq Shaukat

Code generation is easier than ever, but verifying whether that code works in a complex system remains difficult. That tension defined the…

By Vane December 2, 2026 4 min read
AI software factories still need human help, says Sonar CEO Tariq Shaukat


Code generation is easier than ever, but verifying whether that code works in a complex system remains difficult.

That tension defined the AI Dev conference in New York this week, hosted by Andrew Ng’s DeepLearning.ai. While the software factory model is popular among developers, making it work effectively requires careful tinkering with both the core models and the surrounding context.

Sonar CEO Tariq Shaukat used his opening talk to highlight a growing problem: confidence in the code it produces. Formerly the president of Google Cloud, Shaukat argued that while code is now abundant, confidence has never been more scarce.

I sat down with Shaukat to discuss his ideas for human developers trying to thrive in this era.

Outside the industry, many view coding as something to hand over to AI. Shaukat explained that reality is more complicated. He pointed out that most demonstrations show AI working in pristine environments. The moment you move to anything more complex, problems emerge. A model can verify a small piece of code, but checking a million lines of code in a whole codebase is much harder. It still requires a lot of judgement.

In his talk, Shaukat cited research showing how often AI judges change their mind when contradicted by another model, or even when asked the same question twice. Should we not trust AI with that judgement?

I’ll give you an example. In one codebase I was looking at, Claude Code found 40 issues. Then I ran it again and it found 11. I ran it again, and it found 18. So what’s right? You could ask the next agent to say what’s right and what’s not right. But you’re compounding the problem at that point because that second agent will also have this variance.

I don’t think you can throw more agents at a problem and expect it to have a better outcome. 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.

Now, what you can do is tell the model, “We’re looking for this specific type of security issue. Here’s what a good result looks like. Here’s what it doesn’t look like, etc.” You teach the agent how to verify its own results, and build that knowledge into the harness itself. At that point, it all comes down to finding the expertise and encoding it into the harness.

Once you’ve set up that process, can you fully automate software development? Or are we still not there yet?

It depends on your appetite for risk. For most global 2,000 companies, the core software actually matters. But there are still certain parts of what you do that probably don’t matter that much, and so there you can make it fully automated and do what’s called a dark factory. There’s other parts that literally the regulations say you must review this code. A human must review it. So there, it’s going to be a completely light factory.

At Sonar, we talk a lot about dim factories, which means you don’t check every single piece. I think most software inside of large companies is going to take that approach. There are certain parts of the system that are low stakes, or you have high confidence in the automation. You’ll have oversight over it, trust but verify. And there are other parts where you’re going to want to have a more rigorous process. It may not be checking every line of code, but you look at all the work that was done and make sure it was done the right way.

If you’re spending that much time on verification, it sounds like you don’t have that much confidence.

There’s plenty of things we have confidence in that you still check, right? It’s just a matter of having evidence that it’s working. I know my washing machine cleans my clothes. Do I have to check it every single time? No. If I start finding my clothes being dirty, that’s a problem. But you have the evidence. You know through your own experience that it’s actually doing a good job.

What’s the role of the human being in all this? What sort of tasks end up falling to human software engineers?

The first step I would say is, figure out what it is you want to build. What should it look like? What does it need to do? What’s the definition of “good” and what’s the definition of “done”? You really need to plan out your verification process. You’re not just specifying the functional aspect but also things like the architecture and adherence to your codebase. When you have your developers writing things, you can trust that they’re going to build in a way that’s compatible with your codebase, but agents don’t know to be compatible, so they’re just going to find the shortest path to the answer.

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. Most of that work can be augmented with AI, but I don’t think you’re going to see a world where the human just completely steps away, particularly with mission-critical applications.

Now, is the person writing the code? I’d expect that they’re writing almost none of the actual code. But that doesn’t mean you just tell it what to build and then go away and let it build.


Scroll to Top