Vercel's post frames agents as users of software that pass through a Discovery→Selection→Access→Success funnel, and argues evals measure the Success stage — not just "did it work?" but "how often, and how well?"
Testing pyramid: Tests are grouped by LLM calls needed — deterministic (0), one-turn evals (1), and E2E evals (2+ across a whole task). Effort, runtime, and cost track this; pick the lowest tier that catches your problem. Success requires E2E because an agent can make every step look reasonable yet reach the wrong outcome (e.g., ordering a hot latte when iced was requested). SWE-bench and Terminal-Bench are cited as existing E2E evals.
Building one with Harbor (open-source, from Terminal-Bench creators): vocabulary is Task (instruction + environment + verifier), Variant (model/prompt/tools/memory/skills), Trial, Run/Job, and Trace. Steps: (1) set one user-relevant goal found via observability, support tickets, or roadmap; (2) define metrics — success rate, Pass@k (can it do it at all?) and Pass^k (can you rely on it every time?), plus steps/time/cost measured on successful trials only; (3) design tasks covering common case, edge cases, and a "don't act" case, each with a seeded environment, a per-constraint verifier, and an optional known-good solution; (4) run variants concurrently in Vercel Sandboxes via Harbor's Vercel integration with cached environments and AI Gateway routing; (5) analyze traces.
Concrete limitations and caveats: E2E coverage can't target 100% because the surface is everything an LLM might do (the "jagged frontier"). Small trial counts mean 100% only means "no failures seen yet," and overall averages hide per-task failures, so inspect per task. Seeded data and verifier code must be protected from reward hacking (agents may edit inventory or write orders.json directly). Pass@5 vs Pass^5 can both be "right" while answering different questions; which to lead with depends on failure cost (coffee → Pass^k; coding agent with test feedback → Pass@k). Demo shortcomings: initial 0% scores were a Discovery failure (tool not named), Codex treated the CLI as a connected tool (Access issue), and an under-specified verifier counted give-up-without-searching as passes. For scale, up to ~40 reader agents plus a coordinator summarize traces automatically. Evals saturate over time, requiring harder tasks.