AI Tools Developer Tools

NVIDIA NeMo Agents: Turning Failures into Tests and Fixes

NVIDIA NeMo agents tooling turns recorded traces into ranked issues and custom evaluations, then checks harness changes against development and held-out tasks.

Illustration of tracing an AI agent failure and repairing it, representing NVIDIA NeMo agents evaluation
AI-generated editorial illustration.

When an AI agent does something it should not, how do you find out why, and how do you prove a fix worked? NVIDIA NeMo agents tooling is built around that question: it reads recorded agent runs, ranks the recurring problems, helps write tests that reproduce them, and compares results before and after a change.

NVIDIA’s technical blog walks through one full cycle of this process using a sample enterprise assistant. The post is the only source for this article, so the details below reflect NVIDIA’s own example and its internal results.

What does this tooling actually do?

The workflow combines three libraries, according to NVIDIA: NeMo Compass, NeMo Eval Author, and NVIDIA NeMo Relay. The post details the first two. Together, they cover the loop of finding a problem, testing for it, changing the agent, and measuring the result.

NVIDIA’s argument is that generic benchmark scores often fail to explain why a domain-specific agent goes wrong. An agent might pick the wrong tool, follow the wrong branch of a workflow, miss relevant context, or finish a task without meeting a requirement specific to the business. NVIDIA says fixing these problems takes more than model tuning, because prompts, tools, routing, memory, skills, and control flow all shape reliability.

What is a harness, and why is it the thing being fixed?

The harness is everything wrapped around the language model that makes it behave as an agent: the system prompt, tool descriptions, routing rules, memory, skills, and surrounding code. NVIDIA calls it the optimization surface. A single wrong tool call can derail a task, and the cause may be an unclear tool description or missing context in the harness rather than a flaw in the model itself.

A trace is the recorded log of one agent run, showing each step and tool call. Traces show where a run went wrong. Evaluations, often shortened to evals, are repeatable tests that measure whether a change improved behavior.

How does NeMo Compass find what to fix first?

NeMo Compass analyzes stored traces and evaluation evidence to find recurring problems, spot gaps in testing, and prioritize improvements. Instead of asking a person to read every run, it condenses a large collection of traces into a structured backlog of issues, with supporting examples and suggested areas to improve or experiment on.

In NVIDIA’s example, the agent is a Hermes enterprise assistant for a fictional company, connected through the Model Context Protocol (MCP) to chat, email, files, and tickets. MCP is a standard way of connecting an agent to outside tools and data. Asked to draft a message with project updates, the agent drafted it but also called the send_message tool without the user’s confirmation.

NVIDIA pointed NeMo Compass at 42 recorded traces plus a short file called ETHOS.md that defines how the assistant is supposed to behave. Compass draws on several signals: unusual behavior, how the agent uses tools, and divergence from intended behavior. It attaches trace IDs to each finding so a reader can jump to the runs behind it. Here, it caught the unconfirmed sends by comparing the agent’s actions against the rules in ETHOS.md. NVIDIA also reports that in its internal benchmarks, running the full set of Compass signals over thousands of traces surfaced anomalies that a coding agent given a similar task missed.

How does NeMo Eval Author turn a finding into a test?

Once a problem is identified, the next step is a test that reproduces it. NeMo Eval Author supplies skills and workflows for a coding agent, such as Codex or Claude Code, to write those tests. It supports two evaluation formats: Harbor and NVIDIA NeMo Gym.

The coding agent is given the Compass findings, the raw traces, the ETHOS.md file, and access to the agent’s repository. NVIDIA says the generated evaluations should be reviewed and tuned so they reflect the agent’s real requirements. In the example, the coding agent produced four Harbor evaluations with tasks resembling "draft a response." Each comes with a verifier, a check that decides whether the agent met a given criterion. Here, the verifier marks a run as failed if the agent calls send_message without human confirmation.

NVIDIA adds that Eval Author can create custom evaluations before any production data exists, drawing on requirements in ETHOS.md and on code details such as tool definitions and existing workflows. As real traces and known failures accumulate, it can expand the suite so the tests keep tracking how the agent is actually used.

What does a harness fix look like?

NVIDIA’s example change is small. It edited SOUL.md, the Hermes file that works like a system prompt, to state that requests to write, draft, compose, prepare, or suggest a message authorize preparation only. The agent should hand over the draft for review and stop before sending. The edit also notes that a token returned by a preparation tool is a technical capability, not proof that the user consented to the action.

NVIDIA says harness changes can range from simple edits like this to middleware, plugin extensions, and other patterns. The coding agent proposing the change receives the Compass outputs, ETHOS.md, and the agent implementation so its proposal is grounded in the evidence. The post points to earlier NVIDIA posts on harness optimization with LangChain Deep Agents and Nous Research Hermes.

How is the fix measured?

After the edit, NVIDIA reran the evaluations. Two tasks were labeled held out, meaning they were withheld from the coding agents that proposed harness changes. Held-out tasks help show whether a fix generalizes or only memorizes the tests it was built against.

Evaluation set Baseline passes/runs Updated passes/runs Tool calls before to after
Development (2 tasks x 3 runs) 3/6 6/6 10 to 6
Held out (2 tasks x 3 runs) 4/6 6/6 28 to 15

The runs are few, and the scenario uses a fictional company, so the table shows the mechanics of the loop more than a general performance claim.

How does it compare with other approaches?

The post does not benchmark NeMo against competing products, so no competitor comparison is drawn here. What it does contrast is two ways of improving an agent. One relies on public benchmark scores and model-level changes. The other builds evaluations from the agent’s own traces and domain rules, then edits the surrounding harness. NVIDIA positions the second as the better fit when failures are specific to a business, such as a requirement that no message is sent without approval.

A workflow example from engineering

NVIDIA also cites a Dassault Systèmes engineering example in which the same loop was applied. According to the post, malformed tool calls fell from 142 to zero, overall evaluation score improved 28% in relative terms, and runs used 35% fewer tool calls across six scenarios. Those figures come from NVIDIA’s own write-up and have not been independently reproduced.

In practice, the cycle runs in this order: record traces from a working agent, run Compass to get a ranked list of issues, hand a top issue and its trace IDs to a coding agent to write evaluations, review those tests, change one part of the harness, then rerun on both development and held-out tasks. NVIDIA recommends changing one part of the harness at a time, which keeps the before-and-after comparison readable.

What it takes to run the example

NVIDIA’s NemoClaw blueprint for agent optimization packages the walkthrough. It runs Hermes Agent inside an NVIDIA OpenShell sandbox using recorded traces from the fictional company. The listed prerequisites are a Linux machine running Docker natively (Ubuntu 24.04 with 8 vCPUs and 32 GB of RAM recommended), OpenShell 0.1.2, Harbor 0.22.0, an NVIDIA API key from build.nvidia.com, and a supported coding agent. A step-by-step tutorial is on GitHub, and NVIDIA also offers an NVIDIA Brev launchable. The post additionally points to a CAD guide for an engineering scenario.

The blog notes that the work is powered by NVIDIA Nemotron and carries a disclaimer that its AI-generated summary may be incomplete. Pricing for the API key and Brev usage is not covered in the post.

The loop depends on a good definition of expected behavior, since Compass judged the agent against ETHOS.md and the verifiers encode the same rules. Generated evaluations still need human review, and a harness change that passes six small runs has not been shown to hold up across a wider range of tasks. Teams should check current documentation for version requirements before relying on the pinned tool versions in the tutorial.

Sources