Voice agents need to listen well, respond naturally, and connect to useful data while keeping end-to-end communication near 800 milliseconds. Backman describes Pipecat as an open-source Python framework that orchestrates the services needed to meet those demands.
Realtime Voice AI
Speaker
Mark Backman of Daily leads a hands-on AI Engineer workshop on building real-time voice agents with Pipecat, joined by Daily colleagues and a Google DeepMind guest.
Alish explains a typical pipeline: transport audio goes to speech recognition, then an LLM, then text-to-speech, with generated audio returned through the transport. Pipecat also supports speech-to-speech models such as Gemini Live, modular service choices, parallel processing, and provider failover.
Backman walks through a Python bot using Daily for WebRTC transport, Silero for voice activity detection, and Gemini Live for audio input and output. The minimal pipeline connects transport input, the model, and transport output; the workshop repo also shows context handling and function tools. Conference Wi-Fi disrupts setup, but the bot eventually joins a Daily room and responds to voice.
Backman recommends WebRTC for client-server apps because of its audio quality and error correction, while WebSockets suit server-to-server connections such as phone bots. He describes VAD as key to interruptions and turn boundaries, and discusses Smart Turn, a Pipecat audio classifier that can extend the wait when someone seems to be continuing a thought.
Backman says guardrails are optional, while latency and context growth remain practical challenges. Task-based prompts, context resets, and summaries can help; tool calls may be slower because the model must finish its JSON response before acting. He also demonstrates Word Wrangler, a Gemini Live game in which an agent guesses words from spoken clues.
Takeaways
- Target roughly 800 milliseconds for end-to-end voice interaction, and measure the full pipeline.
- Choose WebRTC for client-server voice and consider WebSockets for server-to-server integrations.
- Keep pipeline components modular so providers can be swapped or run in parallel.
- Use VAD and turn detection to support interruptions while giving users time to finish speaking.
- Control long conversation context with task-focused prompts, resets, or summaries.
Mentioned in this talk
Search inside this talk
What was claimed 14
- built
“we're the team behind Pipecat”
0:13inThe New Primitives: Building AI Native SoftwareYouTube Verified7 sources· Talk, Web· archived
- feature
Pipecat: Open-source Python framework for voice and multimodal AI agents
“an open-source Python framework for building voice and multimodal AI agents”
YouTube Unverified1 source· Talk
- launched
Pipecat: March 2024
“Officially, Pipecat started in March 2024”
YouTube Unverified1 source· Talk
- feature
Pipecat: Supports parallel pipelines and dynamic failover between vendors
“you can also have split branches”
YouTube Unverified1 source· Talk
- feature
Pipecat: Modular services can be swapped without changing underlying application code
“You can change out a service without changing your underlying application code”
YouTube Unverified1 source· Talk
- feature
Daily: WebRTC provider“Daily is a WebRTC provider”
YouTube Unverified1 source· Talk
- integrates with
Pipecat integrates with
Gemini Live API
“Gemini Multimodal Live LLM service, a Pipecat class that's a wrapper around the Gemini Live API”
YouTube Unverified1 source· Talk
- integrates with
Pipecat integrates with
ElevenLabs
“such as ElevenLabs”
YouTube Unverified1 source· Talk













