cd /news/ai-agents/agents-can-fail-quietly-one-study-fi… · home › topics › ai-agents › article
[ARTICLE · art-177180] src=thepromptindex.com ↗ pub= topic=ai-agents verified=true sentiment=↓ negative

Agents can fail quietly: one study finds confident fabrications when tools fail.

A fault-injection study of tool-using agents found that in 6–26% of 2,100 faulted runs, agents produced confident fabrications after silently ingesting partial tool output, according to an arXiv paper (2611.28341) whose peer-review status has not been checked. The authors built RetryRealistic, a sandbox with a real filesystem enforcing permissions, SQLite databases, a local HTTP server and a constrained shell, spanning 8 tools, 9 fault types and 30 models. A companion paper on unneeded edits analyzed 7,660 resolved GitHub Copilot CLI trajectories from 18 frontier models and found agent code-necessity scores of 0.887 versus 0.864 for developers on SWE-bench Verified and 0.797 versus 0.785 on DeepSWE.

recommendation

Add an explicit validation check at every point an agent consumes a tool result, since 6–26% of 2,100 faulted runs ended in confident fabrication after silent ingestion of partial data.

more in playbook: Verifying model output
by read17 min views4 publishedNov 27, 2026
Agents can fail quietly: one study finds confident fabrications when tools fail.
Image: Thepromptindex (auto-discovered)

The Short Answer #

In 6–26% of 2,100 faulted runs, tool-using agents ended with confident fabrication after silent ingestion.

When you use ChatGPT, Claude or agents, don’t trust that an output looks finished; judge diffs by need, make tool results earn trust, and prefer structured edits you can validate.

These are arXiv papers; we have not checked whether they have been peer reviewed.

The practical move is to add one explicit check where an agent consumes an output, rather than trusting how finished that output looks.

This roundup covers seven papers: a study of unneeded edits in coding-agent patches, a fault-injection study of tool-using agents, HighwayVerse, a chained benchmark for highway inspection, a paper on stale state and stale authority in LLM runtimes, ARRANGE, an agent-skill pipeline for layering vocals, an audit of the SWE-Gym training tasks and SchemaCaps, on tool updates that widen an agent's authority. All seven are arXiv papers; we have not checked whether any has been peer reviewed.

Each section keeps its paper's numbers to itself. The benchmarks differ, so the figures should not be compared across papers.

Bigger agent patches need checking: measure whether edits are needed. #

Agent patches change more lines than developers' patches, which is often read as over-editing. The authors of the unneeded-edits paper tested that reading with a method they call Delta Residue Attribution (DRA). It replays an agent's trajectory, traces each block of the final patch to the step that wrote it, reverts that block and reruns the task tests to see whether the block was needed.

The data was 7,660 resolved GitHub Copilot CLI trajectories from 18 frontier models: 6,728 on SWE-bench Verified and 932 on DeepSWE. The authors graded developer patches with the same method. Only resolved trajectories were studied, so the results describe patches that already passed.

What they found depends on the benchmark:

  • Where the extra edits go. On SWE-bench Verified, most extra edits add tests (61%) and documentation (13%). On DeepSWE, most extra edits are code (58%).
  • How needed the code is. On average, agent code is at least as necessary as developer code. The mean code-necessity score (NP_code ) was 0.887 for agents against 0.864 for developers on SWE-bench Verified, and 0.797 against 0.785 on DeepSWE. On SWE-bench Verified, 11 of 18 models leave less unneeded code than developers do.
  • What the leftover looks like. On SWE-bench Verified, 11% of an agent patch's code units are still unneeded on average, and 89% of those change behavior. Debug steps write almost none of the unneeded code.
  • Model differences. Code necessity differs substantially by model. It is unrelated to resolve rate on SWE-bench Verified and negatively correlated with it on DeepSWE (Spearman -0.59, p = 0.01).

What to do: when you review an agent's diff, split it into code, tests and docs before judging size. Then check the code portion by reverting blocks and rerunning tests. On SWE-bench Verified, the authors pruned using only tests the agent could see (its own and the repository's). That removed most unneeded code but also some needed code (67% recall, 46% precision), and 89% of pruned patches still resolved the task. Asking the agent to audit its own diff was more precise but less effective (36% recall, 66% precision).

When a tool returns partial data, agents tend to build a confident wrong answer on it #

