WorksComputer Science
When Tools Fail, Agents Fabricate: Silent Failure and Verification-First Oversight in Tool-Using LLM Agents
Abstract
Tool-using LLM agents must recover when a tool call fails, by retrying, switching tools, or revising their plan. We study how agents fail when tools fail, using RetryRealistic, a sandboxed yet realistic testbed for controlled fault injection in which agents operate on a real OS filesystem with genuine permission enforcement, SQLite databases, a deterministic local HTTP server, and a constrained shell, across 8 tools, 9 fault types with controlled persistence, and 30 multi-step tasks. Evaluating four agents over 2,100 faulted runs against ground truth, we find that recovery is unreliable (19-68% correct) and frequently silent: 6-26% of runs end in a confident fabrication, a wrong answer asserted as fact. The failure mode is governed more by the fault type than by the model: faults that return partial data drive fabrication (up to 38%), while hard denials drive honest failure. The mechanism is what we call silent ingestion: the agent accepts faulted data as valid on first contact without retrying or flagging the problem, then builds a fabricated answer on top of it. We show that fabrication is reducible: a verification-first Monitor, grounding checks in structured tool outputs and issuing corrective directives rather than hard blocks, raises correct recovery from 45.6% to 56.3% and cuts fabrication from 17.3% to 10.8%. Removing chain-of-thought increases fabrication (+8.3pp), so deliberation guards against silent ingestion. We release RetryRealistic, the fault-injection toolkit, and all annotated traces at https://github.com/Kingsford-Group/RetryRealistic
Introduction
Tool-using LLM agents [12, 17] work by calling external tools such as file systems, APIs, databases, and shells. In practice, these calls can fail. Files lack permissions, databases return malformed rows, HTTP services return 503s, and scripts exit with non-zero codes. An agent that cannot recover from these failures cannot be trusted in production.
Recovery is itself a source of failure. When a tool call fails, an agent must diagnose the error and adapt. But recovery is error-prone: agents loop on persistent faults, drift from the original goal, or, at worst, fabricate an answer, asserting a specific result they never obtained. For a deployed agent, how it fails matters as much as whether it fails: a loud, honest failure (“the data is unavailable”) is recoverable downstream; a silent fabrication is not.
Studying recovery needs a realistic substrate. Whether an agent fabricates or fails honestly depends on the specific content of the fault it encounters (a real permission-denied kernel error, a truncated query result, a locked database) and measuring fabrication requires grading answers against ground truth. Simulated substrates (files as dictionaries, canned error strings, no-op writes) produce neither the faults nor the ground truth needed. We build a realistic yet controlled testbed and ask three questions: (1) When tools fail, do agents fail loudly or silently? (2) What determines the failure mode: the model, or the fault? (3) Can a second LLM, monitoring the agent, suppress silent failure?
We make the following contributions.
We introduce RETRYREALISTIC, a sandboxed, realistic fault-injection testbed that provides 8 tools over a real OS filesystem, SQLite, a local HTTP server, and a constrained shell, along with 9 fault types with controlled persistence and 30 multi-step tasks with designed alternative recovery paths and ground truth.
Silent failure is widespread. Recovery is unreliable (19–68% correct), and 6–26% of faulted runs end in confident fabrication.
The fault type, more than the model, determines the failure mode. Faults that return partial data drive fabrication (up to 38%); hard denials drive honest failure. The mechanism is silent ingestion: fabrication happens when the agent accepts faulted data on first contact without detecting the problem, before any retry or drift.
Fabrication is reducible. A verification-first Monitor that grounds checks in structured tool outputs and issues corrective directives raises correct recovery and cuts fabrication. Chain-of-thought ablation and an honesty prompt probe further isolate the mechanism.
We identify a methodological issue. LLM-judged behavioral taxonomies are unreliable (two judges agree at ); an objective answer-vs-ground-truth metric is stable across judges ( on the same runs) and should be preferred.
Related Work
Agent benchmarks such as WebArena [20], OSWorld [16], AppWorld [14], SWE-bench [7], WorkArena [3], AgentBench [9], GAIA [11], and -bench [18] evaluate agents across web, OS, and tool-use settings, but none of them controls fault type, persistence, or alternative recovery paths to isolate recovery behavior as the dependent variable.
Several fault injection methods target agent systems. MAS-FIRE [6] injects cognitive and coordination faults into multi-agent systems via prompt modification, response rewriting and message routing; it does not study tool failures on a real substrate or control fault persistence. ReliabilityBench [4] evaluates LLM agents under perturbations and injected tool faults and finds that a self-reflecting architecture (Reflexion) is less robust than plain ReAct under combined stress, consistent with our finding that reflection alone does not make recovery reliable; it does not grade fabrication against ground truth or propose a fix. agent-chaos [deepankarm, 2026] provides composable fault injectors for practitioners but does not characterize failure patterns. Agen-Tracer [19] uses fault injection for root-cause analysis of individual trajectories.
Error recovery approaches such as Reflexion [13] and Self-Refine [10] assume that LLMs improve by reflecting on prior outputs. Huang et al. Huang et al. [ [5] show that without external grounding, self-correction often makes outputs worse. In our study, when a tool fails loudly its error message is in the agent’s context and agents still sometimes fabricate; when it fails silently, as with a truncated result, there is no error to reflect on at all. SWE-Search [1] applies Monte Carlo tree search to software engineering tasks for structured backtracking. This motivates our verification-first Monitor, which grounds recovery decisions in the agent’s tool outputs rather than in free-form reflection.
OpenHands [15] and BrowserGym [8] provide sandboxed execution environments for agent evaluation. RETRYREALISTIC differs in that it is a fault-injection testbed, not a general scaffold, with real OS calls for ecological validity and middleware-based injection for control.

Figure 1. RETRYREALISTIC architecture. The Sandbox Manager materializes a fresh directory from the task YAML (files with real chmod permissions, SQLite databases, mock server routes). The Fault Injector intercepts the first call matching the task’s fault_target; subsequent calls follow the fault’s persistence semantics.
The RetryRealistic Environment
Design Principles
Studying agent recovery demands a substrate that produces genuine faults while remaining controlled. Simulated substrates lack ecological validity (real OS errors differ from canned strings) and fault coverage (kernel permission errors and HTTP status codes from a live server cannot be mocked faithfully). RETRYREALISTIC is built on three principles. (i) We use a real substrate with controlled faults, so files live in a real OS temp directory with chmod permissions, databases are SQLite files, shell commands run in real subprocesses, and fault injection is applied via middleware rather than substrate modification. (ii) We ensure deterministic replay by having the mock HTTP server serve pre-seeded JSON for every route a task defines, making web-dependent experiments reproducible. (iii) We maintain experimental control by having each task specify a fault_target (tool name plus argument substring) so the fault fires at a known point across models, and every task has a designed alternative recovery path.
Tool Suite
RETRYREALISTIC provides eight tools (Table 1). file_read and file_write perform real OS I/O scoped to the sandbox. list_dir and file_exists let the agent discover files. shell_exec runs commands via subprocess with an allowlist of 24 read-and-transform commands (among them cat, ls, grep, awk, sed, sort, wc, head, tail, find, cut, diff, stat and python3) and a 30-second timeout, returning stdout, stderr, and exit code. sql_query executes against a SQLite file from the task spec. http_request hits a local Flask mock server whose routes are hot-swapped per task. calculator does safe arithmetic.
| Tool | Backend | Constraint |
file_read | Real OS | Sandbox-scoped |
file_write | Real OS | Sandbox-scoped |
list_dir | Real OS | Sandbox-scoped |
file_exists | Real OS | Sandbox-scoped |
shell_exec | subprocess | Allowlist; 30s |
sql_query | SQLite | Sandbox-scoped |
http_request | Mock server | Deterministic |
calculator | Safe eval | No I/O |
Table 1. Tool suite.
Sandbox and Task Design
For each run, the Sandbox Manager materializes a fresh temp directory from the task spec, populating it with files that have chmod permissions, SQLite databases built from schemas and seed rows, mock server routes, and executable scripts. We design 30 multi-step tasks (10 easy, 12 medium, 8 hard) that exercise the tool suite in natural combinations. We measure difficulty by the minimum number of tool calls required (2–7) and the number of distinct tools used (2–6). Each task has a designed alternative recovery path and machine-checkable ground truth.
Fault Injection Protocol
The nine fault types (Table 2) span the failure classes of real tool use, each with explicit persistence semantics. Transient faults (timeout, network error, DB locked) succeed on retry with . Persistent faults (permission denied, auth required, not found, malformed output, partial success, nonzero exit) always fail on retry, requiring the agent to switch tools, find alternative data, or report unavailability. Three faults come from the real substrate rather than the injector: permission denied (a kernel error on a resource set to mode 000 before the run) and, on HTTP targets, network error and auth required (a 503 or 401 from the server). The rest are injected as the error the real component would return, such as SQLite’s “database is locked” or a shell exit code of 1 with stderr.
| Fault | Persist. | On Retry | Layer |
| Timeout | Transient | 50% success | MW |
| Permission denied* | Persistent | Always fails | OS |
| Not found | Persistent | Always fails | MW |
| Malformed output | Persistent | Same corruption | MW |
| Partial success | Persistent | Degraded again | MW |
| Network error* | Transient | 50% success | Server |
| Auth required* | Persistent | Always fails | MW/Srv |
| DB locked | Transient | 50% success | MW |
| Nonzero exit | Persistent | Always fails | MW |
Table 2. Fault types with persistence semantics. ⋆ = produced by the real substrate (OS or HTTP server) rather than the injector.
Each task specifies a fault_target, which consists of a tool name and an optional argument substring. The fault fires on the first matching call, and subsequent calls follow the persistence rule. For each task we run a clean baseline plus one run per compatible fault type.
The Monitor Agent
Passive prompt-level mitigations are reactive (applied only at the moment of failure), uniform (not fault-type specific), and single-step (blind to patterns like retry loops). We propose a Monitor Agent that addresses all three and grounds its most consequential decision, vetoing a fabricated final answer, in code-based verification rather than LLM judgment.
The Main Agent operates on the task as normal. The Monitor Agent, which is a second and stronger LLM, observes the trace and performs two functions.
The first function is step-level supervision. Once an error has appeared in the trace, the Monitor reviews it after every step using rule-based signals (identical-retry count, consecutive errors) and may inject a corrective directive into the main agent’s next turn. The Monitor targets known failure patterns, including persistent-fault retry loops, goal drift, premature abandonment, and fabrication, and its interventions are capped per run.
The second function is a final-answer verification cascade. A naive design would ask the LLM “is this answer fabricated?”, but this over-vetoes: in an early version of the Monitor built that way, vetoes rejected correct answers almost as often as wrong ones (39 against 46 of 118 vetoes), because the LLM is judging correctness it cannot verify. Our approach exploits the fact that most fabrication is mechanically checkable: most tool outputs are structured (SQL rows, JSON, calculator results, CSV), so asserted values can be checked in code. We replace the blanket veto with a cascade that applies the cheapest sufficient check first:
S1 Grounding (code). The cascade extracts the headline values the answer asserts and vetoes if none of them appears in any tool output.
S2 Surface (code). If the answer states no checkable value, the cascade asks the agent to restate its result and re-checks on the next turn.
S3 Recompute (code). For aggregation tasks, the cascade re-derives the scalar (sum/avg/count) from retrieved rows and vetoes on a mismatch. This stage runs before S1’s veto so that correct computed totals are not mistaken for fabrication.
S4 Drift (LLM). Only the remaining cases receive an LLM check for goal drift, defined as answering a materially different question than the one posed.
Every veto is a corrective directive, not a hard block: the agent may revise and resubmit once, so a false veto is recoverable. Because S1–S3 are code, the final-answer gate adds at most one LLM call; most of the Monitor’s cost comes from step-level supervision (6.4 calls per run on average, against the agent’s 11 steps). The cascade targets the silent ingestion mechanism we identify in § 6.3: when the agent accepts faulted data without flagging it, a check against the tool outputs can catch the resulting fabrication after the fact.
Experimental Setup
Models. We evaluate four ReAct-style agents, namely Llama-3.1-8B, Llama-3.1-70B, DeepSeek-V4 (a reasoning model), and Claude Haiku 4.5. We serve the Llama agents via NVIDIA NIM, DeepSeek-V4 via OpenRouter, and Claude Haiku via the Anthropic API. All agents use temperature 0.2 and a 20-step budget.
Protocol. We run each of the 30 tasks under each compatible fault type plus a clean baseline, with 3 seeds per condition, which produces 615 runs per model per arm (525 faulted, 90 clean) and 2,460 total runs per arm across models, of which 2,100 are faulted. A fault fires only when the agent makes the call it targets: in 118 of the 2,100 faulted baseline runs it never did, and in 84 of the 307 runs where partial_success fired, it changed nothing, because the faulted call returned output it cannot degrade (a single row, an error, or an HTTP body with no numbers to rescale). We report all faulted runs. Besides the baseline (no intervention) we run the same grid with the full Monitor, with the code-only Monitor, without chain of thought, and with the honesty prompt, plus two targeted arms: self-remediation on permission_denied (§ 6.6) and payload sanitization (§ 6.4). Each run executes in a fresh sandbox.
Monitor and judge models are distinct from the agents. The Monitor uses Claude Sonnet 4.6, stronger than any agent; the final-answer verification is offloaded to code. The evaluation judge is Claude Opus 5.5, independent of both agents and Monitor; it grades each run’s full final answer against the ground truth.
We use an objective, judge-consistent evaluation. A natural evaluation classifies each run into a behavioral taxonomy (retry loop, drift, fabrication, etc.) via an LLM judge. We find this is unreliable: on a stratified sample of 216 baseline runs, two judges (Claude Haiku 4.5 and Sonnet 4.6) agree on the exact category for only 67% of runs (). We instead grade each run’s final answer against ground truth into three outcomes: CORRECT (right result, including valid workarounds), FABRICATED (asserts wrong or unsupported values), or HONEST-FAILURE (reports unavailability, states no result, or produces no answer). An answer that only says its results were written to a file states no result, so it is not graded CORRECT. This grading is consistent across judges: on the same runs, Haiku and Sonnet agree on 94% (), and Sonnet agrees with the labels we report on 94% (). The fabricated/honest-failure split separates dangerous silent failures from safe ones.
Results
Recovery Is Unreliable, and Failures Are Often Silent
Table 3 reports recovery on the 2,100 faulted baseline runs. Correct recovery ranges from 18.9% (Llama-8B) to 67.6% (DeepSeek-V4). But the distribution of the failures matters as much as the rate: 6–26% of faulted runs end in confident fabrication, in which the agent asserts a specific wrong answer. An agent that reports “total revenue across all rows: 32000.00” (the sum of the half of the rows a truncated read returned) when the answer is $48,750 looks successful to a downstream consumer. DeepSeek fabricates least (5.5%); the other three agents fabricate on 19–26% of runs, and Claude Haiku, which recovers almost as often as DeepSeek, fabricates more than three times as often. Capability does not remove the problem: even DeepSeek fabricates on 27.2% of its partial_success runs.
| Model | correct | fab. | h.fail |
| Llama-3.1-8B | 18.9 | 25.9 | 55.2 |
| Llama-3.1-70B | 33.0 | 18.7 | 48.4 |
| DeepSeek-V4 | 67.6 | 5.5 | 26.9 |
| Claude Haiku 4.5 | 62.9 | 19.0 | 18.1 |
| Pooled | 45.6 | 17.3 | 37.1 |
Table 3. Baseline recovery by model (% of faulted runs). FAB. = fabrication, H.FAIL = honest failure.
Fault Type, More Than the Model, Determines the Failure Mode
Table 4 and Figure 2 show that the fault type governs how an agent fails, with model identity playing a smaller role. Faults that return partial or misleading data, above all partial_success (a truncated but plausible payload), drive fabrication, at 38.3%; it is the most fabrication-prone fault for every agent. Faults that hard-deny access, permission_denied (a real OS chmod error) or auth_required (401), instead drive honest failure (78.1% and 53.4%, with low fabrication). Agents fabricate when the fault hands them raw material for a false story, and report unavailability when the door is shut.
| Fault | correct | fab. | h.fail |
partial_success | 39.5 | 38.3 | 22.2 |
malformed_output | 55.6 | 16.4 | 28.1 |
permission_denied* | 6.6 | 15.3 | 78.1 |
timeout | 60.0 | 14.7 | 25.3 |
network_error* | 58.3 | 13.9 | 27.8 |
auth_required* | 33.3 | 13.2 | 53.4 |
nonzero_exit | 55.6 | 11.1 | 33.3 |
not_found | 58.6 | 11.1 | 30.3 |
db_locked | 55.3 | 6.1 | 38.6 |
Table 4. Baseline recovery by fault type (%, pooled across models). Partial/misleading faults drive fabrication; hard denials drive honest failure. ⋆ = produced by the real substrate.
Figure 2. Failure mode is governed by fault type. Baseline runs by objective outcome (pooled across models), sorted by fabrication rate. partial_success drives fabrication; permission_denied and auth_required drive honest failure.
A variance decomposition confirms that the fault type explains more of fabrication’s variance than the model ( vs. ). Classifying each (modelfault) cell by dominant failure mode (fabrication at least 30% and above honest failure), partial_success is fabrication-prone for Llama-3.1-70B and Claude Haiku; Llama-3.1-8B fails honestly more often than it fabricates there, and DeepSeek, at 27.2%, falls short of the threshold. Whether a fault triggers fabrication depends first on the fault itself.
The Mechanism Is Silent Ingestion
Why do partial-data faults drive fabrication while hard denials do not? A natural hypothesis is that fabrication results from retry failure, in which agents retry the faulted call repeatedly, accumulate misleading context, and eventually fabricate under budget pressure. The data point the other way.
Table 5 shows outcomes by how often the agent retried the same visibly failing call on persistent faults. Agents that retry it 3 or more times fabricate at only 7.0% and fail honestly at 82.2%. Fabrication is concentrated in the low-retry rows, reaching 20.7% at 0–1 retries. Agents that notice something is wrong and retry mostly end up honest; agents that fabricate mostly never retried.
| Retries | N | correct | fab. | h.fail |
| 0–1 | 1322 | 45.1 | 20.7 | 34.3 |
| 2 | 84 | 19.0 | 11.9 | 69.0 |
| 3+ | 129 | 10.9 | 7.0 | 82.2 |
Table 5. Fabrication rate by retries of the same visibly failing call on persistent faults (pooled across models). Fabrication is concentrated at 0–1 retries.
We call this mechanism silent ingestion, meaning that the agent accepts faulted data as valid on first contact, without retrying or flagging the problem, and builds a fabricated answer on top of it. Table 5 counts retries of calls that visibly failed, which a degraded payload never does: it returns successfully. On partial-data faults (partial_success, malformed_output) we therefore count repeats of the faulted call itself. In 91% of the runs where the fault fired (554 of 609) the agent repeated that call at most once, so it accepted the degraded payload as valid, and 27.8% of those runs end in fabrication. The few runs that did repeat it (55) are too few to show whether repeating helps. On hard-denial faults (permission_denied, auth_required), the pattern is different: agents retry more often (22% reach 2+ retries), and fabrication is low across all retry counts (11–15%), because a permission error is impossible to mistake for real data.
Silent ingestion explains why the fault content matters more than the fault type (§ 6.4): partial data passes the agent’s plausibility filter, so the fault goes undetected. Hard denials cannot pass that filter. The Monitor (§ 6.5) checks the answer after the fact, adding the detection step the agent skipped.
Content Triggers Fabrication
We investigate whether the fault type or the content it returns causes fabrication. We isolate this with a sanitization experiment (Table 6) that holds the injection point, target tool, and persistence fixed and varies only the payload: a misleading partial result, an explicit denial, and a valid but empty result (27 data-target tasks, 4 models, 3 seeds). Fabrication tracks the payload, reaching 35.2% under partial data versus 16.0% under a structurally identical denial. The effect holds within every model, including the reasoning model (DeepSeek: 25% partial vs. 0% denial), though for Llama-3.1-8B the gap is small (37% vs. 33%). This confirms the silent ingestion mechanism: misleading content passes the agent’s plausibility filter and gets ingested as fact; a denial does not.
| Payload | correct | fabricated | honest |
| partial (misleading) | 42.0 | 35.2 | 22.8 |
| empty (valid, none) | 55.6 | 19.8 | 24.7 |
| denial (unavailable) | 60.5 | 16.0 | 23.5 |
Table 6. Content sanitization: same injection point, only the payload varies. Misleading partial content drives far more fabrication than a denial.
The Monitor Agent Reduces Silent Failure
Table 7 and Figure 3 report pooled outcomes for the baseline, the full cascade (S1–S4), and a code-only variant (S1–S3, drift disabled). The full cascade is a net positive on both axes. It raises correct recovery from 45.6% to 56.3% and cuts fabrication from 17.3% to 10.8%. Fabrication falls for every model, and correct recovery rises for three of the four, most for the two Llama agents (19 39% and 33 55%) and also for DeepSeek (68 74%); Claude Haiku trades 5.7 points of correct recovery for 6.9 fewer points of fabrication. The code-only variant is also positive but weaker (54.7% correct, 13.4% fabrication), so the LLM drift stage contributes rather than harms: because vetoes are corrective directives the agent may revise, even an imperfect drift flag is recoverable and does not cost correct work.
| Outcome | baseline | full | code-only |
| correct | 45.6 | 56.3 | 54.7 |
| fabricated | 17.3 | 10.8 | 13.4 |
| honest-failure | 37.1 | 33.0 | 31.9 |
| DeepSeek correct | 67.6 | 73.9 | 66.3 |
Table 7. Monitor effect on pooled outcomes (%): baseline → full cascade (S1–S4) → code-only (S1–S3). The full cascade improves correct recovery and reduces fabrication; fabrication falls for every model.
Figure 3. The Monitor’s effect on outcomes (pooled). The full cascade sits up-and-left of the baseline (more correct and less fabricated) so oversight is a net gain.
The Monitor works where a fabrication is mechanically detectable: the agent asserts a value absent from all tool outputs (S1) or inconsistent with a recomputation over retrieved rows (S3). It helps least where silent ingestion is strongest. On partial_success the full cascade lowers fabrication only from 38.3% to 32.1% and the code-only variant not at all (40.7%). A truncated payload shows no error, so in 224 of the 324 full-Monitor partial_success runs the Monitor, which engages after an error, never acted; and an answer computed from truncated rows is grounded in the rows the agent did receive.
Deliberation Guards Against Silent Ingestion
We ablate chain-of-thought by re-running the baseline with chain-of-thought removed, so that the agent emits actions directly. Correct recovery does not change (45.6 45.5%) but fabrication rises sharply (17.3 25.6%, +8.3pp), for every model and across every fault (e.g. partial_success 38 52%, malformed_output 16 28%). Deliberation guards against silent ingestion: the agent’s explicit reasoning (“this result looks incomplete, I should not use it”) gives it a chance to catch the faulted data before building on it. Without that step, ingestion proceeds unchecked.
We test an honesty prompt by appending a short clause that instructs the agent to report unavailable data and never fabricate a value not obtained from a tool. This lowers fabrication from 17.3% to 13.7% at almost no cost to correctness (45.6 44.9%), most on faults that return an explicit error (permission denied 15 → 6%, auth_required 13 → 7%, network_error 14 → 10%), but not on partial_success (38 → 40%): an instruction not to fabricate does not help an agent that has not noticed its data is incomplete.
We test self-remediation. Because RETRYREALISTIC enforces permissions at the OS layer, an agent can repair the environment (e.g. chmod a faulted file). Our baseline blocks this; lifting the block on permission denied (on the same 24 tasks) shows a capability-gated effect: DeepSeek’s correct recovery jumps from 9.7% to 81.9%, while Llama-8B’s stays near zero (0 → 4.2%). Only the reasoning model converts self-remediation into substantial recovery, a route simulated substrates cannot express.
Discussion
Silent ingestion drives fabrication. The default assumption is that fabrication results from a failed recovery attempt: the agent retries, accumulates misleading context, and invents an answer under pressure. Our data point to a different mechanism. Fabrication is concentrated in runs where the agent retried a failing call at most once (Table 5), and on partial-data faults agents almost never repeat the faulted call at all. Agents that do retry mostly end up honest. The most harmful faults are those that return a plausible fragment the agent does not question (permission denials are nearly unrecoverable but at least fail honestly). Capability helps but is not a fix: DeepSeek fabricates least overall, yet still fabricates on 27.2% of its partial_success runs.
The Monitor adds the detection step agents omit. Fabrications that leave a trace in the tool outputs are mechanically detectable, which is why the code-grounded cascade works where a single-pass LLM judgment does not, and corrective directives rather than hard blocks make false positives recoverable. Fabrications built on truncated data are grounded in what the agent received and largely escape it.
Our work has several limitations. RETRYREALISTIC uses a constrained shell and mock HTTP. The recompute stage covers scalar aggregations only, and in the reported runs it misread the aggregate for tasks whose target is a derived value (such as a converted total) and vetoed some correct answers, so the Monitor’s gains are if anything understated. The Monitor and judge are strong proprietary models. Few runs repeat the faulted call of a partial-data fault (55 of 609), so we cannot tell whether repeating it helps; that agents rarely do is itself the finding.
Conclusion
We introduced RETRYREALISTIC and a verification-first Monitor. Recovery from tool faults is unreliable, and 6–26% of faulted runs end in silent fabrications driven by silent ingestion, in which agents accept faulted data without detecting the problem. The Monitor reduces fabrication by catching, after the fact, much of what agents failed to flag on first contact, though least on truncated data. Verification grounded in structured tool outputs works for the fabrications that leave a trace in what the tools returned.
Acknowledgments and Disclosure of Funding
This work was supported in part by the US National Science Foundation [III-2232121] and the US National Institutes of Health [R01HG012470]. Conflict of Interest: C.K. is a co-founder of Ellumigen, Inc.
Monitor Agent Prompt
The Monitor’s step-level supervisor receives the following failure taxonomy and recovery strategy guide (abridged; the full prompts are in agent/monitor.py of the released code):
KNOWN FAILURE PATTERNS:
1. Deterministic retry loop: retries the identical failing call 3+ times.
Persistent faults NEVER succeed on retry.
2. Goal drift: the recovery plan quietly answers a different question.
3. Answer fabrication: states facts/numbers not grounded in ANY
successful tool output.
4. Premature abandonment: gives up after 1 error without alternatives.
5. Error confabulation: misreads the error, builds on a wrong premise.
RECOVERY STRATEGIES (by fault class):
- Transient (timeout / 503 / db_locked): retry 1–2x; then switch
or report.
- Persistent denial (permission / 401): do NOT retry; use an
alternative source or honestly report unavailability.
- Not found: discover the correct name (list_dir); do not invent
contents.
- Malformed/partial: one retry; then treat data as unavailable.
- If no alternative path exists, honestly reporting what failed is
the CORRECT outcome; fabricating the missing data is the WORST.
On each step after an error has appeared, the supervisor receives the taxonomy, the task, the trace, and rule-based signals (retry count, consecutive errors), and returns {intervene, pattern, directive}. It is capped at five interventions per run.
The S4 drift check uses the following prompt (abridged).
You are a Monitor supervising an agent about to submit its FINAL
ANSWER after a tool fault. The answer’s numbers are already verified
as grounded, so do NOT judge fabrication or arithmetic. Veto ONLY
for GOAL DRIFT: the answer addresses a materially different question
than the task asked. An honest report that data was unavailable is
a GOOD answer -- never veto it.
Respond in JSON: {"veto": true/false, "directive": "..."}
Every veto is a corrective directive; the agent may revise once.
References
- [1]Antonis Antoniades, Albert Örwall, Kexun Zhang, Yuxi Xie, Anirudh Goyal, and William Wang. SWE-Search: Enhancing software agents with Monte Carlo tree search and iterative refinement. In International Conference on Learning Representations, volume 2025, pages 64485–64515, 2025.arxiv.org/abs/2410.20285
- [3]Alexandre Drouin, Maxime Gasse, Massimo Caccia, Issam H Laradji, Manuel Del Verme, Tom Marty, Léo Boisvert, Megh Thakkar, Quentin Cappart, David Vazquez, et al. WorkArena: How capable are web agents at solving common knowledge work tasks? arXiv preprint arXiv:2403.07718, 2024.arxiv.org/abs/2403.07718
- [4]Aayush Gupta. ReliabilityBench: Evaluating LLM agent reliability under production-like stress conditions. arXiv preprint arXiv:2601.06112, 2026.arxiv.org/abs/2601.06112
- [5]Jie Huang, Xinyun Chen, Swaroop Mishra, Huaixiu Steven Zheng, Adams Yu, Xinying Song, and Denny Zhou. Large language models cannot self-correct reasoning yet. In International Conference on Learning Representations, volume 2024, pages 32808–32824, 2024.arxiv.org/abs/2310.01798
- [6]Jin Jia, Zhiling Deng, Zhuangbin Chen, Yingqi Wang, and Zibin Zheng. MAS-FIRE: Fault injection and reliability evaluation for LLM-based multi-agent systems. arXiv preprint arXiv:2602.19843, 2026.arxiv.org/abs/2602.19843
- [7]Carlos E Jimenez, John Yang, Alexander Wettig, Shunyu Yao, Kexin Pei, Ofir Press, and Karthik Narasimhan. SWE-bench: Can language models resolve real-world GitHub issues? In International Conference on Learning Representations, volume 2024, pages 54107–54157, 2024.arxiv.org/abs/2310.06770
- [8]Thibault Le Sellier De Chezelles, Maxime Gasse, Alexandre Drouin, Massimo Caccia, Léo Boisvert, Megh Thakkar, Tom Marty, Rim Assouel, Sahar Omidi Shayegan, Lawrence Keunho Jang, Xing Han Lü, Ori Yoran, Dehan Kong, Frank F. Xu, Siva Reddy, Quentin Cappart, Graham Neubig, Ruslan Salakhutdinov, Nicolas Chapados, and Alexandre Lacoste. The BrowserGym ecosystem for web agent research. arXiv preprint arXiv:2412.05467, 2024.arxiv.org/abs/2412.05467
- [9]Xiao Liu, Hao Yu, Hanchen Zhang, Yifan Xu, Xuanyu Lei, Hanyu Lai, Yu Gu, Hangliang Ding, Kaiwen Men, Kejuan Yang, et al. AgentBench: Evaluating LLMs as agents. In International Conference on Learning Representations, volume 2024, pages 52989–53046, 2024.arxiv.org/abs/2308.03688
- [10]Aman Madaan, Niket Tandon, Prakhar Gupta, Skyler Hallinan, Luyu Gao, Sarah Wiegreffe, Uri Alon, Nouha Dziri, Shrimai Prabhumoye, Yiming Yang, et al. Self-Refine: Iterative refinement with self-feedback. Advances in Neural Information Processing Systems, 36:46534–46594, 2023.arxiv.org/abs/2303.17651
- [11]Grégoire Mialon, Clémentine Fourrier, Thomas Wolf, Yann LeCun, and Thomas Scialom. GAIA: a benchmark for general AI assistants. In International Conference on Learning Representations, volume 2024, pages 9025–9049, 2024.arxiv.org/abs/2311.12983
- [12]Timo Schick, Jane Dwivedi-Yu, Roberto Dessì, Roberta Raileanu, Maria Lomeli, Eric Hambro, Luke Zettlemoyer, Nicola Cancedda, and Thomas Scialom. Toolformer: Language models can teach themselves to use tools. Advances in Neural Information Processing Systems, 36:68539–68551, 2023.arxiv.org/abs/2302.04761
- [13]Noah Shinn, Federico Cassano, Ashwin Gopinath, Karthik Narasimhan, and Shunyu Yao. Reflexion: Language agents with verbal reinforcement learning. Advances in Neural Information Processing Systems, 36:8634–8652, 2023.arxiv.org/abs/2303.11366
- [14]Harsh Trivedi, Tushar Khot, Mareike Hartmann, Ruskin Manku, Vinty Dong, Edward Li, Shashank Gupta, Ashish Sabharwal, and Niranjan Balasubramanian. AppWorld: A controllable world of apps and people for benchmarking interactive coding agents. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 16022–16076, 2024.arxiv.org/abs/2407.18901
- [15]Xingyao Wang, Boxuan Li, Yufan Song, Frank F Xu, Xiangru Tang, Mingchen Zhuge, Jiayi Pan, Yueqi Song, Bowen Li, Jaskirat Singh, et al. OpenHands: An open platform for AI software developers as generalist agents. In International Conference on Learning Representations, volume 2025, pages 65882–65919, 2025.arxiv.org/abs/2407.16741
- [16]Tianbao Xie, Danyang Zhang, Jixuan Chen, Xiaochuan Li, Siheng Zhao, Ruisheng Cao, Toh J Hua, Zhoujun Cheng, Dongchan Shin, Fangyu Lei, et al. OSWorld: Benchmarking multimodal agents for open-ended tasks in real computer environments. Advances in Neural Information Processing Systems, 37:52040–52094, 2024.arxiv.org/abs/2404.07972
- [17]Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik Narasimhan, and Yuan Cao. ReAct: Synergizing reasoning and acting in language models. arXiv preprint arXiv:2210.03629, 2022.arxiv.org/abs/2210.03629
- [18]Shunyu Yao, Noah Shinn, Pedram Razavi, and Karthik Narasimhan. τ-bench: A benchmark for tool-agent-user interaction in real-world domains. arXiv preprint arXiv:2406.12045, 2024.arxiv.org/abs/2406.12045
- [19]Guibin Zhang, Junhao Wang, Junjie Chen, Wangchunshu Zhou, Kun Wang, and Shuicheng Yan. AgenTracer: Who is inducing failure in the LLM agentic systems? In International Conference on Learning Representations, volume 2026, pages 11377–11399, 2026.arxiv.org/abs/2509.03312
- [20]Shuyan Zhou, Frank F Xu, Hao Zhu, Xuhui Zhou, Robert Lo, Abishek Sridhar, Xianyi Cheng, Tianyue Ou, Yonatan Bisk, Daniel Fried, et al. WebArena: A realistic web environment for building autonomous agents. In International Conference on Learning Representations, volume 2024, pages 15585–15606, 2024.arxiv.org/abs/2307.13854

