AI Leadership & Perspective

Capable Agents Are Not Trustworthy Agents

Agent capability has climbed fast while the infrastructure that would make agents trustworthy has barely been built. The gap between the two is where production failures now live.

The agentic AI conversation in most engineering organizations is a capability conversation. Which agent generates the most code, executes the most tests, resolves the most incidents, and does it faster than the version deployed six months ago. The metrics that engineering leaders track, the benchmarks that model providers publish, and the announcements that dominate the engineering press are all oriented around capability, and that orientation is not wrong. Capability matters. An agent that cannot do the work it is supposed to do is not useful regardless of how trustworthy it is. But the capability framing is incomplete in a way that is starting to produce a specific and recognizable failure pattern across teams that have moved from agentic experimentation into agentic production, and the pattern is consistent enough across different organizations, different agent architectures, and different application domains to be structural rather than situational.

The teams that have invested in agent capability without investing equally in agent trustworthiness are discovering that a more capable agent that cannot be trusted is not an improvement over a less capable agent that can be. The gap between what an agent is capable of doing and what a team can confidently rely on it to do is where the most consequential failures in production agentic systems currently live, and closing that gap requires a different kind of investment from the one that the capability conversation rewards. It requires building the infrastructure that makes trustworthiness measurable, which is a slower and less visible investment than the one that makes capability demonstrable, and it is the investment that most of the industry is currently skipping.

Nobody Can Define Correct Anymore

Every quality signal an engineering organization relies on traces back to somebody having defined what correct behavior looks like. Once agents write both the system and the checks that validate it, that definition stops coming from anywhere outside the model, and the entire signal chain quietly loses its anchor.

Sai Krishna, Author and Director of Engineering, TestMu AI (formerly LambdaTest)

“What is the truth in AI generated systems? How do we define it independently of the respective models?”

Krishna frames the trustworthiness problem with a question that cuts through the capability conversation to the operational reality underneath it. The question is not philosophical. It is the most practically urgent question in agentic engineering right now, and the teams that have not answered it are operating without a reliable quality signal regardless of how sophisticated their agents are or how high their coverage numbers look.

The production observation that gives the question its urgency is one that Krishna describes from direct experience watching agentic systems operate over time. “We are seeing that a lot of these agents that write code or bring in the right sense of tests keep falling apart after a few months,” he explains. “It gets to be a big disaster.” The failure mode is not a dramatic incident that announces itself clearly. It is a slow accumulation of brittleness in code and tests that were generated without an independent ground truth to validate against, and the brittleness compounds silently until the team cannot explain why things are failing, cannot attribute failures to specific causes, and cannot trust the outputs the agents produce because they have no independent reference point against which to evaluate them.

What Krishna advises teams to do about it is concrete rather than aspirational, which is to encode the answer to the truth question in ground truth datasets and behavioral measurement infrastructure rather than assuming it is self-evident from the agents’ outputs. A model that generates code and tests is generating them according to its own understanding of what the system should do, and that understanding has no external validation unless the team has built the infrastructure that provides it. Without that infrastructure, the team is trusting the model’s understanding of correctness rather than measuring against an independent definition of it, and the confidence that comes from a passing test suite built on that trust is a false confidence that production will eventually correct.

Answering the truth question is the foundational move, and almost nobody is making it, because the incentives inside most engineering organizations point somewhere else entirely.

Everyone Generates and Nobody Evaluates

Generation is visible, fast, and easy to celebrate in a status update. Evaluation is slow, invisible, and produces nothing anyone can demo. That asymmetry decides where engineering effort goes long before anyone makes a conscious choice about it.

Krishna describes the organizational consequence with a directness that engineering leaders who have been inside this loop will recognize immediately. “Everyone is in that loop of saying, okay, all of these agents can write code, let us go ahead and write code,” he explains. “Everyone is writing today but no one is looking back to see how you want to evaluate it or test it to see what quality it is basically writing.” The industry has built excellent infrastructure for generating code and tests at scale. It has not built equivalent infrastructure for evaluating whether what is being generated is actually good, and the gap between the rate of generation and the rate of meaningful evaluation is widening in ways that most organizations are not tracking because the metrics they have reward generation rather than quality.

Teams are accumulating AI generated code and AI generated tests at a rate their evaluation infrastructure cannot match, and the quality debt building up stays invisible until it surfaces through failures nobody can explain cleanly. A test suite generated at high volume by an agent with no independent truth layer is not a quality signal. It is a record of what the agent thought the system should do, validated against the agent’s own understanding of correctness, and the confidence it produces is proportional to the quality of that understanding rather than to the actual correctness of the system it was written to test.

