학술

Trace Comparison for Actionable Diagnostics and Improvement of Agentic Systems

arXiv CS.AI
CC BY
이 매체는 공공·자유 라이선스로 본문을 직접 표시합니다.

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 $40\%$ 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.
Additional Features

관련 뉴스