Report · MoneyString-matching code evals miss many valid answers; for those you need LLM-as-judge evals, which use a second LLM to grade the output of the first LLM against a rubric. LLM judges understand meaning, not just strings — e.g., is this accurate, does it stick to source documents, is the tone right for a customer. The speaker finds ML-borrowed jargon (traces, evals, rubric) obscures meaning — rubric just means rules.
AI Engineer · How to Know If Your AI Agent Is Any Good: Evals With Phoenix & Claude — Laurie Voss, Arize AI
Principle · MoneyLaurie Voss states that every eval prompt that works well has five different parts. The first is giving the judge a role and context — a common pattern is 'you are an expert, blah, blah, blah.' Telling the judge it's an expert actually works — that's why everybody puts it in there. Telling an LLM it's an expert seems to make a difference in side-by-side comparisons — you need to tell it it's really smart and it gets confident and tries. But what really matters is the context, e.g., 'This is a financial report. We are expecting a report that analyzes financial data and tells us real things.'
AI Engineer · How to Know If Your AI Agent Is Any Good: Evals With Phoenix & Claude — Laurie Voss, Arize AI
Principle · MoneyStep six of the workshop is testing your tests — can we trust the judge, and how do we know the judge is right? The trick to remember is that your judge is a classifier in the classic ML sense: it looks at a report and predicts a label as actionable or not actionable. Like any classifier, you measure the judge by comparing its predictions with the truth, and here the truth is what a human expert would say. Attendees get to judge the judge — to mark the judge's homework.
AI Engineer · How to Know If Your AI Agent Is Any Good: Evals With Phoenix & Claude — Laurie Voss, Arize AI
Report · MoneyThe first kind of eval is code evals: fast, free, and a little bit brittle, very similar to unit tests. They are ordinary functions where you basically assert a string, though techniques exist to make them more flexible. They run in milliseconds and cost nothing to run.
AI Engineer · How to Know If Your AI Agent Is Any Good: Evals With Phoenix & Claude — Laurie Voss, Arize AI
Principle · MoneyLaurie Voss argues that choosing the right eval beats tuning it. Choosing correctness was entirely the wrong eval because it didn't tell us anything, it just told us a bunch of stuff was wrong. Tool selection told us something, and faithfulness told us quite a lot — knowing which question you're actually asking is the core of getting evals right.
AI Engineer · How to Know If Your AI Agent Is Any Good: Evals With Phoenix & Claude — Laurie Voss, Arize AI
Principle · MoneyWhen analyzing failures, look through all traces and write down in human language what you see happening before inventing categories — a term borrowed from ML called open coding. Guessing categories in advance produces categories that are too narrow, too broad, or miss what actually went wrong.
AI Engineer · How to Know If Your AI Agent Is Any Good: Evals With Phoenix & Claude — Laurie Voss, Arize AI
Principle · MoneyLaurie Voss advises giving yourself the same specific criteria that you gave the judge when labeling. He recounts disobeying one of his own rules — his rule said 'must include risks' and he marked a report fine even though it didn't include risks — and as a result he and the judge disagreed; he feels the judge was actually more correct than he was because it was being stricter. He also warns that the enemy when labeling is fatigue: if you give yourself a hundred traces to judge, by trace 50 you'll be bored and get lazier. It is better to have 50 really well-labeled examples than a hundred where you were just clicking through saying 'eh, this looks fine'.
AI Engineer · How to Know If Your AI Agent Is Any Good: Evals With Phoenix & Claude — Laurie Voss, Arize AI
Principle · MoneyWhat really matters in a judge prompt is the context — this is a financial report, we expect a report that analyzes financial data and tells us real things, and what we care about is whether you could act on it. Don't write 'a good response is helpful and accurate' because a judge can't make a yes or no decision from that. Telling the judge it is an expert actually works — it helps a little, and telling an LLM it's really smart makes it confident and try harder.
AI Engineer · How to Know If Your AI Agent Is Any Good: Evals With Phoenix & Claude — Laurie Voss, Arize AI
Principle · MoneyThe eval-iterate cycle is where the value is, not anyone's score: you run your evals, read the failures and the explanations, spot the pattern, change the prompt or the tools or the data, and run the experiment again. After running the experiment again, your evals can answer 'did it get better?' — you can go from 'I think it works' to 'I can show you it works.'
AI Engineer · How to Know If Your AI Agent Is Any Good: Evals With Phoenix & Claude — Laurie Voss, Arize AI
Report · MoneyLaurie Voss warns that automating evals before understanding how an agent fails leads to measuring what is easy to measure instead of what actually matters.
AI Engineer · How to Know If Your AI Agent Is Any Good: Evals With Phoenix & Claude — Laurie Voss, Arize AI
Principle · MoneyLaurie Voss warns against grading the path (the specific steps the agent took) instead of the outcome; Anthropic advises that checking particular steps is too rigid because agents can be creative and do things in unexpected ways. The ticker check only cares that the right company is in the report — the right level for many evals.
AI Engineer · How to Know If Your AI Agent Is Any Good: Evals With Phoenix & Claude — Laurie Voss, Arize AI
Report · MoneyLaurie Voss explains that the Claude Agent SDK runs the same engine as Claude Code, so if you're doing this in Claude Code, it tends to pick up the options, tools, and skills you've given to your copy of Claude Code instead of its own copy — making things extremely non-deterministic in an unhelpful way. He added a couple lines of code to make sure the Claude SDK runs in its own isolated version of the SDK, not stealing your copies of keys and other data.
AI Engineer · How to Know If Your AI Agent Is Any Good: Evals With Phoenix & Claude — Laurie Voss, Arize AI
Principle · MoneyLaurie Voss notes that human judges also disagree with each other a lot of the time, so don't be too worried about how much you can trust a judge. Inter-expert agreement is measured with a standard score called Cohen's kappa, and for this kind of labeling task it is often as low as 0.2 or 0.3 — experts agree not much more often than random chance. The bar for your judge is human performance, and human performance is not actually that good when you compare humans to each other. Your judge is never going to agree with you 100% of the time. What you want is a judge that does better than another human doing the judging would be, because your judge can run across thousands of examples.
AI Engineer · How to Know If Your AI Agent Is Any Good: Evals With Phoenix & Claude — Laurie Voss, Arize AI
Report · MoneyLaurie Voss explains the Claude Agent SDK's turn model: one turn is one query call. You give it a prompt, it streams back messages as the agent works (thinks, calls a tool, reads the result, maybe calls another tool), and when finished you get a result message with the final text and a session ID. The session ID is how you carry on the conversation: pass it back in as resume, and the next turn remembers everything the last turn saw.
AI Engineer · How to Know If Your AI Agent Is Any Good: Evals With Phoenix & Claude — Laurie Voss, Arize AI
Principle · MoneyLaurie Voss explains that the higher the quality of the data in your golden dataset, the more reliable everything is going to be. One of the best things you can do is continuously add to your golden dataset — when you see a tricky example or something strange in production, figure out what the answer should have been and put it in.
AI Engineer · How to Know If Your AI Agent Is Any Good: Evals With Phoenix & Claude — Laurie Voss, Arize AI
Principle · MoneyYour judge should be more capable than the agent itself (e.g., agent on Haiku, judge on Sonnet or Opus), and ideally from a different provider entirely (e.g., OpenAI judging Claude's work) because of same-model bias — Claude tends to like the output of other versions of Claude more than output from OpenAI or other providers. Run cheap and fast models like Haiku for the agent itself, reserving more capable models for judging.
AI Engineer · How to Know If Your AI Agent Is Any Good: Evals With Phoenix & Claude — Laurie Voss, Arize AI
Principle · MoneyLaurie Voss argues that a prompt change you haven't measured is just a vibe, and that the goal is a controlled comparison: the same inputs and the same evals, before and after the change — that is an experiment.
AI Engineer · How to Know If Your AI Agent Is Any Good: Evals With Phoenix & Claude — Laurie Voss, Arize AI
Principle · MoneyApproving every calculation or reviewing every PR line by line that agents ship doesn't feel great — it's the other side of the spectrum from full automation and leads to a lot of toil and unnecessary work if not designed for the use case.
AI Engineer · Stop Chatting With Spreadsheets — Francesco Galletta & Felippe Felisola Caso, Monzo
Principle · MoneyWhen presenting analysis to your firm, attribute your decision to the body of evidence you had rather than just stating the conclusion; show where your numbers came from — something that bites data professionals weekly.
AI Engineer · Stop Chatting With Spreadsheets — Francesco Galletta & Felippe Felisola Caso, Monzo
Principle · MoneyBuilding on the shared domain principle, the agent understands that pieces of the plan that are just code or a calculation will always give a consistent, deterministic result. Based on identifying deterministic elements of the plan, you need to implement code — something that gives the same result every time.
AI Engineer · Stop Chatting With Spreadsheets — Francesco Galletta & Felippe Felisola Caso, Monzo