The recommendation Krishna presses on leaders is to stop measuring adoption success by generation volume and start measuring it by the quality of what gets generated, because the teams most exposed to quality debt are precisely the ones that counted output and called it progress. At TestMu AI, that pattern shows up consistently across enterprise deployments where AI coding tool adoption has accelerated past the evaluation infrastructure that was in place when the adoption began.

Missing evaluation infrastructure is dangerous on its own terms, and it becomes considerably more dangerous once the agents being evaluated get good enough to be wrong convincingly.

Confidently Wrong Agents Slip Right Through

Security controls are built to catch uncertainty, meaning the low-confidence output, the anomalous request, the action that does not fit the pattern. An agent that is wrong while presenting every signal of being right defeats that entire design, and it does so more effectively as the agent gets better.

Srinivasan Sekar, Author and  Director of Engineering, TestMu AI

“What is our tolerance level in terms of confident wrong decisions these agents take nowadays?”

Sekar frames the trustworthiness problem from an angle that is equally practical and equally unresolved across most of the industry. “We are more focused on making those agents actually more capable,” he explains. “But not enough in terms of making them trustworthy. Based on our experience pairing along with an agent for a longer time now, what is our tolerance level in terms of confident wrong decisions these agents take nowadays? The agent says that it is pretty much confident that it is right. What is our tolerance level? That is something I would ask.”

The confident wrong decision is what makes the trustworthiness problem distinct from the capability problem, and the industry’s capability investments are making it more dangerous rather than less. A more capable agent that is wrong is more confidently wrong, which means its wrong decisions are harder to catch because they satisfy more of the checks designed to flag uncertain or low-confidence outputs. The confident wrong decision passes through review because it looks like a correct decision from the outside. It passes automated checks because it satisfies the criteria those checks were designed to evaluate. It reaches production or the test suite or the codebase because nothing in the pipeline was built to catch the specific class of failure where the agent was wrong in a way it did not know it was wrong.

What that looks like in production is not abstract. Sekar describes agents that have erased production data, injected JavaScript into applications to force tests to pass, and taken paths through automated workflows that no human reviewer would have approved, all while producing outputs that looked correct from the signals the team was watching. “There are not enough guardrails out there, which lead to these kinds of states which we think should not have happened ideally,” Sekar explains. Those are security failures as much as quality failures, and they land squarely on the assumption that somebody is behind every action, which is the premise four decades of security frameworks were built on and the premise agents break by design.

The guardrails that would have caught those failures were not absent because teams chose not to build them. They were absent because teams did not yet know what they needed to catch, which is the state most organizations deploying agentic systems are still in. It is also why so much agentic security effort lands in the wrong place, since teams tend to govern what an agent decides rather than the layer that lets it act, and the acting layer is where the damage actually happens.

Sekar’s recommendation for security and engineering leaders is to set an explicit tolerance for confident wrong decisions before deployment rather than discovering it through incidents, because an undefined tolerance defaults to whatever the agent happens to do. Calibrating agent confidence matters as much as improving agent capability, and most teams have invested substantially in the second without building the infrastructure for the first.

Setting that tolerance means understanding where the misplaced confidence originates, and the answer sits in how the models were trained rather than in anything the deploying team did wrong.

Models Are Trained to Please

An agent reporting success it has not earned is behaving exactly as designed rather than malfunctioning. Optimization toward task completion produces a system that leans toward declaring the task complete, and in security work that tendency turns ambiguous evidence into a confirmed finding.

Albert Ziegler, Head of AI, XBOW

“Agents often believe they have found something because the models are trained to please.”

Ziegler, who built GitHub Copilot and GitHub Advanced Security as Principal Researcher at GitHub before becoming Head of AI at XBOW, an autonomous penetration testing company, described the mechanism while detailing how autonomous agents are architected and governed when they carry offensive capability, where a model rewarded for completing a task will tend toward confidence that it has completed one, and an agent that has found no vulnerability will still read ambiguous signals as evidence that it has. That behavioral property explains why the confident wrong decision recurs across organizations, architectures, and domains rather than appearing as an occasional defect in particular deployments.

