arXiv:2610.23284cs.AIOct 2026

Manuscript Offprint

arXiv:2610.23284

Annotrace: A Workbench for Step-Level Annotation of Agent Traces

Arun Josephraj Arokiaraj, Chenyi Huang, Sahan Bulathwela, Zekun Wu, Bin Wu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Every study of why LLM agents fail begins by labelling traces by hand, and every such study builds its own throwaway tool. Observability platforms record agent traces but offer no structured labelling; annotation tools label text but have no notion of a step, a delegation or a tool call, leaving it unclear what the smallest unit of execution to label should be. Annotrace reads six trace formats, including OpenTelemetry GenAI, LangSmith and Langfuse, and turns each run into an ordered, nested list of steps. The annotator writes their own labelling codebook; a frontier model proposes a starting set from a sample of their own traces, answers first, and is asked exactly the questions the human is asked, making annotation a joint human–AI process. Annotrace measures agreement between any two annotators, human or AI. On a multi-agent question-answering corpus it reproduces a previous manual effort's 235 annotation units exactly, and two models labelling the same traces agree 91%91\% of the time at κ=0.82\kappa = 0.82.

Introduction and Problem

Outcome: correct — the run's only label

a coordinator delegates sub-questions to workers e1 and e2

coordinatorasks “notable American character actors?”No
worker e2Charlie Chaplin, after four search cyclesNo
coordinatorasks the same question againNo
worker e2Marlon Brando, after four more cyclesNo
coordinatorasks “who owns KWPW?”Yes
worker e1Bill McCutcheon, two cyclesYes
coordinatorasks whether he is an actorYes
cycle 3reasons “software engineer”, answers “yes”No
final answerBill McCutcheonYes

Figure 1: One multi-agent run on HotpotQA (Yang et al. 2018). It answers correctly, so a trace-level scheme calls it a success. Its steps record eight wasted search cycles and a verification the worker's own reasoning contradicts. Indentation is delegation depth; the decisive fault sits inside a recovered cycle (Figure 3).

Research on agent failure runs on hand-labelled traces. MAST derived its taxonomy from annotated traces across seven systems (Cemri et al. 2025); Who&When annotated 127 failure logs to make attribution a benchmark task (Zhang et al. 2025); AgentErrorTaxonomy was built the same way (Zhu et al. 2025), and AgentRx checks constraints against trajectories (Barke et al. 2026). Each began with people reading traces and writing labels, and each built disposable tooling to do it. Ours encoded our taxonomy and our trace format in its source, so nobody else could use it.

Neither existing category of tool covers the job. Observability platforms — LangSmith, Langfuse, Arize Phoenix — record and display traces faithfully, and OpenTelemetry now standardises them (OpenTelemetry Authors 2025), but none supports structured human labelling. Annotation tools — Label Studio (Tkachenko et al. 2020), doccano (Nakayama et al. 2018), INCEpTION (Klie et al. 2018) — label well, but their unit is a span of text or a document. A trace is neither. It is a nested structure of decisions, delegations, tool calls and replies, and flattening it into a transcript destroys what a labeller needs: which step, of what kind, went wrong. AgentGraph reads traces into a knowledge graph and has a model detect failures in it (Wu et al. 2026); the structure there feeds automatic analysis. Ours feeds a person, so a step is a thing to label and every label records who made it.

Annotrace makes the step the unit. Its users are researchers building failure taxonomies and practitioners reviewing deployed agents. It bridges two communities: it consumes the artefacts of agent observability and supports the practices of human data annotation, with a model as proposer inside the loop.

Figure 1 is one run from our demo set. It answers correctly, so every label a trace-level scheme can give it says success. Its steps say otherwise, and the decisive one sits two levels down.