Trace Comparison for Actionable Diagnostics and Improvement of Agentic Systems
Sergey Zeltyn, Iftach Shoham, Dany Moshkovich, Ido Levy, Inna Skarbovsky, Roy Abitbol, Segev Shlomov
Abstract
Teams build agentic systems on a frontier language model, then move to a smaller and cheaper one for production. Performance drops, and neither benchmark scores nor raw execution traces tell a developer which part of the system broke. We present comparison analytics, a capability deployed in IBM AgMentor that treats a successful run as a demonstration and finds where a failed run of the same task first departs from it. Comparing the two runs component by component localizes the earliest behavioral difference rather than the symptoms that follow from it, and pooling those differences across many runs yields recurring failure patterns with proposed changes that a developer reviews, applies and revalidates. Across three agentic systems, trace-guided changes improve task success and run-to-run reliability. In the CUGA backbone-migration experiment, they recover roughly of the AppWorld performance lost when the backbone is swapped; in self-comparison, they substantially improve run-to-run consistency. The results suggest that the approach is most useful when failures reflect unreliable behavior rather than a fundamental capability gap.
Create a lesson
Metadata
- Categories
- cs.SE, cs.AI
- Comments
- IAAI2027 Accepted
Related papers
Does Training-Free Delegation Improve Cost Efficiency in Multi-Agent Software Engineering Systems? An Empirical Study
Shared title terminologycs.SEMootez Saad, Mohammad Masudur Rahman, Tushar Sharma
Are They Really Multi-Agent? Architectures, Claims, and Containers in LangGraph Systems
Shared title terminologycs.SEMeriem Mastouri, Emna Ksontini, Amine Barrak
Locally Correct, Globally Wrong: The Defects Humans Had to Catch in an Agent-Built System
Shared title terminologycs.SEDing Lin Lee, Jiaxin Dai, Ivonne Wijaya et al.
Toward Information-Aware and Verifiable Agentic Systems for Software Engineering
Shared title terminologycs.SESpyridon Alvanakis Apostolou, Helena Holmström Olsson, Jan Bosch
Horizontal Models, Vertical Systems: A Position on Where Domain Knowledge Belongs in Enterprise Agents
Shared title terminologycs.SELuciano Lucindo Chaves
Tracing Decisions to Value: Measuring What People Contribute When Agents Build Software
Shared title terminologycs.SEShyam Agarwal, Hideaki Hata, Andrew Macvean et al.