Planning skill that interrogates your use case before any code is written, then recommends the right Twilio Conversations stack — ConversationRelay, Memory, Intelligence, Orchestrator, TaskRouter — and the implementation skills to follow.
Twilio ConversationRelay Voice Agents
Summary
Build real-time AI voice agents on Twilio ConversationRelay — TwiML setup, the WebSocket message types, streaming LLM responses back for playback, and the voice-provider configuration that goes with them.
Features
- TwiML setup for starting a ConversationRelay session
- Full WebSocket message-type reference with handling patterns
- Streaming LLM responses back for low-latency playback
- Explicit CANNOT section documenting platform limits and pitfalls
Install This Skill
Add this skill to your favorite AI agent in a few steps.
Skill Content
Usage Instructions
Learn how to use this skill with different AI agents.
Description
ConversationRelay is Twilio's bridge between a phone call and your own application: Twilio runs speech recognition and text-to-speech, your server holds a persistent WebSocket, receives transcripts, calls whichever LLM you like, and streams text back for Twilio to speak. The loop is caller → Twilio (ASR/TTS) → WebSocket → your app → LLM.
This skill covers that loop end to end — the TwiML that starts a relay, every WebSocket message type and what to do with it, how to stream partial LLM output so the caller is not left in silence, and how to configure voice providers. It also carries an explicit CANNOT section, which is the part that saves time: hard constraints and known pitfalls written down so the agent stops inventing capabilities the platform does not have.
Practical prerequisites it enforces before generating code: an upgraded Twilio account with ConversationRelay access (onboarding is not instant — it starts in the Console under Voice > ConversationRelay), a voice-capable Twilio number, account SID and auth token, a WebSocket server reachable over wss:// with TLS, and an LLM integration.
Part of Twilio's official Skills set, MIT-licensed in the twilio/ai repository. Twilio Skills are a Public Beta product and not covered by Twilio's support terms or SLA.
Related Skills
Foundational fal.ai skill that drives the genmedia CLI across 1200+ hosted generative model endpoints — smart routing, schema inspection, async queues and agent-parseable JSON.
Official AWS skill for authoring, deploying and debugging CDK stacks — construct patterns, bootstrap, drift, resource import and the CloudFormation errors that trap people.
The official Genkit skill for Node.js and TypeScript — flows, Dotprompt files, tools and the beta agent API with sessions, interrupts and branching.