Vibeleaderboard
← All Intel
Intel / video

How to Know If Your AI Agent Is Any Good: Evals With Phoenix & Claude — Laurie Voss, Arize AI

Source
youtube.com
Author
AI Engineer
Date

Context

Laurie Voss, head of developer relations at Arize AI and a co-founder of npm, spends a two-hour AI Engineer workshop testing a small stock-report agent, and his clearest lesson is that an automated grader only helps if it asks a question it can actually answer. The agent, built on Anthropic's Claude Agent SDK with the cheap Claude Haiku 4.5 model, searches the web for a company and writes a report. Voss records every step it takes as a trace in Phoenix, Arize's open-source tool for logging and grading AI applications, and then reads the traces by hand. That is how he found the failure the workshop is named for: asked whether Tesla was a buy, the agent combined analyst percentages from two different searches into a split adding up to about 116% and reported it confidently. Each search result was fine; the agent's reasoning about them was not.

His first judge, a stronger Claude model grading each report with Phoenix's built-in correctness check, marked all 16 reports wrong, a score that told him nothing. The judge can only compare claims with what it learned in , so it treated October stock figures as fabrications; Voss counted seven of the 16 explanations complaining that the data could not be verified, though many also pointed to real problems such as numbers that did not add up. Switching to a faithfulness check, which asks whether the report sticks to the search results the agent actually retrieved, gave usable answers: it flagged 14 of 16 reports and pointed to specific invented claims and to two data points merged into one. A judge Voss wrote himself, asking whether a report gives a clear buy, hold or sell call, split the set five actionable to 11 not, which he calls one of the most useful kinds of result because there is something to improve.

He then checked the judge against his own labels, splitting them so the judge is tuned on one part and tested on another. On 12 tuning reports the judge agreed with him every time, which he reads only as no sign of a problem given how few there were. Adding one sentence requiring all four criteria made agreement drop to 11 of 12, and in another version, leaving his examples without the XML tags that separate examples from data flipped results across the board. His conclusion is that rubric wording behaves like code and needs versioning and testing.

The payoff is an experiment that shows what a fix changed and what it did not. A revised , with one change for each problem the evals found, took actionable reports from five of 16 to 48 of 48 across three runs, but faithful reports only from two of 16 to three of 48, despite an to use only numbers from the research. Moving to Claude Haiku 5.5 made reports more than three times as faithful, still poor by his account, at about four times the cost, and its calls became consistent partly because it said hold in 41 of 45 cases. Those are results from a 16-query demo with Voss as the only human grader, so they illustrate the method rather than rank the models. This explanation is based on a machine transcript of the workshop.

Terms in this piece · Glossary
  • Training — The process that adjusts a model using examples and a measure of how well it performs.
  • Prompt — Information or instructions supplied to a model; in a chat, the request you type is often called your prompt.
  • Instruction — A statement in the context that tells the model how to behave or what to do; module 3's first layer.
  • Large language model — A model trained on large amounts of data to process and generate language.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Read the source www.youtube.com
More from AI Engineer
Recommended reads