WhoBuilt

How to build the world's fastest voice bot

Feb 10, 2025· 21 min· 5.0K views·Watch on YouTube

Speaker

Kwindla Hultman Kramer of Daily, which builds real-time audio and video infrastructure, explains how to build faster, production-ready voice AI at an AI Engineer talk.

Voice AI needs flexible architecture

Kramer says production voice AI combines media processing and transport, transcription, data pipelines, model selection, tool calls, endpointing, interruption handling, echo cancellation, and speech generation. He illustrates the payoff with a healthcare intake demo that gathers patient details by phone, though its electronic health record calls were mocked.

Latency shapes the conversation

Kramer distinguishes throughput from latency and says conversational systems are chiefly constrained by how long they take to respond. People commonly respond within 200 to 300 milliseconds, and responses above roughly 500 milliseconds can feel unnatural. He estimates a typical voice-to-voice pipeline at about 600 to 700 milliseconds, including audio capture, network transport, transcription, inference, and speech generation.

Measure and colocate the pipeline

Kramer says the strongest way to reduce delay is to run speech-to-text, endpointing, LLM inference, and voice output together in one compute environment. Hosted services are common, but can make latency harder to control. A demo container measured about 500 to 700 milliseconds, with client-side voice-to-voice timing and server-side metrics for individual stages.

Pipecat provides an open framework

Kramer introduces Pipecat, an open-source, vendor-neutral framework for real-time and multimodal AI, developed from work at Daily. It supports conversational bots, speech-to-speech translation, voice-controlled software agents, and real-time vision applications. He invites developers to contribute services and help maintain the project.

Takeaways

  • Measure the full voice-to-voice path, including device capture, network travel, processing, and playback.
  • Treat response latency as a product requirement; a roughly 500-millisecond target is difficult with hosted model calls alone.
  • Keep speech recognition, endpointing, inference, and speech generation close together when response speed matters.
  • Design for interruptions, echo cancellation, buffering, and model swaps before deploying voice AI at scale.
  • Use frameworks such as Pipecat to assemble real-time AI components and contribute reusable integrations.

Mentioned in this talk

Search inside this talk

What was claimed 13

Show all 13 facts

Related talks