TraceMetis: Toward Agent Comprehensibility
TraceMetis structures raw agent traces into hierarchical goals and evidence cards for human review and auditing.
- Zero SDK instrumentation: no cloud telemetry. Trajectories are parsed locally, and only trajectory analysis calls the LLM service you provide.
- Separates observed environment outputs from self-reported agent summaries to catch silent constraint skips.
- Exports single-file, zero-dependency HTML replays with interactive timeline scrubbing.
Why Long-Horizon Agent Runs Need Sensemaking
Modern coding and research agents routinely execute hundreds of shell commands, file edits, and tool invocations within a single engineering session. When a 500-action run finishes, inspecting a flat chronological transcript is too noisy to audit reliably, while trusting the model’s own final summary risks missing subtle regressions or silently skipped constraints.
TraceMetis bridges the gap between raw event logs and human oversight. Instead of summarizing text into another paragraph of prose, it reconstructs the causal structure of the session—showing what goals were opened, which attempts failed or were superseded, where human feedback redirected scope, and what concrete evidence backs each final claim.
How TraceMetis Visualizes Its Own Build
Explore a real 501-action agent run from building TraceMetis itself—reconstructed into 23 incremental batches and 66 hierarchical goal blocks. Launch full-screen view to replay the timeline and inspect evidence cards.
Evidence-Anchored Goal & Attempt Trees
Grounded in goal-directed cognitive modeling, TraceMetis incrementally segments raw action streams into batches and updates a live hierarchy of Goal and Attempt blocks. Every status transition is tied back to verifiable span indices in the underlying trajectory.
- Observed vs. Claimed Separation: Distinguishes ground-truth environment signals (test runner exit codes, compiler output, git diffs) from self-reported assistant text.
- Human Steering Attribution: Surfaces mid-run user interventions as first-class pivot nodes, revealing how human corrections prune unproductive branches.
- Incremental Batch Replay: Steps batch-by-batch through how the tree grew over time—highlighting newly created and newly settled sub-goals at each milestone.
Local Quickstart & Interactive Self-Build Demo
TraceMetis runs on your local machine with no SDK wrapper or cloud account required. There is no cloud telemetry: trajectories are parsed locally, and only trajectory analysis calls the LLM service you provide. Point it at existing local session directories or launch the local web workspace with a single command—or click Try Interactive Demo on this page to inspect a real 501-action run from building TraceMetis itself in full screen.
npx tracemetis web --open
Paper & Citation
The paper describes the goal-tree representation, how TraceMetis reconstructs and renders it, and the user study behind these results. Read it on arXiv. If you use TraceMetis in your research, please cite:
@misc{zhang2026tracemetisagentcomprehensibility,
title={TraceMetis: Towards Agent Comprehensibility},
author={Zhao Zhang and Chao Peng and Peijie Dong and Laiheng Song and Guoqing Wang and Hande Dong and Qiang Lin and Yingfei Xiong},
year={2026},
eprint={2612.05953},
archivePrefix={arXiv},
primaryClass={cs.AI},
url={https://arxiv.org/abs/2612.05953},
}