TraceMetis: Towards Agent Comprehensibility
Large language model (LLM) agents now carry out tasks that span hundreds of steps over hours or days, and people increasingly review such runs only at milestones or after they finish. To trust a run, a reviewer must tell which subgoals the agent pursued, which attempts failed, why it changed approach, and what caveats qualify its result; we call this property agent comprehensibility. The trace of a run records every action, yet it answers none of these questions directly: it interleaves actions from different goals, scatters actions serving the same goal across the log, and provides no grouping between a single action and the whole run. Following evidence that people understand purposeful activity as a hierarchy of goals, we reorganize the trace into a goal tree, which attaches each action to the goal it served and each goal to the larger goal it served, up to the user's task, and states for every goal what it set out to do and what it produced. We present TraceMetis, which reconstructs goal trees from unmodified logs of agents such as WorkBuddy, Claude Code, Codex, Cursor, Pi, and Antigravity, and updates them while the agent runs. Because the purpose of an action often becomes…
- arXiv
- 2612.05953
- Authors
- Zhao Zhang, Chao Peng, Peijie Dong, Laiheng Song, Guoqing Wang and 3 more
- Categories
- cs.AI · cs.HC · cs.SE