NVIDIA NeMo Relay provides a common observability layer that captures ordered lifecycle events and structured trajectories for agent runs.
Common Agent Inefficiencies
An agent can finish a task and still take an inefficient path.
A failed search can trigger another search.
A truncated file read can lead to a command fetching the same content again.
The final answer is correct, but extra steps increase latency and consume tokens.
These inefficiencies raise the risk of failure.
To improve agent behavior, developers must see both success and the full execution path.
Success alone cannot explain recovery from errors, early stops, or extra model calls.
How NeMo Relay Supports Observability
NeMo Relay offers a unified way to observe model and tool execution.
Hermes Agent includes NeMo Relay natively.
It maps sessions, turns, model calls, and tool calls into NeMo Relay’s scope hierarchy.
NeMo Relay records events from start to end, preserving timing and parent-child links.
Three Key Trace Formats
NeMo Relay delivers agent execution in three formats:

- ATOF: A JSONL log of scope starts, ends, and timestamps. Use it to audit events and timing.
- ATIF: A step-by-step JSON record of interactions. Use it to review the agent’s path.
- OpenTelemetry with OpenInference: Records spans with labeled agent, LLM, and tool calls. Use it in tools like Phoenix to check duration, tokens, and errors.
These formats give developers consistent, structured views of execution.
Key Case Study Findings
A Hermes ToolPerf study ran 108 agent tasks across baseline and fixed versions.
Qwen Coder 30B recovered more tasks but used more calls, data, and latency.
One task’s regression traced back to a specific probe output.
The full traces are stored in the results directory. Anyone can access and reanalyze them.
Why This Matters for Development
NeMo Relay provides structured evidence for evaluating agent behavior.
Enterprises and evaluators can use traces to investigate actions, test policies, and improve controls.
Security systems can build plugins that extend Relay’s capabilities.
Getting Started with the Tutorial
Follow these steps to begin:
- Set up an isolated Hermes Agent runtime with native NeMo Relay.
- Run a simple terminal tool task and inspect its ATOF and ATIF traces.
- Run a file-and-web research task and explore its OpenTelemetry trace in Phoenix.
- Compare task verification with trace data to evaluate harness changes.
This approach avoids misjudging fewer calls as better performance.
Learn more in the original post at NVIDIA Developer Blog.
Explore the companion tutorial repository for runnable examples, verifiers, and Phoenix setup. Read the NeMo Relay documentation for installation, concepts, and configuration. Review the ATOF and ATIF documentation for the event and trajectory formats.
Sources & further reading
Featured image: "Agent for The 20th Century Horse Harness" Blue Earth County,… by Snow, John R, Public domain, via Wikimedia Commons. Image source

