LangChainยท
How Numan Built an Eval-First AI Health Coach with LangGraph and LangSmith
TL;DR
Numan needed an AI health coach that could guide patients through conversations without drifting into diagnosis or treatment advice, but fixed-answer tests missed failures and penalized good coaching. It tests the production LangGraph agent using category-specific evaluations in LangSmith, safety checks that block releases, and prototype simulated patient conversations. This approach cut a model-provider migration from weeks of manual testing to one day and reduced serious boundary violations in adversarial tests, though the simulation criteria still need clinical approval before they can gate releases.