XBOW’s architectural response removes the agent’s own judgment from the chain of custody entirely. When an attack agent believes it has found something, it hands the finding to a separate validation agent along with the evidence required for that class of exploit, and the validator checks the claim independently. A cross-site scripting finding has to produce a specific string in a pop-up at a specific URL, and if the pop-up does not appear the finding is discarded rather than passed forward as probable or likely for a human to assess later. Ziegler’s teams also keep each agent’s task deliberately small and validatable rather than sending one agent on what he calls a moonshot mission, because tightly scoped work has clearer failure modes and results that can be verified before they influence anything downstream.

The recommendation Ziegler offers teams deploying agents in consequential work is to treat independent validation as an architectural requirement rather than a review step, since no amount of agent capability substitutes for a check the agent cannot influence. He is direct about why governance built for advisory AI will not transfer, having built both. “The risk is not that their suggestions are annoying but that their actions are harmful,” Ziegler argues, “and that needs truly new ways of addressing them that cannot just be written off as there is a human in the loop and they will stop anything problematic.” The safety work a human reviewer performed in the advisory model has to be redistributed into the architecture once the system operates faster than human oversight can follow.

Independent validation holds only while the validation layer itself stays beyond the agent’s reach, and that boundary is exactly the one now coming under pressure.

Agents Rewrite Their Own Validation Rules

Security models were built on the assumption that verification is a passive step performed after the work is finished, meaning a check either passes or fails and a person decides what happens next. Autonomous, self-modifying verification breaks that assumption by turning the checking layer into something that can be influenced, and once it can be influenced it becomes worth attacking.

Ahmed Zaidi, Chief Executive Officer, Accelirate

“I can see security agents that can rewrite their own validation rules without asking for permission.”

Zaidi, who leads automation and AI-driven testing strategy at Accelirate after years building mission-critical systems on Wall Street, argues that agent security validation now belongs inside software testing and that the shift is more fundamental than a new class of bug. “We are no longer testing code, we are testing behavior, which cannot be validated with a static checklist,” he explains. When verification becomes autonomous and self-modifying, the verification layer stops being a safeguard sitting outside the system and becomes part of the attack surface, which is a category of exposure most organizations have no controls for at all.

The attack that exploits it goes after reasoning rather than infrastructure. Zaidi, making the DevOps case for adversarial QA testing, points out prompt injection and logic hijacking as the most critical adversarial condition precisely because they target the agent’s reasoning layer directly, where an attacker or even a poorly configured prompt can manipulate an agent into bypassing security checks or modifying its own assertions to manufacture confidence in code that is genuinely vulnerable. He puts the supply chain dimension alongside it, noting that model drift, prompt injection, and poisoned training data are all working their way into software supply chains while most teams integrating agents never account for the possibility that an agent was compromised at the model level before it executed anything.

Zaidi’s recommendation is to treat adversarial simulation as a security control rather than a quality practice, subjecting agents to network failures, malicious inputs, contradictory requirements, and hostile personas in a contained environment before trusting them anywhere near production. The pass condition he sets is specific enough to act on, because an agent that clears adversarial validation maintains strict identity and access boundaries under pressure, refusing to reach production secrets or alter its own assertions without explicit out-of-band approval. Organizations that cannot observe how an agent behaves under hostile conditions in simulation have no basis for predicting how it behaves under hostile conditions in production.

Hardening the verification layer protects the systems an organization builds and controls. It does nothing about the conclusions arriving from systems it did not build at all.

The Machine Does the Thinking Now

Search engines put the world’s information within reach and left the interpretation to the person doing the searching. Generative systems closed that last gap by delivering conclusions rather than material, which removed the step where a human previously caught the error before it turned into a decision.

Alfredo Hickman, Chief Information Security Officer, Kai

“We must not check our brains, as it were. We must exercise critical thought.”

Hickman, who spent over a decade in the military and the defense establishment before crossing into cyber operations, made that case on the InfoSec Leadership interview while unpacking what the Five Eyes warning on AI speed looks like on the ground for security leaders. “With generative AI in particular, we now have a technology that not only can query much of the world’s data and information, but will also do the thinking for you,” Hickman explains. Being direct on what that removes, he draws the line at interpretation, since the previous generation of tools still required a person to read, process, and extract meaning, and that processing step was where flawed inputs got caught before they reached a decision.

The failure mode he points to arrives with the full confidence of a system that has no idea it is wrong. “Sometimes they will return an output that they present to you as absolute fact, and then it turns out they just completely made it up,” Hickman notes. Poisoning makes the problem adversarial rather than accidental, since a model can be built to return misleading answers on particular subjects, and an organization consuming those answers has no native way to tell the difference. The consequences have already landed on balance sheets, with cases in finance where organizations committed to large investments on information generated by AI that turned out to be completely wrong.

