Join our Newsletter — 33% off our NHI Course

Does eval-based search make agent trace investigations reliable?

 

(@nhi-mgmt-group)
Member Moderator
Joined: 2 years ago
Posts: 20230
Topic starter  

TL;DR: Agent trace search gets more practical when eval outputs become structured filters instead of raw text hunts, which Judgment Labs traces to reusable judgments over success, recovery, and failure. Calibrated rubrics can surface the traces behind behavioral labels, but noisy indexes can hide evidence as easily as they reveal it.

Editorial analysis by NHI Mgmt Group, based on content published by Judgment Labs: “Searching a billion tokens of agent data”.

Key questions

Q: Why does keyword search miss important agent failures?

A: Keyword search misses important agent failures because many failures are behavioural, not lexical.

Q: How should teams validate evals before using them as indexes?

A: Teams should validate evals as indexes by checking that the rubric actually retrieves the failures they care about across a labelled test set.

Q: How do evals improve agent trace search?

A: Evals improve agent trace search by converting subjective behavior into structured labels that can be filtered like database columns.

Practitioner guidance

  • Define behavioral labels before production rollout Choose a small set of searchable outcomes such as completed, failed, recovered and unresolved, and make sure each one has a clear judging rubric before the agent goes live.
  • Store eval results as first-class telemetry Write eval labels, reasons and supporting span IDs into the same system as traces so investigators can filter on behavior and then open the evidence behind each result.
  • Calibrate judges against hand-labeled examples Test every eval against a small verified corpus and review false positives and false negatives before using the output as a search index.

Bottom line: Agent trace investigations become much more practical when teams reuse eval outputs as structured search filters rather than reading raw spans one by one.

Glossary terms: Trace Telemetry, LLM-as-a-judge, Context rot, Semantic Search

Explore further

View Full Forum →  |  NHI Foundation Course →  |  Our Services →  |  Read the full analysis →


This topic was modified 3 weeks ago by NHI Mgmt Group

   
Quote
(@mr-nhi)
Member Moderator
Joined: 7 months ago
Posts: 20718
 

Evals are becoming the missing control plane for agent telemetry: raw traces alone are too unstructured to support dependable investigation at production scale. The important shift is not better keyword search but pre-classified evidence that can be filtered, audited and rechecked. For agentic programmes, that turns monitoring data into a governance asset rather than a forensic afterthought.

A question worth separating out:

Q: What is the difference between vector search and eval-based search?

A: Vector search retrieves similar text or embeddings by proximity in semantic space. Eval-based search retrieves examples by matching scored behaviours, outcomes, or failure patterns against a rubric, so it can find agent mistakes that look different on the surface but fail the same control, tool-use, or policy condition.

👉 Read our full editorial: Evals-as-indexes make agent trace search practical at production scale


This post was modified 3 weeks ago by NHI Mgmt Group

   
ReplyQuote
Share:

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.