The fault-injection paper studies what tool-using agents do when a tool call goes wrong. The authors built RetryRealistic, a sandbox with a real filesystem enforcing permissions, SQLite databases, a local HTTP server and a constrained shell. It spans 8 tools, 9 fault types and 30 multi-step tasks. They evaluated four agents over 2,100 faulted runs against ground truth.

Recovery was unreliable: 19-68% of runs recovered correctly. In 6-26% of runs the agent ended with a confident fabrication, a wrong answer stated as fact. The fault type mattered more than the model. Faults that return partial data drove fabrication (up to 38%), while hard denials drove honest failure.

The authors call the mechanism silent ingestion. The agent accepts faulted data as valid on first contact, without retrying or flagging it, and then builds on it.

Two findings are directly usable. First, a verification-first Monitor that grounds checks in structured tool outputs and issues corrective directives rather than hard blocks raised correct recovery from 45.6% to 56.3% and cut fabrication from 17.3% to 10.8%. Second, removing chain-of-thought raised fabrication by 8.3 percentage points. The arXiv record notes: "NeurIPS 2026 Workshop: Who Verifies the Agents? Toward Reliable Agent Development."

What to do: tell your agent to check each tool result against what it expected (row counts, required fields, whether a listing looks truncated) before using it. Say that a suspicious result must be reported, not silently used. Keep reasoning enabled for agent runs that read from tools.

Models that spot an anomaly often fail to carry it through to a decision #

HighwayVerse is a benchmark for highway infrastructure inspection, not a coding paper, but its scoring idea applies to any multi-step workflow. It defines a chain: Anomaly Detection, Anomaly Recognition, Condition Analysis and Maintenance Resolution. The data is 14,143 real-world ground and UAV inspection records with 84,858 expert-reviewed question-answer pairs. The authors evaluated 12 open-source and closed-source multimodal models.

Their chained metric, Final, credits a correct maintenance decision only if all earlier stages were also correct. Models scored relatively high when first judging whether an anomaly was present, but their Final scores were markedly lower. The authors read this as models not fully understanding specific anomaly patterns beyond the first judgment. The abstract gives no per-model figures. It also reports that LaneRAG, a training-free retrieval-augmented framework giving hierarchical reference guidance, improved performance consistently across diverse models.

What to do: if you use a vision model to triage images and then act on the result, score the whole chain, not the first yes/no. A model that is good at "is there a problem?" may still be wrong about what the problem is and what to do next.

Recorded approvals and cached state can go stale before they are used #

The consumer-time validity paper is aimed at people who build or operate LLM serving engines and agent runtimes. Its claim is that when one component records a cancellation, rollback or approval and another relies on it later, the record does not prove the later use is valid. The authors call the missing check consumer-time validity.

They show two concrete failures:

  • State. On vLLM with LMCache, an interrupted KV load leaves unwritten blocks indexed, and a host-only counter rewind desynchronizes the GPU position. A second tenant then generated a schema-valid tool call naming the wrong tenant in 10/10 native-fault runs. The call was recorded and not executed.
  • Authority. On a multi-session approval runtime, an unrevoked deferred grant overwrote a newer revision in one admitted live execution.

The authors also show that comparing outputs cannot catch the state problem: a fault-free run diverges at token 30 through BF16 batching alone while attended-KV digests match. Their fix is a set of consumer-bound recovery contracts plus a GPU-free offline trace verifier. It agreed with reference verdicts in 42/42 frozen GPU-matrix scenarios. An allocation-aware repair satisfied 7/7 triggered vLLM fault predicates on a pinned scheduler-case matrix, where upstream PR 61769 satisfied 2/7. Revision-bound dispatch blocked all 160 deterministic conflicting overwrites in a separate dispatcher cohort.

What to do: if your agents hold approvals that get used later, tie each approval to the specific target revision it covered and check that revision at the moment of use. For ordinary chat users this is background, but anyone deploying agents across sessions or tenants should treat it as a design requirement.

Typed, validated edits made LLM changes exact and reviewable #

ARRANGE adds a singing voice to an existing piano recording. The relevant part for practitioners is its structure. An LLM turns plain-English instructions, keyboard notes and vocal references into local edits. Deterministic scripts validate and apply those edits before open audio models render the result. Intermediate artifacts stay readable, and the composer approves at checkpoints. This is the same pattern as an agent skill: a defined sequence with checks between steps.

