When to send a PDF page to a bigger model
Isaac Flath walks through a three-stage OCR pipeline and shows how to catch both kinds of routing error: stopping too soon and paying for work you already did.
Isaac Flath walks through a three-stage OCR pipeline and shows how to catch both kinds of routing error: stopping too soon and paying for work you already did.
Glean’s search engineers explain how they build retrieval evals from usage and synthetic data, inspect traces, and test changes with users.
Hamel Husain introduces trace review, failure grouping, calibrated binary checks and held-out tests for AI products.
Hamel Husain and Angelina Yang work through trace review, judge calibration, and the human decisions behind useful product evaluations.
Hamel Husain compares six classifiers on leasing-assistant traces, then shows how to tune thresholds, check confidence scores and weigh cost.
Vik Paruchuri explains how document benchmarks reward formatting, how to test the scorer, and how to build verifiable checks around your own documents.
Momento's Khawaja Shams explains realistic coding tasks, leaked answers, repeated trials, and the traces that make agent scores worth trusting.
Review 50–100 traces, find recurring failures, and show how fixes reduce errors. Build support for evaluation through visible product improvements.
Keep evaluation inside the development loop, give a trusted domain expert the final call on quality, and build annotation tools around their work.
Hamel Husain argues for validating AI judges against human labels before adding another model provider: measure precision and recall, then optimize cost.
Hamel Husain's interview playbook: audit imperfect data, establish a baseline, run honest comparisons, challenge vague metrics, and explain product trade-offs.
A live test finds real failures in 100 leasing-assistant conversations, but premature test design, brittle grading and a poor review interface undermine the workflow.
Hamel Husain's seven eval pitfalls: imaginary failures, generic scores, unvalidated judges, opaque interfaces, rating scales, the wrong reviewers, and over-automation.
Ben Hylak explains change-focused agent testing: replay production traces in a reconstructed environment, inspect behavioral differences, and validate the simulation before trusting it.
When the mandate is 'add AI,' look for a workflow worth accelerating—not a chat box to bolt onto an existing screen.
A blind, small-sample writing comparison finds some improvements over Opus 5, but generic phrasing, misplaced detail, and bot-like replies survive.
If customer traces are sensitive, seek limited authorized access, recruit cleared domain experts, or carefully redact; synthetic examples are a last resort.
Hamel ranks 28 evaluation practices: inspect real failures, use human-validated product-specific checks, and stop mistaking generic dashboard scores for progress.
The 100-trace target is a starting cue, not a magic sample size; keep inspecting until examples stop teaching you something new.
Refresh AI eval datasets through error analysis; use product metrics, not static tests, for long-term comparison.
A document-agent answer can be wrong because OCR misread the source, not because the LLM hallucinated. Trace the failure back before changing the model.
Writing an evaluation rubric before examining real traces can lock in the wrong criteria. Hamel Husain argues for open-ended error analysis first, then rubrics and reference answers grounded in observed failures.
Accessible PDFs need more than extracted text: reading order, headings, formulas, tables, figures, and other document structure must survive. Hamel Husain and Isaac Flath examine DataLab's API and the human review still required.
Overall agreement can make a useless LLM judge look accurate when failures are rare. Hamel Husain shows why product teams need class-specific error metrics instead of one reassuring percentage.
Model benchmarks answer how a model performs in general. Product evals answer the operational question that builders actually own: whether their specific system does the right thing on their users’ tasks.
A live attempt to let Codex buy a $5 course with Mercury’s agent card shows both sides of delegated payments: tightly scoped spending and enough approval friction to erase the convenience.
Hamel Husain tours an open-source eval toolkit built with Shreya Shankar: discover real failure modes before writing tests, audit weak eval pipelines, calibrate LLM judges against human labels, and build review interfaces tailored to your traces.
Hamel Husain and Isaac Flath compare three writing setups and get a messier result than expected: the elaborate anti-slop prompt, a plain-writing prompt, and no system prompt each win examples. Their small test points away from prompt mythology and toward context, real outputs, and editing effort.
Hamel Husain's answer to how you get an agent to do evals well starts with the human, not the agent: understand what good looks like first, because a published skill is generic by design and only pays off once you customize it.
Three model-written X posts about the same document-QA pipeline, judged by reading the drafts aloud. The ones that won carried a real number and one fewer fact than the rest.
Anthropic's fix for mannered prose is itself written in mannered prose. Hamel Husain and Isaac Flath run it side by side against a plain-writing prompt and a no-prompt baseline on the same question, then judge the drafts by reading them out loud.
Hamel Husain streams Anthropic's new `claude plugin eval` against a plain-writing skill and calls it a failure: the eval it generates is one ablation against the skill's own rules, the numbers have no provenance, and it asks you for exactly the error analysis that is the hard part.
Nandan Thakur (BEIR, MIRACL, TREC-RAG; now Microsoft Research India) on agentic search: BrowseComp-Plus as a reproducible eval, why the retriever moves accuracy more than the model does (60% → 88% on the same LLM), ORBIT's zero-budget 20k-question synthetic data pipeline, and HawkEye trajectory analysis for the leaderboard trap where 95% accuracy hides 210 search calls.
Teresa Torres (Continuous Discovery Habits) on why 'talk to your customers' fails for engineers, story-based interviewing as the reliable feedback loop, the Opportunity Solution Tree, how AI synthesis and her Vistily partnership put evals at the center of discovery, and a three-week eval war story about upstream errors and counterbalancing judges.
Hamel Husain on why 'it's hard to eval' is a product smell, verification-first design (the data agent, workers' comp report, and PE lesson planner redesigns), sharing skill shapes not skills, transition failure matrices, and why data science is more valuable than ever in the agentic era.
Radu, search engineer at Vespa, on why leaderboard picks leave cost, latency, and quality on the table — quantization, Matryoshka dims, tuning with Vespa Embed, and cheap-embedder + re-ranker architectures.
The hard part of background agents is the background: dev boxes over sandboxes, sessions over jobs, and keeping the agent in the control plane away from the risky work.
Shreya Shankar and Hamel Husain walk through the practical evals loop: top-down vs bottom-up criteria, an open-source Claude Code "error discovery" workflow that turns your taste into a rubric, and why automated eval tools get you a baseline but never replace reading your own data.
Why single-vector embeddings fail agentic retrieval, how late-interaction multi-vector scoring preserves low-level detail, and how sparse encoding makes it fast enough for production.
Evals are the bottleneck: the three parts of an evaluation, the hidden variables that skew scores, and when to reach for fine-tuning and RL instead of prompt tweaks.
A live whiteboard lecture on model cascades: send every record to a cheap proxy model first, accept its answer when confidence is high, route the rest to the expensive model — and pick the threshold from a labeled sample to hit your accuracy target at minimum cost.
Zach Mueller (Lambda) on when open models beat APIs: the current open-model landscape, token-speed targets, quantization trade-offs, and why open weights are good enough for ~90% of tasks for ~90% of people.
The DAB benchmark for data agents: why text-to-SQL isn't enough, the four real-world data challenges (messy joins, multi-database, free text, domain knowledge), and why frontier agents only pass 57% of the time.
Codex's hidden superpower: threads that spawn threads, talk to each other, and orchestrate themselves. Hamel demos running 16 parallel coding tasks with computer use and mobile control.
A practical framework for picking an OCR model: text-blocks vs document structure, API vs self-host, and why you should test on your own data instead of trusting benchmarks.
Lucas Rocha, an engineer at Brazilian edtech Nova Escola and alum of Hamel Husain's AI Evals course, tells his evals rollout story backwards: from a team that now runs LLM judges with no tickets and no engineer in the loop, back to the messy first spreadsheet and the three barriers — data, methodology, and judgment — that every team hits along the way.
Abi Aryan breaks down where LLM latency actually goes: the compute-bound prefill phase vs the memory-bandwidth-bound decode phase, and why decode — not prefill — dominates latency and cost, especially in multi-step agentic systems. A live Colab walkthrough with TinyLlama on a T4 measures both phases across chat, RAG, creative, and agentic request shapes.
Before worrying about evals, ask if you are building the right thing: AI that dumps an unverifiable answer creates more work. Hamel walks through design patterns — provenance, progressive disclosure, expert signals, modular steps — across three worked examples.
A walkthrough of Codex desktop app remote control: connect your agentic-coding servers, kick off sessions from your phone, and watch agents work anywhere — with live session views, subagent summaries, and follow-up prompts.
Part 1 of Hamel and Shreya's AI product engineering series: the analyze → measure → improve eval lifecycle, and three mistakes to avoid when using AI to automate evals.