When Harnesses Lose the Signal: Causal Evaluation of Recovery in LLM Agents
cs.AI
Submitted: 2026-09-30
Updated: 2026-09-30
License: http://creativecommons.org/licenses/by/4.0/
The gist: Large language model agents rely on external harnesses to pass information between the model and its environment and to recover from execution errors.
Abstract
Large language model agents rely on external harnesses to pass information between the model and its environment and to recover from execution errors. Yet recovery is usually judged only by average task success. This hides an important tension. The same operation can rescue a failing trajectory or disrupt one that would otherwise succeed. We frame recovery as a causal decision problem. Starting from the same execution state, we compare what happens with and without recovery, separate rescue from harm, and study how the value of recovery changes over time. We then introduce the Causal Intervention Router (CIR), a lightweight policy that uses information available before recovery to decide when intervention is worthwhile. On long-horizon ALFWorld tasks with Qwen3-14B, CIR raises success from 70.33% to 73.33%, a gain of 3.00 percentage points. It leaves all evaluated trajectories with correct observations untouched. Additional controls show that the benefit of recovery cannot be explained solely by the new observation returned by the environment. These results provide a practical way to evaluate recovery and apply it selectively.
Sources
- CausalFlow: Causal Attribution and Counterfactual Repair for LLM Agent Failures
- From Failed Trajectories to Reliable LLM Agents: Diagnosing and Repairing Harness Flaws
- DoVer: Intervention-Driven Auto Debugging for LLM Multi-Agent Systems
- LongHorizon-Harness: Advancing Long-Horizon Agents for Real-World Tasks
- MemGPT: Towards LLMs as Operating Systems
- Causal Agent Replay: Counterfactual Attribution for LLM-Agent Failures
- StateFlow: Enhancing LLM Task-Solving through State-Driven Workflows
- When Errors Become Memories: Causal Pathway Tracing in Multi-Turn Memory-Augmented LLMs
- Qwen3 Technical Report
- ReAct: Synergizing Reasoning and Acting in Language Models
- Harness-Bench: Evaluating Agent Harnesses across Models and Realistic Workflows
- CatchBench: When Can an Agent Failure Be Caught?
Related papers
- MAVEN-T: Reinforced Heterogeneous Distillation for Real-Time Multi-Agent Trajectory Prediction
- Model Discovery Agent: LLM-assisted Bayesian experiment design for data-efficient discovery of mechanistic world models
- Agents' Last Exam
- The Clinician's Veto: Navigating Trust, Liability, and Uncertainty in Autonomous AI Prescribing
- MindHelper: Closed-Loop Embodied Mental-State Reasoning for Precision Intervention
- Incumbent Advantage: Brand Bias and Cognitive Manipulation Dynamics in LLM Recommendation Systems