In a benchmark of 16 revision requests, three draws per request and five LLMs, typed edits reached exact-change correctness of 0.83-0.98. Whole-plan rewriting without ARRANGE instructions scored 0.33-0.69. That comparison changes two things at once, the edit format and the instructions, so it does not isolate the format alone. The arXiv record notes the paper is "Under review at the HUMANE-LLM workshop, ACM IUI 2027 (Helsinki)." The authors say their listening evaluations are their own, and that the contribution is an interaction architecture, not a new singing model or evidence of general usability.

What to do: when you want a model to change part of a document, plan or dataset, ask for a short list of structured edits (what to change, where, to what) rather than a full rewrite. Validate the list with a script or a quick manual read, then apply it.

"Unsolved" often means "the test is wrong", at least in SWE-Gym #

The SWE-Gym paper is about training coding agents with reinforcement learning, where hidden tests decide the reward. The authors audited SWE-Gym with two LLM families, and a suspected error counted only if execution reproduced it.

Among tasks that a 9B base model never solves, 74% had a test that rejects correct fixes (a false negative). Among tasks it sometimes solves, 20% did. The authors repaired or removed such tasks. At equal size and matched difficulty, models trained on the audited tasks scored 2.4 and 2.7 points higher on held-out tasks from SWE-bench Verified and SWE-bench Pro than models trained on the original tasks. Simply dropping the never-solved tasks showed no such gain.

Wrong patches that pass (false positives) made up about a quarter of all passing patches. New tests that catch a quarter of them did not change held-out scores detectably. The authors release SWE-Gym-Verified with 1,087 audited tasks and the audit pipeline.

What to do: most readers will not train models, but anyone evaluating agents on their own test suite can apply the lesson. When an agent keeps failing the same task, run a plausible correct fix against the test before concluding the model is weak. A pass rate tells you whether a task yields reward, not whether the reward is right.

Compatible tool updates can widen an agent's permissions without asking you #

SchemaCaps looks at the JSON input schemas of tools you approve for agents, such as MCP servers. Of 8 surveyed MCP clients and scanners, none was observed or documented to re-approve a tool whose input schema widens; two could not be determined.

The authors define a re-binding rule that asks for re-approval when a schema's declared arguments or undeclared fields widen. The evidence includes a Coq proof of composition and 48 regression tests. On the exact-reference benchmark, the reviewed version of the rule silently re-bound 27 amplifying changes, which is now fixed. In a pilot on 604 releases of 39 public MCP servers, 412 of 580 compatible schema changes widen some coordinate, yet compatibility re-binds them silently. The authors' adjudicated double annotation finds at least 76 that add or widen an authority-bearing argument: 66 of the 84 a name-based labeller flags, plus 10 it misses.

The rule asks 645 re-approvals on existing tools, against 1,197 for pinning the input schema (2,004 with descriptions) and 617 for compatibility. Behavior change behind an identical schema remains out of reach.

What to do: when an MCP server or tool you approved releases an update, diff its input schema before accepting. Look for new or loosened arguments, especially ones that carry authority such as paths, targets or identifiers.

Seven papers side by side #

Paper What it tested Headline number and its condition What to try
Unneeded edits 7,660 resolved Copilot CLI trajectories, 18 models 11% of an agent patch's code units unneeded on average, SWE-bench Verified Split diffs into code, tests and docs; revert blocks and rerun tests
Tool failures 2,100 faulted runs, four agents 6-26% of runs end in confident fabrication; Monitor cut it from 17.3% to 10.8% Make the agent check each tool result on first contact
HighwayVerse 12 multimodal models, 84,858 question-answer pairs Final scores markedly lower than initial detection accuracy (no figures in the abstract) Score multi-step image workflows end to end
Consumer-time validity vLLM with LMCache fault runs; an approval runtime Wrong-tenant tool call in 10/10 native-fault runs Check approvals and cached state at the moment of use
ARRANGE 16 revision requests, three draws, five LLMs Exact-change correctness 0.83-0.98 for typed edits vs 0.33-0.69 for whole-plan rewriting without ARRANGE instructions Ask for structured edits, validate, then apply
SWE-Gym audit Reward-test labels for tasks a 9B base model never solves 74% of never-solved tasks had a test rejecting correct fixes, vs 20% of sometimes-solved Test the test before blaming the model
SchemaCaps 604 releases of 39 public MCP servers 412 of 580 compatible schema changes (in a pilot on 604 releases) widen some coordinate Diff tool schemas before accepting updates

The result we would trust most, and the ones to hold more loosely #

