Annotrace simplifies step by step labeling of AI agent actions
Annotrace: A Workbench for Step-Level Annotation of Agent Traces
Artificial IntelligenceComputation and LanguageHuman-Computer InteractionMultiagent Systems
Summary
When people study why AI assistants sometimes make mistakes, they have to label or mark each step the AI took by hand. This is usually done with unique tools made for each study, which is inefficient. The authors created Annontrace, a tool that reads different AI output formats and breaks them into clear ordered steps to label. It also helps human labelers work together with an AI model to label faster and more consistently, measuring how much they agree.
What this means in practice
- •For ai developers: Label AI agent execution steps precisely to debug and improve multi-step AI tools.
- •For software quality assurance teams: Validate and measure consistency in AI behavior annotations to ensure reliable evaluation of AI systems.
Authors
Arun Josephraj Arokiaraj, Chenyi Huang, Sahan Bulathwela, Zekun Wu, Bin Wu
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% of the time at $κ= 0.82$.