DEV Community

Frank Guan for Google AI

Posted on Edited on

Stop "Vibe Checking" Your AI Agents: How to Build Production Evals in 60 Minutes

How do you currently test your AI agents?

If you're like most developers building agentic workflows, you probably rely on the "vibe check": tweak a prompt, run a couple of manual queries, check if the output looks reasonable, and assume it's good to go.

Here's why that breaks down fast:

  • Silent Regressions: A teammate submits a PR or tweaks a tool definition, and you have no way to know if performance improved or degraded.
  • Cost & Latency Spikes: An agent gets trapped in a multi-turn retry loop, quietly burning thousands of tokens.
  • The "Looks Right" Trap: Output can look perfectly well-written while omitting critical parameters or hallucinating key instructions.

In this episode of the AI Agent Clinic, Google Cloud engineer Dani Zamora and Matthew Feroz (Merge) tackle this challenge live: building an end-to-end, framework-agnostic evaluation pipeline in 60 minutes.

Check out the full walkthrough below:


What We Cover in the Video

  1. The Test Subject (DocsHound): Matt brings on DocsHound, an open-source LangGraph agent that scans GitHub issues and PRs to find documentation gaps and open automated PRs.
  2. Framework-Agnostic Telemetry (OpenTelemetry + OpenInference): How to standardize multi-turn traces across any agent framework (LangGraph, CrewAI, AutoGen, ADK) with zero vendor lock-in.
  3. The 3-Tier Metric Strategy: Why you shouldn't start with 50 metrics, and how to combine:
    • Managed core metrics: Trajectory quality, tool-calling correctness, and groundedness.
    • Custom LLM judges: Rubrics tailored to formatting, code block enforcement, and actionability.
    • Deterministic assertions & operational tracking: Syntax checks, latency, token usage, and API cost.
  4. The 0.33 Quality Blind Spot: How the automated scorecard caught a 33% documentation quality failure that manual spot-checks completely missed.

Jump Directly to Key Sections

If you want to skip straight to a specific part of the walkthrough:

  • 00:00 — Why "vibe checking" fails in production
  • 02:11 — Introducing DocsHound (LangGraph agent demo)
  • 03:40 — Standardizing traces with OpenTelemetry & OpenInference
  • 05:51 — The 60-minute eval challenge begins
  • 06:47 — Step 1: Mapping agent execution flow with Antigravity
  • 11:18 — Step 2: Scaffolding the open-source Agent-Eval toolkit
  • 17:14 — Balancing quality vs. latency vs. token cost
  • 18:34 — Step 3: Translating quality definitions into custom metrics
  • 21:40 — Step 4: Inspecting the scorecard & spotting the 0.33 failure
  • 24:08 — Why automated evals change how you build agents

Open-Source Repositories & Resources

Follow along with the exact tools used in the video:

👉 Watch the full video above to see how to set up the eval pipeline step-by-step. If you have questions about instrumenting your own agent framework or setting up custom metrics, drop a comment below!


Enter fullscreen mode Exit fullscreen mode

Top comments (10)

Collapse
 
rulestack profile image
Rulestack •

The episode mentions wanting to test the agent before deploying new versions, and your first bullet is about a teammate's PR, so I'm curious: is the plan to run the same eval suite on each PR as well, or does a run before each deploy cover that case?

Collapse
 
mrsaynothing profile image
Mr Say Nothing •

The cheapest half of this is the deterministic layer, and it deserves the shame it gets: lint, types, tests, and a couple of grep gates catch the mechanical drift before any LLM-judge ever runs. Where the eval layer earns its keep is judgment drift — the agent that passes every gate while quietly lowering the bar. I run a site where an agent ships posts daily, and the pre-commit gate is boring on purpose; the interesting eval is reading yesterday's output against the same rubric a reader would use. Do your evals score single turns, or whole task trajectories? The second one is where agent failures actually live.

Collapse
 
siya_eduonix profile image
Siya Jain •

The point about polished output hiding a failed tool call is so important. I’d want regression tests to check the trajectory as well as the final answer: which tool was called, whether the arguments were valid, and whether the system escalated when it should. Jev could be an interesting structured-decision component in a workflow, but it should be tested against the same cases and metrics as the alternatives.

Collapse
 
botsailorofficial profile image
BotSailor •

This really hits on one of the uncomfortable parts of building AI agents: something can look great in a few manual tests and still fall apart once real users, tools, and edge cases get involved.

I especially liked the idea of treating evaluation as part of the development process rather than something you do at the very end. The combination of deterministic checks, quality metrics, and operational signals like latency and token cost feels much more realistic than trying to judge an agent purely by whether its final answer “looks good.”

The 0.33 quality failure was probably my favorite part. That’s exactly the kind of issue a quick manual spot-check can easily miss—and the kind of small regression that can quietly become a much bigger problem in production.

“Vibe checking” is fine when you’re experimenting, but once an agent starts doing real work, you need something more objective to tell you when it’s getting worse. Great practical walkthrough. 👏

Collapse
 
anh_nguynvn_0478e614ba profile image
Anh Nguyễn Văn •

Moving away from vibe checking is a huge hurdle because deterministic testing feels impossible when the model output is inherently non-deterministic. The biggest trap I've fallen into is relying too heavily on LLM-as-a-judge without a diverse enough set of reference golden datasets. If your eval dataset is too narrow, you end up optimizing for a specific prompt pattern rather than actual reasoning capabilities, which leads to regressions the moment you tweak the system instruction. Are you planning to incorporate any semantic similarity metrics or specialized scoring rubrics to catch those subtle logic drifts that simple string matching misses?

Collapse
 
jooedev profile image
JooeDev • • Edited

The funny thing is agents can be 90% right and still feel completely broken to users. That last 10% is usually where all the annoying cases live. @classroom games

Collapse
 
yuhehe profile image
Yuhe He •

The 0.33 quality blind spot is the part I'd tattoo on every agent repo's README. We ran a scraping-OSINT pipeline where the LLM stage looked great by eye for weeks, then a nightly sampled-payload check caught it silently dropping whole message categories — same failure class as your 33% doc-gap miss. What moved the needle for us: deterministic assertions on the output shape (fields present, counts in range) before any LLM judge touches it — cheap, fast, and they fail loudly; then judge metrics as a second tier. Question for the folks running this in prod: how are you keeping the eval corpus fresh? Ours decayed fastest when the upstream data drifted, not when the prompts changed.

Collapse
 
myildirim13234 profile image
مُعتز أبا الخيل •

bookmarking this for the ai bits

Collapse
 
christina5928 profile image
Lynn Ahmed •

great post

Some comments may only be visible to logged-in visitors. Sign in to view all comments.