When to Intervene? An Empirical Study of Errors and Self-Recovery in LLM Agents
On the map: LLM agents and tool use → Software engineering coding agents also fits: Agent threats, guardrails and governance
Abstract (arXiv)
LLM agents interact with Web services to perform tasks on users' behalf. Errors during these interactions can disrupt execution and prevent task completion, motivating external intervention. However, agents may self-recover through continued execution, raising the question of when to intervene and when to wait for self-recovery. We present an empirical study of errors and self-recovery in LLM agents. We construct ReInBench, a dataset containing 1,259 agent traces and 1,403 error events across computer-use and Web tasks. Our study examines how often and how quickly agents self-recover, how self-recovery relates to subsequent execution and task completion, and whether self-recovery can be predicted when an error occurs. We find that 725 error events self-recover, often within a few steps, with self-recovery performance differing across Execution LLMs. Self-recovery can also help agents recover from subsequent errors of the same type and support overall task completion. Intervention should therefore prioritize errors unlikely to self-recover, while allowing agents to continue when self-recovery is likely. Building on these empirical findings, we propose ReCoF, a method that predicts whether an error will self-recover to inform whether additional intervention is needed. ReCoF achieves an average relative improvement of 9.02% in Macro-F1 over the strongest baseline on ReInBench. Our code and data can be found at https://method-notes.github.io/ReCoF/.
Key facts. Cited by 1 paper in the map (data through 26 Nov 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 14 of its 21 references that are in the map. Submitted 27 Oct 2026.
Builds on
14 of 21 references.
Closest ancestors · 2
Same direction, newest first
- 2026PrefixGuard: From LLM-Agent Traces to Online Failure-Warning Monitors7 May
- 2026Wink: Recovering from Misbehaviors in Coding Agents19 Feb
Other references · 12
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 9,589
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,789
- 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,232
- 2024OSWorld: Benchmarking Multimodal Agents for Open-Ended Tasks in Real Computer Environmentscited by 1,384
- 2023Mind2Web: Towards a Generalist Agent for the Webcited by 1,339
- 2025An Illusion of Progress? Assessing the Current State of Web Agentscited by 196
- 2025How Memory Management Impacts LLM Agents: An Empirical Study of Experience-Following Behaviorcited by 126
- 2024Large Language Models Empowered Personalized Web Agentscited by 75
- 2024Tool Learning in the Wild: Empowering Language Models as Automatic Tool Agentscited by 65
- 2025GUI-Reflection: Empowering Multimodal GUI Models with Self-Reflection Behaviorcited by 26
- 2026Sentry: Learning to Recover from LLM Agent Failures at Test Timecited by 4
- 2026When Harnesses Lose the Signal: Causal Evaluation of Recovery in LLM Agentscited by 3
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026Same Error, Different Recovery: How Delivery Changes LLM Agent Behavior
- 2026Agent Recovery Gone Wrong: Measuring Harm Beyond Duplicate Calls
- 2026Lost in Recovery: Demystifying Recovery Behavior of Computer-Use Agents via Goal-Oriented Action Replay
- 2026AgentRewind: Recoverable Execution for Long-Horizon LLM Agents
- 2026Dependable Long-Horizon LLM Agents: A Trajectory-Centered Empirical Study of Where Errors Enter and Which Controls Reach Them
- 2026When Errors Become Narratives: A Longitudinal Taxonomy of Silent Failures in a Production LLM Agent Runtime
- 2026The Cost of Failure: Quantifying the Downstream Impact of Error Histories in LLM Agents
- 2026Practice Makes Unsafe: Skill Misevolution in Self-Improving LLM Agents