arXiv(opens in a new tab)cs.AIAug 2026Cited by 6 papers on PaperVantage

Manuscript Offprint

arXiv:2608.25920

Repair or Resample? Rethinking Failure Debugging in LLM Multi-Agent Systems

Zhongwen Luan, Xiaoyu Zhang, Ming Hu, Yue Yang, Jiongchi Yu, Xiaohong Chen

Zhongwen Luan ∗^{*}

East China Normal University

Shanghai, China

10245101408@stu.ecnu.edu.cn

Jiongchi Yu

Nanyang Technological University

Singapore, Singapore

Xiaoyu Zhang ∗^{*}

Nanyang Technological University

Singapore, Singapore

Xiaohong Chen

East China Normal University

Shanghai, China

Yue Yang

Xi'an University of Architecture and

Technology

Xi'an, China

Ming Hu †^{\dagger}

East China Normal University

Shanghai, China

Abstract

As large language model (LLM)-based multi-agent systems (MASs) are increasingly applied to long-horizon complex tasks, their reliability has emerged as the core bottleneck hindering their real-world deployment. Existing MAS debugging and repair methods typically rely on rerunning and resampling the entire execution trajectory. However, a fundamental question remains to be answered: do these methods causally repair MAS failures or merely stochastically repair by leveraging the randomness of LLM sampling? To evaluate the effectiveness of MAS repair methods, we introduce SYMTRACE, a controlled evaluation framework that records the MAS execution trajectory and establishes intervention anchors. During replay, it effectively reconstructs the execution before the anchor using recorded logs and only regenerates the downstream trajectory, thereby enabling the reliable reproduction of MAS failures. We further construct the dataset SYMFAIL, comprising 536 human-annotated failure trajectories with graph-linked locations, categories, and trace evidence. Based on these foundations, we conduct a large-scale empirical study across three mainstream MAS frameworks. Our findings reveal that existing unguided rerun methods are highly unreliable, exhibiting low failure reproduction and repair rates (only 67.97% and 6.90%, respectively). Building upon these findings, we further explore the effectiveness of a symptom-driven intervention method, which successfully repairs 20.15% of the failed cases (a 191.89% improvement to state-of-the-art repair methods). This study aims to provide actionable insights for MAS debugging and repair research, paving the way for the robust deployment of multi-agent systems.

Source code: https://anonymous.4open.science/r/SymTrace-7234

1 Introduction

Large language model (LLM)-based multi-agent systems (MASs) coordinate specialized agents through message passing, shared context, and structured workflows [Fourney et al. 2024; Hong et al. 2024; Qian et al. 2024; Wu et al. 2023]. By distributing planning, information gathering, tool use, execution, and verification, MASs offer a promising foundation for long-horizon applications such as web interaction and software development [Yang et al. 2024; Yoran et al. 2024; Zhou et al. 2024]. As these systems are deployed in increasingly complex and consequential settings, systematically

(a) Diagnosis Instability

(b) Execution Instability

Figure

Figure 1: Diagnosis and execution instability for the same MAS task. (a) In a Magentic-One distance-query failure, the system makes a routing-derived claim despite receiving no routing result, leading to disagreement between the initial and expert diagnoses. (b) Repeated stochastic reruns of the same task produce different failure types, while some exhibit no detected symptom.

understanding, reproducing, and repairing their failures becomes essential to reliability and safety.

Existing research has advanced MAS reliability through benchmarks, failure diagnosis, and execution repair. Benchmarking and diagnostic studies collect execution trajectories, construct failure taxonomies, and localize responsible agents or steps [Cemri et al. 2025; Deshpande et al. 2025; Shah et al. 2026; Yao et al. 2024; Ye et al. 2026; Zhang et al. 2025], while repair methods use rerunning, reflection, critic feedback, or trajectory-level guidance to generate new executions [Du et al. 2023; Gou et al. 2024; Madaan et al. 2023; Nanda et al. 2026; Shinn et al. 2023; Zhao et al. 2026a,b]. However, two limitations remain. First, complete reruns resample upstream model decisions instead of holding the failure-producing execution fixed, making terminal success difficult to attribute to the applied repair. Second, task-level verdicts and automatically assigned categories may not identify the trace-localized behavior that actually requires intervention. Figure 1 illustrates how both the diagnosis and observed outcome can change without establishing that the recorded failure was corrected. A central question therefore remains: Do these methods causally repair MAS failures, or merely achieve stochastic recovery through LLM resampling?

∗^{*}These authors contributed equally.

†^{\dagger}Corresponding author.

To fill this gap, we introduce SYMTRACE, a replay-oriented logging system, together with SYMFAIL, a human-annotated failure-trajectory dataset. During snapshot recording, SYMTRACE captures model and tool boundary interactions, organizes them into an event-dependency graph and observed execution order, and materializes the resulting records as a replay bundle. During replay, it restarts the native MAS, strictly matches each intercepted request, and injects the corresponding recorded result until reaching the designated intervention boundary. Live execution then resumes with the repair applied. This procedure holds the observable pre-intervention history fixed so that downstream changes can be attributed to the intervention rather than upstream resampling. Complementing this execution control, SYMFAIL is constructed from 200 WebArena-Verified Hard and AssistantBench tasks [Yoran et al. 2024; Zhou et al. 2024] executed with AG2 [Wu et al. 2023], CrewAI [CrewAI, Inc. 2026], and Magentic-One [Fourney et al. 2024]. Of the resulting 600 trajectories, 536 evaluator-confirmed failures are retained and human-annotated with graph-linked failure nodes, symptom categories, supporting evidence, and final evidence-based annotations.

Using these two resources, we evaluate task-level repair and node-level controls across 536 failures. SYMTRACE increases per-execution failure reproduction from 67.97% to 80.78% and consistent reproduction across three executions from 41.42% to 52.43%. Task-level regeneration repairs at most 6.90% of failures within three attempts, whereas Suspicious-Node Intervention repairs 20.15% with a single intervention (2.92× the rate of the strongest task-level baseline) and performs best across all three MASs. These results demonstrate the value of controlled execution and localized evidence over repeated stochastic regeneration.

Our contributions include: ① We design and implement SYMTRACE, a logging system that records each MAS execution as an event-dependency snapshot and supports verifiable prefix reconstruction and replay, enabling intervention without resampling the preceding execution. ② We construct SYMFAIL, a human-annotated dataset including 536 human-annotated failure trajectories from WebArena-Verified Hard and AssistantBench, which forms the foundation of the MAS debugging study. ③ We conduct a large-scale study across three MASs measuring how reliably existing methods reproduce and repair recorded failures. Guided by our findings, we propose a symptom-driven intervention method that localizes replayable anchors and applies evidence-conditioned repair, improving over the strongest task-level baseline by 191.89%. ④ We release SYMTRACE, SYMFAIL, and our experimental results to support reproducibility and future MAS debugging and repair research.