Problem
Lyft's customer care agents (AI Assist) handle about 270,000 AI interactions a month across rider and driver support, with more than seven agents in production. Agents that refund money or decide damage claims cannot be tested on real users. Generic judge scores such as "response helpfulness" do not say what to change, and a simulator with a polite LLM user overstates quality. The first agent passed 90% of offline cases, and production still disappointed.
Example from the article: a rider-side agent applies 80-plus refund automation rules and has to explain the refund decision to the rider in context. The team needed to know before launch that it did this correctly.
Solution in brief
Run each agent through an offline simulator: a LangGraph agent, an LLM playing the user, and tool outputs mocked from a YAML config. Score trajectories with task-specific rubrics and code assertions, align the LLM judge with expert labels, and route production failures to human annotation.
Questions this case answers
- How to gate the release of a tool-calling conversational agent with an offline evaluation that predicts production quality when real users are terse and impatient
- How to turn LLM-judge output into specific failure modes an engineering team can act on
- How to evaluate a customer-support LLM agent offline before releasing it to users?
- How to build an offline simulator for a multi-turn agent that calls tools?
Tools and methods
- LangGraph — runs the AI Assist agent inside the simulator.
- LangSmith — traces, evaluators, automations and annotation queues, offline and online.
- LLM-as-a-judge — scores each trajectory against a task rubric.
- LLM user simulation — generates end-to-end conversations, inspired by Tau Bench.
- Code assertions — scripts that check the final state of the world.
- Human labeling — expert labels for judge alignment and for failed production traces.
Google or a one-time email code. No password.