Eval-driven development: Vercel's approach to building AI products like v0
Traditional software testing methods do not work for AI's probabilistic, non-deterministic outputs, and existing eval management approaches are ad-hoc, unscalable, and lack the specificity needed to guide targeted improvement.
Vercel's v0 AI product uses eval-driven development to catch errors early, speed up iteration, and maintain a 100% pass rate on refusal and safety evaluations, with prompts iterated on almost daily.
Frequently asked questions
What did this team achieve with this AI workflow?
Vercel's v0 AI product uses eval-driven development to catch errors early, speed up iteration, and maintain a 100% pass rate on refusal and safety evaluations, with prompts iterated on almost daily.
What tools did this team use?
Braintrust, AI SDK, v0, GitHub.
What results were reported?
Refusal and safety eval pass rate: 100%; LLM eval cost vs code-based grading: 1.5x to 2x more than code-based grading (source-reported, not independently verified).
How is this quality assurance AI workflow structured?
PR triggers eval suite → Code-based grading → Human feedback collection → LLM-based grading → Eval results reported → Feedback feeds evals.