Reviewing large projects
At the conference organized by Andrew Ng’s DeepLearning.ai, attendees discussed the practical challenges of developing software with AI. The “software factory” model is popular among developers working with AI, but making it work effectively requires careful tuning of the underlying models, tools and context around them.
Shaukat, a former president of Google Cloud, focused his talk on confidence in the quality of generated code. There is more code now, he noted, but less confidence that it works as intended. It is easier to review a small piece of code than an entire million-line codebase: human judgment is still needed.
Why multiple agents do not guarantee accuracy
Shaukat gave the example of reviewing a codebase with Claude Code. The system found 40 issues on its first run, 11 on its second and 18 on its third. Another agent could be asked to determine which findings were correct, but it, too, might produce different results.
Adding more agents, Shaukat argued, will not necessarily improve the outcome. This approach uses more tokens and takes more time, but does not guarantee that the problem will be solved.
Instead, an agent can be given a specific type of vulnerability to look for, signs of a good result and an explanation of what counts as an error. The model can then check its own findings, while the necessary knowledge can be built into the tools and context surrounding its work.
From a “dark” factory to mandatory review
The degree of automation depends on the acceptable level of risk. Critical software at large multinational companies requires special attention, while some less important parts of the work can be fully automated. Shaukat called this approach a “dark factory.”
At the other end of the scale is a “lights-out factory,” where rules explicitly require a person to review the code. Between the two, Sonar uses the term “dim factory”: people do not review every piece of code, but oversee the work as a whole. For parts of a system where the consequences of an error are minor, or confidence in automation is high, oversight and subsequent review may be enough. Where requirements are stricter, the process needs a more thorough review of the work.
Shaukat compared this kind of review to using a washing machine: there is usually no need to check every time that it has washed the clothes, but finding dirty items is a reason to investigate what went wrong. Confidence in a system can be based on accumulated experience, he said, but it is important to have evidence that it works.
What engineers are responsible for
People first need to define exactly what should be built, what the result should look like, and what counts as complete, high-quality work. The review plan needs to cover not only the program’s functionality, but also its architecture and compatibility with the existing codebase.
Developers usually take a project’s structure into account, while agents may not know its specifics and may choose the shortest path to an answer. People therefore need to give agents the right information and context, and define review and approval stages in advance. AI can handle much of this work, but Shaukat predicted that people would remain part of software development for the foreseeable future, especially when building critical applications.
Engineers probably will not have to write most of the code by hand. But simply saying what to build and waiting for the finished result is not enough.
Dataist's take: Automating software development depends less on AI’s ability to generate code than on how reliably its work can be reviewed in a specific project. The greater the consequences of an error or the stricter the review requirements, the more important engineers’ involvement becomes—even if they write almost none of the code.
Daily AI news
Every day we pick what actually matters in AI and explain it plainly — no hype, no filler. Subscribe if you want to follow where the industry is going.
Only what matters — every day
Follow on X