NVIDIA Developer

How to Trace and Evaluate a Hermes Agent with NVIDIA NeMo Relay and Phoenix

Published 2026-09-30 · Duration 3:51

Summary

This tutorial demonstrates how to use NVIDIA NeMo Relay to trace and evaluate the complex execution path of a Hermes AI agent. By capturing the entire workflow—from initial requests and file-reading tool calls to the final response—developers can gain deep visibility into the agent's actions, including which tools were used, the data accessed, tokens consumed, and the overall cost of the run. This detailed tracing is crucial for debugging, evaluation, and improving AI agent reliability.

Download summary

Key takeaways

  1. Comprehensive Agent Tracing

    NVIDIA NeMo Relay captures the full execution path of a Hermes Agent, providing visibility into tool usage, data access, and model activity beyond just the final answer.

  2. Reviewing the Trace in Phoenix 2:00

    The captured trace can be opened in Phoenix, allowing developers to review the session, model activity, tool calls (e.g., reading files, searching the web, writing reports), and the specific data returned at each step.

  3. Security and Evaluation 1:10

    The process includes a sanitizer that removes personally identifiable information (PII) before the trace leaves the machine, ensuring data privacy while maintaining full debug capability.

Technical details

  • Setup and Initialization 30s

    The process involves cloning the repository and setting up the environment, including configuring the NVIDIA build key and building a sandbox image that Hermes can use to run commands.

  • Simple Agent Workflow Test 80s

    A simple task (e.g., running a script to print '42') is executed to demonstrate that NeMo Relay successfully records the agent's output and return value.

  • Complex Agent Workflow Test 130s

    A complex task, such as generating a travel plan report (San Diego, June 29th to July 3rd), is run. This demonstrates the agent's ability to read files, search the web, verify information, and write a final report, all while being traced to Phoenix.

Mentioned resources

Channel & topics

Watch on YouTube · Back to latest

This independent, AI-assisted summary is provided for commentary and informational purposes. It may contain errors or omit important context. Please watch the original video for the creator's complete presentation. Video, thumbnail, and related copyrights belong to their respective owners.