Thought Leaders

AI Can Generate Code. Engineering Still Has to Prove It.

Ali-Reza Adl-Tabatabai
Add Unite.AI to your preferred sources on Google
An inspection loupe magnifies a ragged tear connecting two holes in a strip of punched computer tape.
Key PointsGenerated code is a starting point that still requires independent verification before…
View more
  • Generated code is a starting point that still requires independent verification before it reaches production.
  • Autonomy demands proportional guiderails because agents can replicate flawed patterns across many files at machine speed.
  • Verification debt compounds quietly as unproven code makes each subsequent change harder and costlier.

For years, the software industry has measured AI coding progress through model capability: larger context windows, stronger reasoning, higher benchmark scores and agents that can take on more of a development task without stopping for instruction.

Those advances matter. They are changing how software is built.

But they do not resolve the central challenge facing engineering organizations today: production software needs to have confidence built in. It must be secure, reliable, maintainable and aligned with the standards of the organization that will operate it.

That is why software engineering is entering a new reliability era. As teams give AI agents more latitude to plan, write, test and revise code, the question is no longer simply whether a model can generate a working implementation. The question is whether the organization has the evidence and controls to be confident in that implementation in its codebase.

AI can generate code. Engineering still has to prove it.

From Code Generation to Code Confidence

Large language models are probabilistic systems. They produce the most likely response from the context available to them. In coding, that has become remarkably useful: agents can navigate repositories, draft features, suggest tests, diagnose failures and iterate on a solution far faster than a person working alone.

Yet “likely” is not the same as “verified.” A change can compile, satisfy a narrow test case and still introduce a security vulnerability, a reliability defect, an architectural inconsistency or maintenance burden that only emerges later.

This distinction is not an argument against AI-generated code. It’s the condition for using it well.

Software development has always depended on a chain of confidence such as shared engineering standards, testing, peer review, automated analysis, CI checks and accountable ownership. AI makes this discipline more important because it increases both the volume of change and the speed at which change enters the system.

The teams that benefit most from AI will be those that redesign their workflows so verification and governance can keep pace with generation.

Generation Is the Beginning, Not the Finish Line

A common mistake is to treat generated code as completed code. That framing made sense when the primary challenge was getting a machine to produce a useful output, but it’s increasingly outdated as enterprises shift to agentic software factories.

An agent can now execute a multi-step workflow of reading a codebase, forming a plan, making changes, running tests, observing the results and trying again. That capability is powerful, but it doesn’t transfer responsibility for the outcome. A passing test suite is meaningful evidence; it’s not universal proof. Nor can a generic model infer every domain constraint, quality requirement, security policy or architectural decision that matters to a particular organization.

The modern engineering task is to make expectations explicit and assessable. Agents need relevant context and constraints before they write. Their output needs to be verified while they work and again before it’s integrated. When verification finds a problem, agents should be able to use clear, rule-based feedback to help resolve it versus simply handing a growing queue of issues to developers.

This is a more useful model as software factories emerge: guide the work, generate the change, verify the result and solve issues quickly. Generation remains essential, but it’s one stage in a continuous system of assurance rather than the end of the process.

Autonomy Changes the Economics of Mistakes

Every engineering organization understands that defects become more expensive as they move downstream. AI changes that equation in two directions.

On the positive side, an agent can identify and fix issues early, when the relevant context is still available and the change is small. On the negative side, an agent can reproduce a flawed assumption, insecure pattern or poor design choice across many files and pull requests at machine speed.

The risk is that small errors can travel farther before people notice them if the development system was designed for human-paced output. That is why autonomy should be paired with proportional guiderails. The more independently an agent can act, the more important it becomes to establish clear boundaries, enforce shared standards and maintain accountability for what reaches production. Organizations must be deliberate about where algorithmic checks, context-aware agentic review, policy controls and human judgment each add the most value.

The Review Bottleneck Is Real, and It Needs a New Answer

AI coding tools do not merely increase the amount of code. They increase the number of changes that teams must understand, validate and safely integrate.

Traditional code review and CI processes were built around the cadence of human authors. When agents can produce multiple iterations in the time it once took to write a first draft, simply asking reviewers to work faster is not a strategy. It turns code review into a bottleneck or, worse, an exercise in rubber-stamping changes nobody has had the time to fully evaluate. Verification needs to come in closer to where code is created.

AI-based review can handle some of that work, but it shouldn’t do it alone. A model reviewing code from another model does not provide the same evidence as a test or rule with a clear pass or fail result. Teams need both an agentic and algorithmic approach, using AI to help investigate and understand changes with algorithmic analysis that consistently enforce the standards that code has to meet. Together, these approaches cover different classes of problems; neither is a substitute for the other.

These layers reduce avoidable review work and let engineers focus their attention where it is most valuable: product intent, architecture, tradeoffs, risk acceptance and the exceptions that require informed judgment.

Verification and Governance Must Work Together

Verification and governance are related, but they’re not identical.

Verification asks whether a specific change meets defined expectations. Does the code behave as intended? Does it introduce known defects or security issues? Does it comply with the project’s quality criteria?

Governance asks whether the system of development remains trustworthy over time. Are teams applying consistent standards across tools and repositories? Are there clear policies for which agent actions are permitted? Can the organization demonstrate how software was assessed before it was released? Who is accountable when an exception is made?

Organizations need both. Verification without governance can create pockets of quality that are difficult to scale. Governance without verification becomes policy without evidence.

The most effective approach is multilayered. Give agents the context they need before they act. Verify their output in the coding workflow, so issues are caught while they are cheapest to fix. Retain robust CI and quality gates as the final authority before merge or release. Keep skilled engineers accountable for the decisions that require business, system and organizational context.

This is how organizations turn agentic speed into durable engineering velocity they can be confident in.

The Bill for Unverified Code Always Comes Due

AI will generate more of the world’s software each year. More teams will delegate bounded and, over time, increasingly complex, work to agents. The opportunity is enormous. But every change that enters a codebase without sufficient evidence of quality creates a future obligation: to understand it, fix it, secure it or explain it when it fails.

That is verification debt. It is the gap between code that has been produced and code that has been proven fit to operate. And unlike a backlog of visible work, it can compound quietly: complexity makes the next change harder; technical debt makes the next agent less effective; gaps in traceability make the next audit more costly. What looks like speed in one quarter can become drag in the next.

The takeaway is not to slow AI down or to return to line-by-line manual review. It’s to treat verification as part of generation itself. Give agents the right context before they write. Independently verify their work as they iterate. Apply a zero-trust, multilayered gate before merge. Then use the findings to improve the codebase and the next cycle of agent work.

That is how agentic development becomes durable: not by asking engineers to trust more code, but by building a system that produces less code they have to doubt. Confidence is key.

Ali-Reza Adl-Tabatabai is EVP, Transformation at Sonar, which he joined in May 2026 when Sonar acquired Gitar, the AI-native code review company he co-founded and led as CEO. Before Gitar, he led the Developer Platform organization at Uber, responsible for the tools and frameworks used to build, deploy and run software across the company, and held engineering leadership roles at Google, Facebook and Intel Labs. He holds a PhD in computer science from Carnegie Mellon University. His focus today is helping engineering organizations keep up with the volume of AI-generated code by making code review, testing and validation faster and more trustworthy.