NVIDIA Describes How Traces and Custom Evals Turn Agent Failures into Harness Fixes
NVIDIA's NeMo team walks through a complete agent optimization cycle: use NeMo Compass to find recurring failures in recorded traces, create custom evaluations with NeMo Eval Author, update the harness (such as a system prompt), and measure improvement on both development and held-out tasks. In a workplace assistant example, harness changes raised pass rates from 3/6 to 6/6 on development tasks and from 4/6 to 6/6 on held-out tasks while reducing tool calls. In a Dassault Systèmes engineering scenario, malformed tool calls fell from 142 to zero with a 28% relative score improvement and 35% fewer tool calls per run across six scenarios.
Building a reliable AI agent is not primarily a model-tuning problem. Prompts, tool definitions, routing rules, memory systems, skills, control flow, and other surrounding code all shape production behavior. A generic benchmark score rarely explains why an agent chose the wrong tool, followed the wrong workflow branch, missed relevant context, or completed a task without meeting a domain-specific requirement.
NVIDIA's NeMo team describes a concrete optimization loop that addresses this. The cycle has four steps: analyze recorded agent traces to identify recurring failures, create custom evaluations that reproduce the problem, change one part of the harness, and measure the result on both development and held-out tasks. The authors call the harness—the code, configuration, and execution logic wrapping the model—the optimization surface.
The first step uses NeMo Compass, a tool that analyzes stored agent traces and evaluation evidence to find recurring problems, identify evaluation gaps, and prioritize improvements. Rather than inspecting each run manually, Compass reduces a large trace corpus to a structured backlog of issues with supporting trace IDs. In the article's primary example, the team pointed Compass at 42 recorded traces from a fictional enterprise assistant, along with an ETHOS.md file defining expected behavior. Compass identified that in multiple runs, the agent called a send_message tool without user confirmation—a violation of the stated rules.