AI has made writing code easier than ever. The trickier bit has been how to determine whether that code is any good, and whether it works within a sprawling, complex codebase. That tension over the practical problems of AI-driven software development was a recurring theme this week at the AI Dev conference in New York, hosted this week by Andrew Ng’s DeepLearning.ai.
The software factory model remains hugely popular among AI-focused developers, but getting these factories to work effectively requires a lot of careful tinkering, both with the core models and with the harnesses and context surrounding them.
One of the sharpest voices at the conference was Sonar CEO Tariq Shaukat, who used his opening talk to highlight a growing problem in AI-driven development: confidence in the code it produces. Formerly the president of Google Cloud, Shaukat made the case that while code is now abundant, confidence has never been more scarce. It’s a common topic for Shaukat, and one with significant implications for the industry.
I sat down with Shaukat at the conference to talk through his ideas and what they mean for human software developers trying to thrive in the AI era.
Outside the industry, a lot of people see coding as something we can basically hand over to AI. But a big part of your talk was making the case that it’s more complicated than that. Where do you see problems cropping up in AI-driven development?
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 judgement to do that.
In your talk, you cited research showing how often AI judges will change their mind when contradicted by another model, or even just when asked the same question twice. Should we not trust AI with that judgement?
I’ll give you an example: In this one codebase I was just 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 actually say what’s right and what’s not right. But you’re kind of compounding the problem at that point because that second agent will also have this variance in it.
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.
When you purchase through links in our articles, we may earn a small commission. This doesn’t affect our editorial independence.
Source: TechCrunch · Russell Brandom
At a glance
- Topic
- Technology
- Country
- 🇺🇸 US
- Publisher language
- EN
- Added to Allnira