Back to AI News
arxiv

TraceMetis: Towards Agent Comprehensibility

TraceMetis reorganizes long LLM-agent execution logs into hierarchical goal trees that attach each action to the goal it served and each goal to a larger task goal. It reconstructs these trees from unmodified agent logs, revises them with an LLM as new action batches arrive, and checks revisions with code. A web viewer visualizes the hierarchy and links statements back to raw actions. In a blind pairwise study with 14 users on 142 sessions, 78.7% of trees were judged helpful for understanding a run, rising to 86.8% for sessions longer than 450 actions.

AI Brief

This addresses a concrete, timely problem in LLM-agent observability and trust by turning raw action traces into understandable goal hierarchies without requiring special agent instrumentation.

arXiv:2612.05953v1 Announce Type: new Abstract: 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 clear only from later actions, TraceMetis revises the tree with an LLM as each batch arrives and checks every revision with code. A web viewer draws child goals inside their parents, marks only exceptions such as failures, and links every statement to the raw actions behind it. In a blind pairwise study, 14 agent users compared trees built by six LLMs on 142 of their own sessions. They judged 78.7% of the trees helpful for understanding the run, rising to 86.8% for sessions longer than 450 actions. Trees from GPT-6.1 Sol, Gemini 4 Carbon, and Claude Opus 5.5 were preferred in about 73% of comparisons against the other three LLMs, and preferred trees tended to have more goals and levels.
Be the first to rate this article.

Comments & Questions (0)

Captcha
Please be respectful — let's keep the conversation friendly.

No comments yet

Be the first to comment!