Session

Using State Machines to Build Voice Agents

LLMs are unpredictable. Add real-time voice and things get messy fast: overlapping speech, hallucinated replies, and broken turn-taking.

In this talk you’ll learn how we built "AI Maya", Lemonade's voice agent, using state machines (with XState) to bring structure, determinism, and sanity to this madness. We’ll walk through challenges in developing AI voice (and production-proved solutions), and show how modeling conversations as a state machine makes natural-sounding interactions actually achievable.

Shay Davidson

Principal Engineer and Frontend Lead at Lemonade

Tel Aviv, Israel

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top