Lyft's Nick Ung on Building Better AI Evals

Lyft's Nick Ung and Ashe discuss building effective AI agent evaluations, emphasizing realistic user simulation, actionable metrics, and statistical rigor.

8 min read
Presentation slide titled 'Build Evals that Actually Matter' with speakers Nick Ung and Akshay Sharma visible.
AI Engineer

Visual TL;DR. Lyft AI Evals uses AI Eval Flywheel. AI Eval Flywheel includes Offline Evaluation. Realistic User Simulation drives Actionable Metrics. Offline Evaluation informs Actionable Metrics. Actionable Metrics requires Statistical Rigor. Actionable Metrics leads to Better AI Agents. Statistical Rigor ensures Better AI Agents. Lyft AI Evals focuses on Realistic User Simulation.

  1. Lyft AI Evals: Nick Ung discusses building effective AI agent evaluations at Lyft
  2. AI Eval Flywheel: two distinct phases: development and production for AI agents
  3. Realistic User Simulation: addressing the 'LLM user' problem with data realism
  4. Offline Evaluation: rigorous testing before deployment to live users
  5. Actionable Metrics: moving beyond superficial metrics for consequential evaluations
  6. Statistical Rigor: ensuring robust and reliable evaluation results
  7. Better AI Agents: developing and scaling customer support AI agents effectively
Visual TL;DR
Visual TL;DR, startuphub.ai Realistic User Simulation drives Actionable Metrics. Actionable Metrics leads to Better AI Agents. Lyft AI Evals focuses on Realistic User Simulation drives leads to focuses on Lyft AI Evals Realistic User Simulation Actionable Metrics Better AI Agents From startuphub.ai · The publishers behind this format
Visual TL;DR, startuphub.ai Realistic User Simulation drives Actionable Metrics. Actionable Metrics leads to Better AI Agents. Lyft AI Evals focuses on Realistic User Simulation drives leads to focuses on Lyft AI Evals Realistic UserSimulation ActionableMetrics Better AI Agents From startuphub.ai · The publishers behind this format
Visual TL;DR, startuphub.ai Realistic User Simulation drives Actionable Metrics. Actionable Metrics leads to Better AI Agents. Lyft AI Evals focuses on Realistic User Simulation drives leads to focuses on Lyft AI Evals Nick Ung discusses building effective AIagent evaluations at Lyft Realistic User Simulation addressing the 'LLM user' problem withdata realism Actionable Metrics moving beyond superficial metrics forconsequential evaluations Better AI Agents developing and scaling customer support AIagents effectively From startuphub.ai · The publishers behind this format
Visual TL;DR, startuphub.ai Realistic User Simulation drives Actionable Metrics. Actionable Metrics leads to Better AI Agents. Lyft AI Evals focuses on Realistic User Simulation drives leads to focuses on Lyft AI Evals Nick Ung discussesbuilding effectiveAI agent… Realistic UserSimulation addressing the 'LLMuser' problem withdata realism ActionableMetrics moving beyondsuperficial metricsfor consequential… Better AI Agents developing andscaling customersupport AI agents… From startuphub.ai · The publishers behind this format
Visual TL;DR, startuphub.ai Lyft AI Evals uses AI Eval Flywheel. AI Eval Flywheel includes Offline Evaluation. Realistic User Simulation drives Actionable Metrics. Offline Evaluation informs Actionable Metrics. Actionable Metrics requires Statistical Rigor. Actionable Metrics leads to Better AI Agents. Statistical Rigor ensures Better AI Agents. Lyft AI Evals focuses on Realistic User Simulation uses includes drives informs requires leads to ensures focuses on Lyft AI Evals Nick Ung discusses building effective AIagent evaluations at Lyft AI Eval Flywheel two distinct phases: development andproduction for AI agents Realistic User Simulation addressing the 'LLM user' problem withdata realism Offline Evaluation rigorous testing before deployment to liveusers Actionable Metrics moving beyond superficial metrics forconsequential evaluations Statistical Rigor ensuring robust and reliable evaluationresults Better AI Agents developing and scaling customer support AIagents effectively From startuphub.ai · The publishers behind this format
Visual TL;DR, startuphub.ai Lyft AI Evals uses AI Eval Flywheel. AI Eval Flywheel includes Offline Evaluation. Realistic User Simulation drives Actionable Metrics. Offline Evaluation informs Actionable Metrics. Actionable Metrics requires Statistical Rigor. Actionable Metrics leads to Better AI Agents. Statistical Rigor ensures Better AI Agents. Lyft AI Evals focuses on Realistic User Simulation uses includes drives informs requires leads to ensures focuses on Lyft AI Evals Nick Ung discussesbuilding effectiveAI agent… AI Eval Flywheel two distinctphases: developmentand production for… Realistic UserSimulation addressing the 'LLMuser' problem withdata realism OfflineEvaluation rigorous testingbefore deploymentto live users ActionableMetrics moving beyondsuperficial metricsfor consequential… Statistical Rigor ensuring robust andreliable evaluationresults Better AI Agents developing andscaling customersupport AI agents… From startuphub.ai · The publishers behind this format

