Urgent.News

What's breaking now, across thousands of outlets.

More in Tech

When is it safe to open the microphone? Building a realtime voice agent on Twilio

Wiring up a phone agent looks like a weekend project. Twilio Media Streams gives you a WebSocket with raw audio, you push it into a streaming STT, you feed the transcript to an LLM, you stream the…

  • Single-channel problem arises from phone line acting as both input and output
  • Mark frame provides honest signal for microphone control but not caller's hearing
  • Five conditions must be met for proper microphone gating and barge-in functionality

More from Sunday 9 August →