mlsanityData to 14 Oct 2026

AgentForesight: Online Auditing for Early Failure Prediction in Multi-Agent Systems

arXiv 2605.08715 ↗First posted 9 May 2026cs.CL cs.AI cs.MAcited by 11

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

LLM-based multi-agent systems are increasingly deployed on long-horizon tasks, but a single decisive error is often accepted by downstream agents and cascades into trajectory-level failure. Existing work frames this as post-hoc failure attribution, diagnosing the responsible agent and step after the trajectory has ended. However, this paradigm forfeits any opportunity to intervene while trajectory is still unfolding. In this work, we introduce AgentForesight, a framework that reframes this problem as online auditing: at each step of an unfolding trajectory, an auditor observes only the current prefix and must either continue the run or alarm at the earliest decisive error, without access to future steps. To this end, we curate AFTraj-2K, a corpus of agentic trajectories across Coding, Math, and Agentic domains, in which safe trajectories are retained under a strict curation pipeline and unsafe trajectories are annotated at the step of their decisive error via consensus among multiple LLM judges. Built on that, we develop AgentForesight-7B, a compact online auditor trained with a coarse-to-fine reinforcement learning recipe that first equips it with a risk-anticipation prior at the failure boundary on adjacent safe/unsafe prefix pairs, then sharpens this prior into precise step-level localization under a three-axis reward jointly targeting the what, where, and who of an audit verdict. Across AFTraj-2K and an external Who&When benchmark, AgentForesight-7B outperforms leading proprietary models, including GPT-4.1 and DeepSeek-V4-Pro, achieving up to +19.9% performance gain and 3× lower step localization error, opening the loop from post-hoc failures detection to enabling deployment-time intervention. Project page: https://zbox1005.github.io/agent-foresight/

Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 60 of its 70 references that are in the map. First posted on arXiv 9 May 2026.

Builds on

60 of 70 references.

Closest ancestors · 8

Same direction, newest first

  1. 2026The Why Behind the Action: Unveiling Internal Drivers via Agentic Attribution21 Jan
  2. 2025Where LLM Agents Fail and How They can Learn From Failures29 Sep
  3. 2025AgenTracer: Who Is Inducing Failure in the LLM Agentic Systems?3 Sep
  4. 2025Which Agent Causes Task Failures and When? On Automated Failure Attribution of LLM Multi-Agent Systems30 Apr
  5. 2025Why Do Multi-Agent LLM Systems Fail?17 Mar
  6. 2024Defining and Detecting the Defects of the Large Language Model-based Autonomous Agents24 Dec
  7. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul
  8. 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation16 Aug

Other references · 52

  1. 2022Training language models to follow instructions with human feedbackcited by 15,971
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  4. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  5. 2025Qwen3 Technical Reportcited by 8,820
  6. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  7. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
  8. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  9. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
  10. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
  11. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
  12. 2023Let's Verify Step by Stepcited by 3,789
38 more
  1. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
  2. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
  3. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  4. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
  5. 2023G-Eval: NLG Evaluation using GPT-4 with Better Human Alignmentcited by 2,276
  6. 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 2,057
  7. 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,006
  8. 2025Gemma 3 Technical Reportcited by 1,824
  9. 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,808
  10. 2025Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learningcited by 1,444
  11. 2024A Survey on LLM-as-a-Judgecited by 1,423
  12. 2023CAMEL: Communicative Agents for "Mind" Exploration of Large Language Model Societycited by 1,395
  13. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,391
  14. 2023GAIA: a benchmark for General AI Assistantscited by 1,128
  15. 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 1,040
  16. 2023Large Language Models Cannot Self-Correct Reasoning Yetcited by 1,017
  17. 2023Math-Shepherd: Verify and Reinforce LLMs Step-by-step without Human Annotationscited by 928
  18. 2023ChatEval: Towards Better LLM-based Evaluators through Multi-Agent Debatecited by 742
  19. 2025Group-in-Group Policy Optimization for LLM Agent Trainingcited by 497
  20. 2025Monitoring Reasoning Models for Misbehavior and the Risks of Promoting Obfuscationcited by 384
  21. 2024ProcessBench: Identifying Process Errors in Mathematical Reasoningcited by 292
  22. 2024Agent-as-a-Judge: Evaluate Agents with Agentscited by 238
  23. 2023SelfCheck: Using LLMs to Zero-Shot Check Their Own Step-by-Step Reasoningcited by 159
  24. 2023LM-Polygraph: Uncertainty Estimation for Language Modelscited by 131
  25. 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systemscited by 126
  26. 2024Language Agents as Optimizable Graphscited by 89
  27. 2025Stress Testing Deliberative Alignment for Anti-Scheming Trainingcited by 86
  28. 2025AgentPRM: Process Reward Models for LLM Agents via Step-Wise Promise and Progresscited by 77
  29. 2025AgentGym-RL: Training LLM Agents for Long-Horizon Decision Making through Multi-Turn Reinforcement Learningcited by 72
  30. 2025In-the-Flow Agentic System Optimization for Effective Planning and Tool Usecited by 72
  31. 2025SHADE-Arena: Evaluating Sabotage and Monitoring in LLM Agentscited by 71
  32. 2025Robin: A multi-agent system for automating scientific discoverycited by 62
  33. 2025Your Agent May Misevolve: Emergent Risks in Self-evolving LLM Agentscited by 62
  34. 2025LLM Collaboration With Multi-Agent Reinforcement Learningcited by 49
  35. 2025Reliable Weak-to-Strong Monitoring of LLM Agentscited by 31
  36. 2025CoT-UQ: Improving Response-wise Uncertainty Quantification in LLMs with Chain-of-Thoughtcited by 23
  37. 2024Testing and Understanding Erroneous Planning in LLM Agents through Synthesized User Inputscited by 22
  38. 2024From Commands to Prompts: LLM-based Semantic File System for AIOScited by 14

50 most cited of 52 All 52 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 11.

11 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026BLADE: Auditing Information Use for Failure Attribution in LLM Multi-Agent Systems
  2. 2026Early Diagnosis of Wasted Computation in Multi-Agent LLM Systems via Failure-Aware Observability
  3. 2026Automata from Agent Traces: Failure and Next-Step Prediction
  4. 2026AgentRx: Diagnosing AI Agent Failures from Execution Trajectories
  5. 2026Adaptive Influence Graphs for Failure Attribution in Multi-Agent Systems
  6. 2026VerifyMAS: Hypothesis Verification for Failure Attribution in LLM Multi-Agent Systems
  7. 2026TRACES: Proactive Safety Auditing for Multi-Turn LLM Agents via Trajectory-State Modeling
  8. 2026Seeing the Whole Elephant: A Benchmark for Failure Attribution in LLM-based Multi-Agent Systems