Build AI-powered voice agents using Twilio ConversationRelay. Handles real-time speech recognition (ASR), text-to-speech (TTS), and bidirectional audio streaming via WebSocket. Covers TwiML setup, WebSocket message types, LLM integration, streaming responses, and voice provider configuration. Use this skill to build voice bots, IVR replacements, or real-time AI voice assistants on Twilio calls.
Install
npx skills add twilio/ai --skill twilio-voice-conversation-relaynpx skills add twilio/ai --skill twilio-voice-conversation-relay -a claude-code -gnpx skills add twilio/ai --skill twilio-voice-conversation-relay -a codex -ggemini skills install https://github.com/twilio/ai.git --path skills/twilio/twilio-voice-conversation-relaygh skill install twilio/ai twilio-voice-conversation-relaygit clone --depth 1 https://github.com/twilio/ai /tmp/twilio__ai
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/twilio__ai/skills/twilio/twilio-voice-conversation-relay ~/.claude/skills/twilio-voice-conversation-relay # Claude Code
cp -R /tmp/twilio__ai/skills/twilio/twilio-voice-conversation-relay ~/.agents/skills/twilio-voice-conversation-relay # Codex, Cursor, Gemini CLI, Copilot, OpenCode