Speaking at the AI Dev conference in New York, Sonar CEO Tarik Shaukat said that AI can create software code quickly, but development “factories” still require human oversight. The main challenge, he said, is not generating code but verifying its quality and compatibility with complex codebases.
Generating code is easier than verifying it
The development factory model remains popular among AI specialists. In this approach, models, supporting tools, and context are combined into a process intended to produce software with minimal human involvement. But the more complex the system, the harder it is to evaluate the model’s output.
According to Shaukat, AI can review a small piece of a program, while checking an entire codebase containing a million lines requires considerably more human judgment. In demonstrations, models typically operate in clean, constrained conditions that do not reflect the complexity of real-world projects.
Additional agents do not guarantee more accurate results
Shaukat also cited research on the inconsistency of AI judges: a model may change its assessment after another AI objects or when it answers the same question again.
As an example, he described reviewing a codebase with Claude Code. On the first run, the tool found 40 issues; on the next, 11; and then 18. In Shaukat’s view, adding more agents does not necessarily eliminate this variability. It can increase token usage and processing time without guaranteeing the correct conclusion.
Expertise must be built into the process
A more reliable approach is to define in advance exactly what type of problem needs to be found, what the correct result should look like, and which findings should be considered false positives. These rules can be built into the environment, or harness, in which the agent operates.
In this case, the key task is not simply adding more models but finding the necessary expertise and formalizing it in verification tools.
Three levels of automation
The possibility of fully automating development depends on the acceptable level of risk. Shaukat identifies several ways to organize the work:
- Dark factory — fully automated development for parts of a system that are not highly significant.
- Light factory — a process in which a person must review the code, including when required by standards or regulations.
- Gray factory — an intermediate option: automation is used where risks are lower or trust in it is high, while the remaining parts undergo stricter oversight.
For large companies, Sonar’s CEO believes the mixed approach may become the most common. It is not necessary to review every line, but the work must be evaluated and its correctness confirmed.
What remains for people
Reviews do not always indicate a lack of trust in automation. They provide evidence that the process is working as intended and help detect deviations if the results begin to deteriorate.
In Shaukat’s view, a person must primarily define what needs to be built, what the result should look like, what counts as quality work, and when the task is considered complete. The plan also includes architecture, compatibility with the existing codebase, and the rules for subsequent review.
An AI agent does not automatically have this context and may choose the shortest path to an answer. Developers therefore need to provide the agent with the necessary information, define verification stages, and organize reviews.
Shaukat expects people to write less and less of the actual code. For critical applications, however, this does not mean humans will leave the process entirely: their role will shift toward defining tasks, configuring context, and overseeing results.