Agentic AI
New Tool Uses AI to Spot Hidden Patterns in LLM Agent Failures Across Thousands of Traces
Insights Generator automates the search for systematic problems in large-scale LLM execution logs, helping teams fix agent performance without manual inspection.
Debugging language model agents typically relies on tedious manual work: engineers sample a handful of execution traces, guess at what went wrong, and test fixes one at a time. This approach struggles to uncover patterns that only reveal themselves when examining thousands of traces simultaneously—and it breaks down entirely when dealing with production-scale logs where individual traces contain tens of thousands of tokens.
Researchers have now formalized a new approach to this problem: corpus-level trace diagnostics. Rather than examining traces in isolation, the goal is to automatically sift through entire populations of execution records, identify recurring behavioral patterns, and produce natural-language insights backed by evidence.
How Insights Generator Works#
The solution is a system called Insights Generator (IG), built as a multi-agent framework that tackles diagnostic questions by forming hypotheses and testing them systematically across a full trace corpus. The system then assembles findings into a report that links each insight to supporting evidence.
The scout-investigator architecture allows the system to propose candidate patterns and rigorously validate them across the dataset, producing grounded observations rather than hand-waving generalizations.
Real-World Impact#
Testing shows meaningful gains from applying IG's recommendations. Human experts working with IG-generated reports improved agent performance by 30.4 percentage points compared to unmodified baselines. Coding agents that incorporated IG-derived insights demonstrated consistent, stable performance improvements across multiple benchmarks.
Domain experts evaluating the reports found that IG excelled in the depth and quality of evidence—matching or exceeding competing diagnostic methods in detection coverage while providing richer justification for each finding.
Why It Matters#
As LLM agents become more sophisticated and deployed at scale, understanding failure modes at the population level (rather than case-by-case) is increasingly critical. IG bridges the gap between manual, labor-intensive debugging and fully automated diagnosis, enabling teams to rapidly identify and act on systematic issues that emerge only in large corpora.

