Engineering brief

Stop shipping AI agents on vibes: evaluate what you can't predict

AI Engineer3 min read · saves 113 min

At a glance

The brief is enough

Relevance
Practical value
Radar
Time horizon
Now
Warnings
  • Vendor pitch

Most AI agent teams rely on 'looks good to me'. That misses regressions when a prompt change breaks something.

Most teams lack a repeatable way to measure AI agent quality. Evals turn vibes into numbers.

Watch if you're building or maintaining a production AI agent and want systematic quality measurement.

Summary

The problem. Most AI agent teams ship with "looks good to me" as their test suite. Laurie Voss demonstrates this pattern: you try a few inputs, they look right, you ship, and then a customer finds a broken edge case. The underlying issue is that LLM outputs are nondeterministic, so unit tests with expected strings don't work. The video proposes a systematic alternative: traces and evals.

The solution stack. Voss presents three layers of evaluation: code evals for deterministic checks (ticker mention, JSON parse), LLM-as-judge evals for meaning (accuracy, faithfulness, actionability), and human evals for gold-standard labeling. The key insight is that no single method catches everything; you need all three in a Swiss-cheese model. Phoenix, Arize's open-source observability tool, automates much of the plumbing.

The trap of the wrong eval. The video's most useful moment shows that the built-in correctness eval fails completely because it judges against the model's knowledge cutoff. Switching to faithfulness – which checks if the report is grounded in the agent's actual research – produces far more useful results. The lesson: choosing the right question beats tuning the prompt.

Testing your tests. A common failure is building a single "god evaluator" that checks everything. Voss recommends splitting into many small evals, each with a clear dimension. He then shows how to measure judge accuracy against a human golden dataset, using precision and recall. Even with small samples (16 reports), you can detect disagreement and iterate on the rubric.

The eval-iterate cycle. Once evals are trustworthy, you can run controlled experiments. Voss demonstrates improving prompts based on eval findings, and then comparing results before and after. He upgrades the model from Claude Haiku 4.5 to 5.5 and finds that actionability improved but faithfulness remained poor – and the model became overly conservative, mostly saying "hold". The cycle of measure, change, remeasure is where the value lives.

The organizational implication. Voss argues that anyone who knows what good looks like – product managers, support, sales – can write evals by describing criteria. This shifts evaluation from an engineering-only task to a cross-functional capability. The final piece is putting regression evals into CI, gating builds on guardrails (ticker mention) and north stars (actionability average). This transforms AI agent development from vibe-driven to evidence-driven.

My take

I've seen too many teams ship AI features after three manual tests and call it done. The framework here is solid: instrument first, read traces, then build targeted evals. The Swiss-cheese model of stacking code checks, LLM judges, and human oversight is the right mental model. What the video doesn't dwell on is the ongoing maintenance cost. Evals are code – they drift as models and prompts change, and they need versioning and retesting. The golden dataset approach is smart but time-consuming. I'd start with tracing and one or two code evals, then add an LLM judge for the most common failure mode. Skip the god eval. Also, the model upgrade experiment shows why this matters: new models can regress in surprising ways. Don't trust model upgrades without your evals running.

What to do with this

  1. Instrument your agent with tracing to capture all steps.
  2. Read 12-20 traces manually to identify failure patterns.
  3. Write one code eval for a deterministic check and gate CI on it.

Watch the video

This video is blocked due to your privacy settings. To watch this video, please accept YouTube marketing cookies.

Related breakdowns

Get TL;DW

Too Long; Didn't Watch.

A concise breakdowns of the AI and devtools videos that actually matter for engineering leaders.

Free. Weekly. No hype.

Video and thumbnails remain the property of their respective creators. tldw.news provides editorial analysis, commentary, and discovery links to original content.