🌍 Dev.to
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 reply into a TTS and send the bytes back. A few hundred lines. It works on the first call.
Then you listen to a recording and the agent is talking to itself.
Agent: "Hello, how can I help you?"
STT: "hello how can i help you" ← its own voice
LLM: "Sure! What can I help you wi...




