# "2025-12-26-2HNSG990Ew8-ai-evaluation-framework-pms-arize"
<!--
ref: @content/youtube/aie/2025-12-26-ai-evaluation-framework-pms-arize
triggers: [AI output lacks reliability, need for structured evaluation, iterative improvement stalled, transitioning from prototype to production]
trigger_prompt: When product managers seek to ensure the reliability and performance of AI systems through structured evaluations and continuous iteration.
version: 4
updated_at: 2026-10-31T19:21:23.015Z
-->

From AI Engineer, 2025-12-26: AI products fail in production not because prototypes don't work, but because teams stop iterating when output "looks good." Evaluation — structured, data-driven, and continuously run against production traffic — is the through-line discipline that turns prototype-grade…

Aman, AI Product Manager at Arize (previously evaluation PM at Cruise for self-driving cars and ML platform PM at Spotify), walks through a live workshop on building and evaluating a multi-agent AI trip planner.

## Core Thesis
AI products fail in production not because prototypes don't work, but because teams stop iterating when output "looks good." Evaluation — structured, data-driven, and continuously run against production traffic — is the through-line discipline that turns prototype-grade agents into reliable systems, and it's the highest-leverage work a modern PM can own. Evals are becoming the new PRD: the acceptance criteria PMs hand to engineering.

## Key Insights

- **Evals are not software tests.** LLMs are non-deterministic, agents take multiple valid paths, you sometimes *want* hallucination (in the right way), and your eval data — not your code — is the competitive moat.
- **"Vibe coding" → "Thrive coding."** Vibe coding (eyeballing one output, thumbs up/down) is fine for prototypes but fails at scale. Thrive coding uses *data* to gain the same confidence across hundreds of examples.
- **The 4-part eval prompt template**: role/task → context (in curly braces) → goal → terminology + labels with examples.
- **Never ask an LLM for numeric scores.** LLMs are "really bad at numbers" — use discrete text labels, then map to scores downstream.
- **Three eval types**: LLM-as-judge (scalable), code-based (regex, string match), human annotations (ground truth). LLM-as-judge is the production workhorse.
- **You need evals for your evals.** LLM judges hallucinate too. Validate them against human labels; 5–10 iterations on an eval prompt before it matches human judgment is normal.
- **Traces & spans** (agent, tool, LLM) are the observability primitives. Topology visualizations reveal the multi-agent fan-out → fan-in pattern that's invisible in code.
- **Evals as the new PRD.** Instead of a requirements doc, hand engineering a dataset + eval criteria as acceptance tests.
- **The iterative eval loop**: dev (small CSV) → curated datasets → experiments → production → new failure modes → back to dev. You only learn hard cases by shipping.
- **Human-as-tool inversion.** Rather than humans supervising agents, register humans (e.g., the CFO via Slack) as tools the agent can *call* when it hits capability gaps.
- **PMs have more leverage than ever.** Idea → updated prompt → shipped prompt can happen in a single day. PMs should get literate in code (Cursor) and redefine role boundaries with engineering.

## Actionable Takeaways

1. **Structure eval prompts** with the 4-part template; always use text labels, never numeric scores.
2. **Start with a spreadsheet.** A Google Sheet with thumbs up/down already puts you ahead of most teams — scale human annotation, don't skip it.
3. **Build datasets of 10–100+ examples** from traces; use Cursor to synthesize data when production traffic is thin.
4. **Run multiple evals in parallel** (tone, behavioral, hallucination, correctness) and always inspect the judge's explanation, not just its score.
5. **Iterate eval prompts like product prompts** — tighten definitions, add few-shot examples when the judge disagrees with humans.
6. **Lower judge temperature** to reduce label variance; profile variance by running the same eval multiple times.
7. **Constrain output length in prompts** — dramatically cuts latency (demo dropped from 32s averages).
8. **Version prompts** in a prompt hub (GitHub-for-prompts) so teammates can reference specific versions in code.
9. **Wire evals to production traffic**, not just held-out sets — datasets drift, and judge/human disagreements are your hard-example mine.
10. **Calibrate rigor to domain risk** — healthcare/legal demand higher bars than consumer travel agents.
11. **Heads of product: feel the pain first.** Write evals yourself before hiring an AI PM or AI engineer.
12. **Instrument with OpenInference** (one line for LangGraph, etc.); Arize sits on top of OpenTelemetry so it augments existing Datadog/Grafana traces rather than replacing them.
13. **Export datasets to iterate locally** when you can't touch the production codebase — working prototypes win arguments that docs lose.

## Notable Quotes

> "When the people that are selling you the product are telling you that it's not reliable, you should probably listen to them."

> "You actually kind of want your agent to hallucinate just in the right way."

> "Even today, even though we have PhD-level LLMs, they're still really bad at numbers."

> "What if we go from evaluating with vibes to Thrive Coding?"

> "You need evals for your evals. You cannot get away from... you can't just trust the system."

> "I kind of view eval like the new type of requirement. Instead of giving them a PRD, you give them an eval as requirements — here's the eval dataset and here's the eval we want to use to test the system as acceptance criteria."

> "It might take you five or ten tries to get an eval that matches your human labels, and that's okay because these systems are really complex."

> "Rather than how can the agent be a tool of the humans, we're flipping it — what if the agent could do everything and then the parts it can't do, it'll go to the human as a tool."

> "PMs have more leverage than they've ever had before in probably the entire professional journey of product management."

> "Working prototypes won all of those arguments. Whatever was in the doc didn't matter."

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*