We would trust the SWE-Gym audit finding (74% against 20%) most. A suspected error counted only if running the code reproduced it, so the label comes from execution rather than from a model's opinion. The gap between the two groups is large.

The unneeded-edits study is also on firm ground for its scale and its method of reverting and rerunning. Its "needed" label means the task tests fail without the block, which is a narrower thing than a reviewer's judgment of usefulness.

We would hold the Monitor results and ARRANGE's correctness scores more loosely. The Monitor numbers come from one testbed built by the authors. ARRANGE is an interaction architecture with inspectable intermediate representations, and its listening evaluations are the authors' own.

What changes for you when you use ChatGPT, Claude or agents #

Some of these papers describe failures that look finished but are wrong: one reports confident fabrications, a wrong answer asserted as fact. Four habits follow.

  • Judge diffs by need, not size. Ask the agent to label each change as code, test or documentation, and to name the test that would fail without each code change.
  • Make tool results earn trust. Instruct the agent to compare every tool output with what it expected and to say so when the result is partial, empty or odd. Keep its reasoning on.
  • Prefer small, structured edits. Ask for a list of changes you can read and validate, not a rewrite you have to diff by eye.
  • Check at the point of use. Re-confirm approvals, tool schemas and cached assumptions when the action happens, not when they were recorded.

For more prompts that set up this kind of step-by-step checking, the free Prompt Database is a place to start.

Limitations and caveats: what these papers do not show #

Everything here rests on each paper's abstract, so methods, per-model tables and the full ablations are not covered. None of the papers tests a single combined setup, so the prompt below applies their ideas together but is not itself evaluated.

The coding results come from SWE-bench Verified, DeepSWE and SWE-Gym tasks, which are curated benchmarks, not your repository. The tool-failure study uses a sandbox with injected faults, and real failures may differ. SchemaCaps cannot see behavior changes behind an unchanged schema, and its counts of authority-widening changes depend on the authors' own annotation. HighwayVerse is about highway images, so its lesson about chained scoring is an analogy for other workflows, not a measured result for them. Whether the checks suggested here fit your tools, tasks and models is something only your own tests can show.

Try this prompt #

Use it at the start of a coding or tool-using agent session where you will review the result before anything ships.

You are working on this task: [TASK DESCRIPTION].
You may use these tools: [TOOLS].
Tests can be run with: [TEST COMMAND].

Follow these rules.

1. Before using any tool result, compare it with what you expected (for example row count, required fields, signs of truncation). If it looks partial, empty or inconsistent, retry once or try another tool, and tell me what you saw. Never build an answer on a result you doubt without saying so.

2. Think through your plan before acting. Then list the edits you intend to make as a numbered list: file, location, change, reason. Wait for my approval of the list before applying it.

3. After the work, label every change in your diff as code, test or documentation. For each code change, name the test that would fail if the change were reverted. If you cannot name one, mark it "possibly unneeded".

4. Finish with: what you verified, what you could not verify, and any approval or tool setting you relied on that may have changed since it was granted.

Adapt it to your own task with the Prompt Optimizer.

Sources Used #

This article draws on the following arXiv papers. These are arXiv papers; we have not checked whether they have been peer reviewed. Read the originals for the full methodology and results:

Frequently Asked Questions #

What does the fault-injection study say about tool failures?

In 6–26% of 2,100 faulted runs by four agents, the agent ended with a confident fabrication. Recovery was unreliable overall (19–68%), and the paper attributes fabrication to silent ingestion of partial tool data.

How did the paper’s verification-first monitor affect fabrication?

The Monitor that grounds checks in structured tool outputs raised correct recovery from 45.6% to 56.3%. It also cut fabrication from 17.3% to 10.8%.

What should I add when an agent consumes a tool result?

Add an explicit check where the agent consumes an output rather than trusting how the finished output looks. In the paper, a verification-first Monitor that grounded checks in structured tool outputs and issued corrective directives cut fabrication from 17.3% to 10.8%. Checking results against what you expected, such as row counts or required fields, is this roundup's practical translation of that idea.

Does the roundup claim a universal fix across all seven papers?

No. The papers differ in what they test, so their figures should not be compared across papers. The practical move emphasized across the week is adding an explicit check at consumption time.

Are the papers peer reviewed?

All seven are arXiv papers, and the roundup states that it has not checked whether they have been peer reviewed.

── more in #ai-agents 4 stories · sorted by recency
── more on @github copilot cli 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/agents-can-fail-quie…] indexed:0 read:17min 2026-11-27 · —