Nick Ung, a data science manager at Lyft, shared crucial insights into the process of building effective evaluation systems for AI agents, emphasizing the need for "evals that actually matter." Speaking alongside Ashe, Ung detailed Lyft's approach to developing and scaling their customer support AI agents, highlighting the importance of moving beyond superficial metrics to create evaluations that are both consequential and actionable.

Lyft's Nick Ung on Building Better AI Evals - AI Engineer
Lyft's Nick Ung on Building Better AI Evals — from AI Engineer

The AI Evaluation Flywheel: Development to Production

Ung outlined Lyft's AI agent evaluation system, which operates in two distinct phases: development and production. During the development phase, key activities include agent engineering, managing context, building retrieval pipelines, defining tools, constructing agent graphs, and writing system prompts. Crucially, before an AI agent is deployed to live users, it undergoes a rigorous offline evaluation process. Ung drew parallels between AI agent development and traditional machine learning model building, stressing the necessity of robust offline evaluations to ensure sufficient performance.

For AI agents, particularly those in multi-turn conversational use cases like customer support, offline evaluation involves simulating conversations. This requires a synthetic dataset representative of production traffic. An LLM is used to play out these simulated conversations, and another LLM acts as a judge to evaluate the quality of the interactions. A "launch gate" mechanism is employed, ensuring that predefined criteria are met before deployment. Ung emphasized that the goal is to avoid using live users as test subjects, a practice he considers poor data science.

Addressing the "LLM User" Problem and Data Realism

A significant challenge identified by Lyft was ensuring their simulated users in offline evaluations were realistic. Initially, they used off-the-shelf LLMs, which resulted in overly polite and patient user interactions, leading to optimistic and misleading performance estimates (e.g., a 90%+ pass rate). To counter this, Lyft fine-tuned their LLM user simulator with actual customer verbatim data. This approach made the evaluation more challenging but also more reflective of real-world user behavior, which often involves impatience and frustration.

Lyft also focused on defining distinct user personas, such as "Bypasser," "Refund Seeker," and "AI Skeptics," to ground the LLM user simulations more closely to real user profiles. This persona-driven approach, inspired by research from Microsoft, aims to create more accurate and challenging test scenarios.

The Pitfalls of Generic Metrics and the Rise of actionable evals

Akshay Sharma, also from Lyft's team, discussed the common pitfalls in AI evaluation. He noted that relying solely on pre-built metrics, such as those found in frameworks like DeepEval, can be problematic because they often lack actionability. Metrics like "tool usage appropriateness," "response helpfulness," "conversation naturalness," and "conversation completeness" provide scores but don't offer clear guidance on how to improve the agent. Sharma stressed the importance of developing metrics that are actionable and directly tied to business outcomes.

The team shifted from scalar metrics to a simpler pass/fail binary outcome. They collaborate closely with operations and quality teams to develop rubrics that assess the quality of LLM responses based on specific failure modes. These rubrics define scenarios where an AI agent should fail, such as trying too many times to educate a user, escalating too soon, or making factual errors.

Statistical Rigor in Evaluation

To ensure the validity and reliability of evaluation numbers, statistical rigor is essential. This includes using confidence intervals to report uncertainty in judge agreement and pass rates, rather than relying solely on point estimates. Calibration checks are also crucial to ensure that a judge's stated confidence aligns with its observed accuracy. Furthermore, effective sampling, including slicing and stratifying data, is necessary to confirm that the numbers truly reflect meaningful insights.

The presentation highlighted the importance of an explicit error-analysis loop. This process involves deep-diving into raw traces, pinpointing failure modes, prioritizing actionable metrics that drive decision-making, forming hypotheses, and iterating on the process. Tools like Langsmith tracing are vital for developers and agent builders to gain visibility into the entire execution flow, including reasoning, education articles used, and tool calls.

© 2026 StartupHub.ai. All rights reserved. Do not enter, scrape, copy, reproduce, or republish this article in whole or in part. Use as input to AI training, fine-tuning, retrieval-augmented generation, or any machine-learning system is prohibited without written license. Substantially-similar derivative works will be pursued to the fullest extent of applicable copyright, database, and computer-misuse laws. See our terms.