TL;DR: DoVer (Do-then-Verify) is a novel framework that shifts LLM multi-agent system debugging from passive log analysis to active intervention. Instead of merely guessing which agent failed, DoVer generates failure hypotheses, applies targeted interventions (like editing a plan or instruction), and re-executes the system to verify if the fix actually works.
The Challenge of Debugging Multi-Agent Systems
Debugging multi-agent systems (MAS) is notoriously difficult. When a complex task involving an "Orchestrator" and several "Sub-agents" (like a web surfer or a coder) fails, the interaction logs often span hundreds of steps.
The prevailing standard is log-based failure localization: feeding the log to another LLM and asking, "Which agent failed at which step?" However, the authors identify two massive limitations with this approach:
- Lack of Validation: These are just untested hypotheses. Without running the system again, developers cannot know if "fixing" that step would actually lead to success.
- Ambiguity: Failures are often "ill-posed." Multiple different interventions at different steps could independently fix the task. Furthermore, human annotators often disagree on where the "first" error occurred. For example, if an Orchestrator tells a sub-agent to "click a button that doesn't exist," is the Orchestrator wrong for asking, or is the sub-agent wrong for not reporting the error?
The DoVer Methodology: Do-then-Verify
To address these limitations, the authors introduce DoVer, an intervention-driven debugging pipeline that follows a "Do-then-Verify" philosophy.
DoVer operates through four main stages:
- Trial Segmentation: It breaks a long execution log into "trials"—contiguous spans starting from a planning step through its execution. This makes the causal chain easier to reason about.
- Failure Attribution: For each failed trial, it generates a hypothesis identifying a suspected agent, a specific step, and a rationale for the failure.
- Intervention Generation: It transforms the hypothesis into a concrete, minimal edit. This usually involves Modified Instructions (clarifying intent to a sub-agent) or Plan Updates (revising the high-level strategy).
- Intervention Execution: Using system checkpoints, DoVer re-executes the trial from the point of intervention. It then uses a "Progress Made" metric—comparing the new trace against human-annotated milestones—to see if the intervention actually helped.
Key Insights and System Requirements
- The "Decisive Error" Shift: The paper argues we should stop obsessing over "who is to blame" and start focusing on "what can we change to succeed." This outcome-oriented view is much more practical for developers.
- Small Edits, Big Impact: Often, a tiny tweak to a message—like telling a web surfer to "scroll to the bottom" instead of just "searching"—is enough to flip a failure into a success.
- Checkpoints are Mandatory: For automated debugging to be scalable, agent frameworks must support state restoration and replay. The authors had to manually implement these features into AG2 to make DoVer work.
Datasets and Key Results
The researchers evaluated DoVer across several challenging benchmarks (GAIA, AssistantBench, GSMPlus, and Who&When) using frameworks like Magnetic-One (M1) and AG2. DoVer demonstrated that active intervention is a powerful tool for improving system reliability:
- Success Flipping: It successfully "flipped" 18–28% of failed trials into total successes on GAIA and AssistantBench.
- Math Recovery: On the GSMPlus dataset using the AG2 framework, it achieved a staggering 49% flip rate on failure cases.
- Hypothesis Validation: DoVer definitively validated or refuted 30–60% of failure hypotheses, providing a much clearer signal than passive log analysis ever could.
- Model Generality: While the best results came from GPT-4o, smaller open-source models like Qwen3-32B could narrow the gap when provided with few-shot prompting.
Limitations and Future Work
While promising, DoVer has current hurdles. It is infrastructure-heavy, requiring "checkpoint/replay" capabilities not yet standard in many black-box or asynchronous agent orchestrators. Additionally, DoVer currently only edits textual messages; it cannot yet "debug" by writing new code for a tool or synthesizing entirely new tools on the fly. Finally, part of the evaluation relies on "LLM-as-a-judge" to measure milestone progress, which can introduce bias.
Future work aims to expand the intervention space to include code changes and tool augmentation, moving closer to fully autonomous, self-healing agentic systems.
Summary updated