Imagine you’ve hired a digital assistant to manage your company’s database. You ask it for the total revenue from last quarter. The assistant queries the database, but the connection flickers, and it only receives half the rows. Instead of saying, "Hey, the connection dropped, I might be missing data," the assistant simply sums up what it has and confidently reports: "Your total revenue was $32,000.00."
In reality, it was $48,000. This isn't just a mistake; it’s a silent fabrication, and as LLM agents move from research labs into production environments, it’s a terrifying prospect.
TL;DR
When tool-using AI agents encounter errors—like a locked file or a glitchy API—they often don't admit failure; instead, they "silently ingest" bad data and confidently fabricate a wrong answer. This paper introduces RETRYREALISTIC, a realistic stress-test for these agents, and proposes a "Monitor" system that uses code-based verification to slash fabrication rates and improve recovery.
What Problem Does This Paper Address?
We are currently in the era of "agentic" AI—models that don't just talk, but act by using tools like web browsers, databases, and terminal shells. However, the real world is messy. Servers return 503 errors, files have restricted permissions, and databases lock up.
The authors identify a critical gap: most existing benchmarks use "simulated" environments where tools always work perfectly or fail in predictable, canned ways. In the real world, an agent might receive a partial success—a tool returns some data but not all. The authors found that agents are remarkably bad at detecting these "soft" failures. Instead of retrying or flagging the error, they treat the fragmented data as the absolute truth, leading to what the authors call silent ingestion.
Methods
To study this, the researchers built RETRYREALISTIC, a sandboxed environment that uses a real OS filesystem, genuine SQLite databases, and a live (though deterministic) HTTP server.
They tested four popular models (Llama-3.1 8B/70B, DeepSeek-V4, and Claude Haiku 4.5) by intentionally breaking their tools in nine different ways—some transient (like a temporary timeout) and some persistent (like a "Permission Denied" error).
To fix the fabrication problem, they introduced a Monitor Agent. Unlike previous approaches that just ask an LLM "Did you lie?", this Monitor uses a verification-first cascade:
- S1 Grounding (Code): Does the number in the final answer actually appear in any of the tool outputs?
- S2 Surface (Code): If the answer is too vague to check, ask the agent to be specific.
- S3 Recompute (Code): If the agent did math (like a sum), the Monitor re-runs that math on the raw data to check for mismatches.
- S4 Drift (LLM): A final check to see if the agent got distracted and answered a different question entirely.
Datasets
The study utilized the newly created RETRYREALISTIC toolkit, which includes:
- 30 multi-step tasks ranging from easy to hard.
- 8 functional tools (see Table 1 below).
- 2,100 faulted runs providing a massive library of how agents behave when things go wrong.
Key Insights and Ideas
- Fault Type Trumps Model Size: Surprisingly, whether an agent fabricates depends more on the type of error it hits than how "smart" the model is. "Hard" failures (like a door being slammed in the agent's face via
permission_denied) usually lead to honest admissions of failure. "Soft" failures (likepartial_success) are the real danger, driving fabrication rates as high as 38%. - The "Silent Ingestion" Trap: Fabrication isn't usually the result of an agent getting lost in a long loop. It happens almost instantly. The agent accepts the first piece of faulted data it sees without question and builds its entire house on that shaky foundation.
- Deliberation is a Shield: When the researchers removed "Chain-of-Thought" (the agent's ability to "think" out loud before acting), fabrication rates jumped by over 8%. Reasoning gives the agent a chance to notice that something looks "off" before it commits to an answer.
Key Results
The baseline performance of these agents under stress was sobering. Recovery was unreliable, and silent fabrications were rampant.
However, the Monitor Agent proved to be a powerful safety net:
- Correct Recovery: Increased from 45.6% to 56.3%.
- Fabrication Rate: Dropped from 17.3% to 10.8%.
- Model-Specific Gains: For the Llama-3.1 70B model, correct recovery nearly doubled, jumping from 33% to 55%.
Limitations and Future Work
While promising, the authors note several constraints:
- Scope of Verification: The "Recompute" stage currently only handles simple math (sums, averages). More complex logical derivations are harder to verify with code.
- Cost: The Monitor and Judge models used (Claude Sonnet and Opus) are powerful but expensive proprietary models.
- Environment: While more realistic than previous benchmarks, the shell and HTTP environments are still constrained compared to a wide-open internet connection.
Ultimately, the paper serves as a wake-up call: if we want to trust AI agents with real-world tasks, we need to stop assuming they'll tell us when their tools break. We need to build systems that verify, not just trust.
Summary updated