AI Agents
Voice and chat AI on a Twilio-compatible API.
VoiceTel AI Agents implements the Twilio AI Assistants surface so application teams can ship voice and chat agents — with tool calls, knowledge bases, and per-session memory — without rewriting client code for a new vendor.
<Response>
<Connect>
<ConversationRelay url="wss://your-app.example/conversation"
language="en-US"/>
</Connect>
</Response>
Anatomy
Assistants you configure, not train.
Each assistant points at an LLM provider and model, carries a system prompt, and attaches the tools and knowledge bases it can use. Tool calls run against your application; knowledge is retrieved from what you ingested; every session keeps its history.
What you get
-
Assistants you configure, not train
Each assistant points at an LLM provider and model, carries a system prompt, and attaches the tools and knowledge bases it can use. No fine-tune cycle — change the prompt, change the behaviour.
-
Tool calls into your application
Define function-call schemas as Tools, attach them to assistants, and the runtime invokes them when the model decides to. Outputs feed back into the conversation as model context.
-
Retrieval-augmented knowledge
Knowledge resources ingest web pages, files, or raw text. Status and per-chunk inspection endpoints surface what's in the index. Attach knowledge to specific assistants for grounded answers.
-
Sessions, messages, and feedback
Per-session message history is read-back-able for auditing. Feedback events score assistant turns so quality can be tracked over time without bolt-on logging.
Voice agents on VoiceML
Put an assistant on a live call with ConversationRelay.
Pair an assistant with <Connect><ConversationRelay> to put it on a live call. VoiceML handles call control, media, STT, and TTS; the assistant handles turn-by-turn reasoning, tool calls, and knowledge retrieval. Existing voice-agent clients re-host with a hostname swap.
These open-source projects were built for Twilio's ConversationRelay and, by our review of their source, run on VoiceML as-is. Bring your own model key. Limits, setup notes, and the ConversationRelay messages VoiceML supports are on the ConversationRelay projects page. Reviewed 2026-10-04; not tested on live calls.
| Project | Built with | From |
|---|---|---|
| twilio-samples/ |
Node.js · OpenAI | Twilio sample |
| twilio-samples/ |
Next.js · OpenAI | Twilio sample |
| langflow-ai/ |
Node.js · Langflow | Langflow |
| pkamp3/ |
Node.js · Anthropic Claude | Community |
| rishabkumar7/ |
Python · Google Gemini | Community |
| manbearshark/ |
Node.js · Amazon Bedrock on AWS Fargate | Community |
Voice AI frameworks
Open-source frameworks for building your own voice agent pipeline reach the phone network through VoiceML's Media Streams (<Connect><Stream>) or through VoiceTel SIP trunking. How each one connects:
| Framework | Connects through | What to configure |
|---|---|---|
| Pipecat | VoiceML <Connect><Stream> (Twilio Media Streams protocol) |
Use Pipecat's Twilio serializer and set its base_url to https://voiceml.voicetel.com so automatic hang-up goes to VoiceML. |
| LiveKit Agents | VoiceTel SIP trunking to LiveKit SIP | Create LiveKit inbound and outbound SIP trunks for your VoiceTel numbers. Its Twilio-specific transfer helper calls Twilio's API directly and doesn't apply. |
| Dograh | Its Asterisk ARI provider, with Asterisk on a VoiceTel SIP trunk | Its Twilio provider is fixed to Twilio's API host for number setup, outbound calls, and transfers, so use the Asterisk provider or change that host. |
| TEN Framework | VoiceML <Connect><Stream>, with its Twilio voice-assistant example |
The example places and ends calls with the Twilio Python SDK; point the SDK at VoiceML with a custom HTTP client. |
| Bolna | VoiceML <Connect><Stream> (Twilio provider), or Asterisk on a VoiceTel SIP trunk (sip-trunk provider) |
Inbound calls use its <Connect><Stream> response as-is; for outbound calls through its Twilio API server, point the Twilio Python SDK at VoiceML. |
Reviewed 2026-10-04 by reading each framework's telephony code; not tested on live calls. Project names belong to their owners; listing a project does not imply endorsement by, or affiliation with, its authors.
API surface
Assistants, tools, knowledge, sessions, feedback, and policies.
The v1 paths, field names, and SID shapes match the upstream Twilio surface. Point your client at voiceml.voicetel.com, swap credentials, and the existing SDK works.
- Assistants CRUD
- Tools CRUD
- Knowledge CRUD
- Sessions Read-only
- Feedback Submit · list
- Policies Read-only
FAQ
Questions about AI Agents.
Which LLM providers can an assistant point at?
Do Twilio AI Assistants client SDKs work against VoiceTel?
voiceml.voicetel.com, swap credentials, and the existing SDK works.How do I put an assistant on a live phone call?
<Connect><ConversationRelay> verb in your call-control response. VoiceML handles call control, media, STT, and TTS; the assistant handles model reasoning, tool calls, and retrieval. See the VoiceML docs for the wiring.Where do tool calls actually execute?
How are knowledge bases indexed?
GET /Knowledge/{id}/Status and GET /Knowledge/{id}/Chunks let you inspect ingestion progress and what's in the index.Can I run multiple assistants for different use cases?
Ship your first agent.
Open an account, create an assistant, attach a tool and a knowledge base, and put it on a call with <Connect><ConversationRelay>. The Twilio AI Assistants SDK works as-is against voiceml.voicetel.com.

