Search arXiv⌕ Search

arXiv · 2612.05953

TraceMetis: Towards Agent Comprehensibility

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.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Zhao Zhang, Chao Peng, Peijie Dong, Laiheng Song, Guoqing Wang, Hande Dong, Qiang Lin, Yingfei Xiong. 2026-12-03. TraceMetis: Towards Agent Comprehensibility. https://searcharxiv.org/abs/2612.05953

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

LEMMA-RCA: A Large Multi-modal Multi-domain Dataset for Root Cause Analysis

Root cause analysis (RCA) is crucial for enhancing the reliability and performance of complex systems. However, progress in this field has been hindered by the lack of large-scale, open-source datasets tailored for RCA. To bridge this gap, we introduce LEMMA-RCA, a large dataset designed for diverse RCA tasks across multiple domains and modalities. LEMMA-RCA features various real-world fault scenarios from Information Technology (IT) and Operational Technology (OT) systems, including microservices, water distribution, and water treatment systems, with hundreds of system entities involved. We evaluate the performance of six baseline methods on LEMMA-RCA across various settings, including offline and online models, as well as single and multi-modal settings. Our study demonstrates the utility of LEMMA-RCA in facilitating fair evaluation and promoting the development of more robust RCA techniques. The dataset is publicly available at https://lemma-rca.github.io/, with archival metadata and access instructions deposited under DOI: https://doi.org/10.5281/zenodo.20516735.

cs.AI↗

Graph-to-Vision: Benchmarking Multi-Graph Visual Reasoning with Vision-Language Models

Recent advances in Vision-Language Models (VLMs) have shown promising capabilities in interpreting visualized graph data, offering a perspective on graph-structured reasoning that complements traditional Graph Neural Networks (GNNs) by dispensing with explicit graph construction. However, existing studies focus primarily on single-graph reasoning, leaving the critical challenge of multi-graph visual reasoning (MGVR) underexplored. In this work, we introduce the first comprehensive benchmark designed to evaluate and enhance the MGVR abilities of VLMs. Our benchmark covers four common graph types - knowledge graphs, flowcharts, mind maps, and route maps - and supports both homogeneous and heterogeneous graph groupings with tasks of increasing complexity. We evaluate several state-of-the-art VLMs under a multi-dimensional scoring framework that assesses graph parsing, reasoning consistency, and instruction-following accuracy. Additionally, we fine-tune multiple open-source models and observe improvements in 17 of the 18 model-dimension combinations, confirming the effectiveness of our dataset. This work provides a principled step toward advancing MGVR and reveals new opportunities for cross-modal graph intelligence.

cs.AI↗

Executable Epistemology: The Structured Cognitive Loop as an Architecture of Intentional Understanding (Extended Version)

Large language models exhibit intelligence without genuine epistemic understanding, revealing a philosophical gap: the absence of epistemic architecture. This paper introduces the Structured Cognitive Loop (SCL) as an executable epistemological framework. Rather than asking what intelligence is, SCL asks under what structural conditions cognition emerges. Drawing on process philosophy, enactive cognition, extended mind theory, and cognitive phenomenology, we reconceive intelligence as a performed process: a continuous loop of cognition, control, action, and memory governed by explicit normative regulation. SCL operationalizes philosophical claims as computationally interpretable structures ("executable epistemology"), shows that functional separation yields more coherent and traceable behavior than monolithic prompt-based agents, and redefines intelligence as the capacity to reconstruct one's own epistemic state. This extended version carries the framework from understanding to accountability. We show that SCL implements three structurally distinct paths of justified acceptance - Memory Fact (causal tool observation), Contextual Human-in-the-Loop (authoritative human judgment), and Pool-Gated Retrieval (threshold-governed evidential selection) - unified by a Grounding Principle that fixes the evidential basis of each reasoning episode at turn onset. Their analysis yields a tripartite framework of Epistemic Horizon, Warrant, and Commitment, which we argue is a general condition: any epistemic input can be incorporated into an accountable artificial agent if and only if these three conditions can be structurally specified. We conclude that the intelligence appropriate for accountable agents is normative rather than descriptive: a matter not of what an agent can produce, but of what it is entitled to produce.

cs.AI↗