Evaluating an AI agent solely on final task output can mask hidden operational costs, such as unnecessary tool retries, extra model calls, and inflated latency. To give developers clear visibility into an agent's internal workflow, NVIDIA published a detailed overview on integrating NeMo Relay with the Hermes Agent harness, demonstrating how telemetry traces can diagnose execution efficiency beyond basic pass-fail checks.
Structured Tracing with ATOF and ATIF Formats
NeMo Relay captures structured event data natively within the Hermes Agent harness using two distinct representations: Agent Trace Event Format (ATOF) and Agent Trace Interchange Format (ATIF). While an ATIF trajectory summarizes model steps and tool requests, the ATOF event stream provides detailed ground-truth accounting by recording explicit lifecycle events, unique execution pairing IDs, token usage, timing, and error logs.
Using an OpenInference exporter, NeMo Relay streams telemetry data via OpenTelemetry Protocol (OTLP) to monitoring platforms such as Arize Phoenix or LangSmith. This structured logging enables developers to inspect model inputs and outputs, verify isolated Docker-based tool executions, and audit privacy-sensitive data before sharing execution traces outside the enterprise sandbox.
Evaluating Harness Performance and Trade-Offs
To demonstrate practical workflow evaluation, NVIDIA highlighted a case study using the Hermes ToolPerf benchmark across 108 runs. The study compared a baseline against tool-layer fixes using Claude 3.5 Sonnet and Qwen Coder models across nine standardized failure patterns. ATOF trace analysis revealed detailed performance trade-offs that simple completion rates would miss.
For Qwen Coder, the tool-layer adjustments improved overall task completion from 19 of 27 runs to 22 of 27. However, the trace accounting showed that this higher success rate required extra work: mean model calls increased from 3.8 to 4.9, tool invocations rose from 2.8 to 3.9, and average task duration expanded from 27 seconds to 42 seconds. The telemetry proved that higher turn counts were the result of valid error-recovery steps rather than repetitive loops, helping engineers pinpoint exact regressions caused by specific tool outputs.
AI-generated editorial illustration; not a documentary photograph.
Source: Tracing Agent Harness Behavior with NVIDIA NeMo Relay

Leave a Reply