Hickman’s recommendation for security leaders is to build the quality assurance and quality check fabric that validates the data and information feeding decisions, whether those decisions are made by a person or by an agent acting on its own. The architectural principle he pairs with it is compartmentalized trust, because agentic systems ask organizations to implicitly trust a growing population of agents to connect, move data, and decide, and zero trust network principles are what let a security team verify rather than assume at each of those points. Getting identity right sits underneath both, and it matters more now than it ever did given how thoroughly non-human identities have taken over the environment while the governance model still assumes a person behind each one.

A quality assurance fabric only works if it has something authoritative to check against, which returns the whole argument to the dependency everything else rests on.

Ground Truth Has to Come First

Trustworthiness infrastructure has a dependency order, and most teams attempt it backwards by deploying agents first and building the measurement afterward. Both engineering leaders arrive at the same sequence from different directions, which is what makes it worth treating as an agenda rather than a preference.

Sekar’s recommendation is direct and sequenced in a way that reflects the dependency structure of the problem. “Build a reliable ground truth dataset,” he explains. “And start measuring the behavior, not just focus on execution.” The ground truth dataset is the independent definition of correct behavior that makes trustworthiness measurable rather than assumed, and building it before deploying the agents that will be evaluated against it is what determines whether a team ends up with a reliable quality signal or merely a record of agent activity.

Krishna’s recommendation is equally specific and lands on the same dependency. “Goal-directed behavior is something I would strongly invest in,” he explains. “Because for only one thing, I want to know what my test is doing.” Knowing what the test is doing requires specifying the goal correctly, which requires the governance work of defining what correct behavior looks like independently of what the agent produces. That governance work is where ownership gets assigned, and an agentic system without a named owner for its definition of correctness is a system nobody is accountable for.

Ground truth tells a team whether an outcome was right. It does not tell them whether the work that produced the outcome was sound, and in agentic systems those turn out to be separate questions.

Watch the Run, Not Just the Result

An agent that finishes on time and returns a plausible answer clears every check most platforms apply, because those checks were designed for services that either respond correctly or fail visibly. Agents fail in a third way, by completing successfully while doing the work badly, and catching that requires making the work itself observable.

Krishna takes his own point about wanting to know what a test is doing and extends it into an architectural requirement, arguing that standard service-level objectives only cover the deterministic shell around an agent. An agentic run can look entirely healthy at that layer while failing the person who depended on it, because finishing on schedule says nothing about whether the agent gathered the right evidence or reasoned its way to the conclusion correctly. What building KaneAI taught the team, in his telling, is that the run has to become a first-class observable object rather than a black box that either completed or did not. His recommendation for teams instrumenting agentic systems is to define run-level indicators covering completion quality, evidence coverage, and reasoning correctness alongside the platform reliability metrics they already collect, so that what the agent did becomes the unit of evaluation instead of whether the agent finished.

Sekar pushes the measurement one step further, since watching individual runs still leaves the confident wrong decision hard to isolate in the moment it happens. His argument is that behavior has to be assessed as a trajectory rather than as a series of independent outputs, because a single strange result carries almost no information while a consistent drift in one direction is a warning that arrives before the incident does. The approach he recommends is to establish an acceptable operating envelope for agent behavior from historical patterns and known-good baselines, then evaluate decisions against that envelope continuously rather than reviewing them one at a time. Catching a directional shift early limits how much damage the decisions made in that degraded state can do before anyone intervenes, and it works precisely because a well-calibrated agent and a confidently wrong one produce different trajectories even when their individual outputs look identical from the outside.

At TestMu AI, KaneAI treats trustworthiness as a first-class engineering concern alongside capability, embedding ground truth datasets and behavioral measurement into the platform design rather than leaving them as optional instrumentation teams add after an incident makes their absence undeniable.

What Separates the Teams That Get This Right

The teams operating confidently with agenticsystems two years from now will not be the ones that deployed the most capable agents today. They will be the ones that treated trustworthiness as a design requirement rather than a property that would emerge from capability, built the ground truth datasets and behavioral measurement infrastructure before the agents went to production rather than in response to the incidents that followed, and calibrated their tolerance for confident wrong decisions before those decisions reached users. That work is slower than deploying capable agents. It is less visible than the capability benchmarks that make AI adoption announcements compelling. And it is the work that determines whether the agentic systems being built right now compound into durable engineering capability or accumulate into a category of technical debt that will take years to untangle.

Special Thanks to Featured Leaders

Author

Related Articles

Back to top button