AI Voice Agent for Twilio
Add AI voice agents to your Twilio stack without leaving it.
Two clean paths. Forward selected Twilio numbers to a PyAI number and let an AI agent answer those calls, or integrate directly: PyAI's answer detection speaks Twilio's own streaming format, so your TwiML can hand a call to PyAI as a drop-in, and call import is rolling out now for full recap and QA.
Two ways in. Pick per call type.
Path 1: Forward calls to PyAI
Keep everything exactly where it is. PyAI provisions a number (or takes your SIP trunk), you point your calls at it, and a PyAI agent answers with your greeting, your knowledge, and your tools. Your platform keeps billing you for lines; the AI layer lives at PyAI.
- 1.In the PyAI console, provision a number (Phone) or bring your own SIP trunk.
- 2.Build the agent: pick a voice, write the greeting, connect your knowledge and tools, then call it yourself to test.
- 3.Set the forward on your side using the hint below, aimed at the PyAI number.
- 4.Place one real call. The agent answers; the recap and QA land in PyAI and any tools you connected.
On Twilio: Twilio Console: point a number's voice URL at a TwiML Bin that dials the PyAI number, or forward from the carrier level.
Path 2: Integrate via API
The deepest fit of any platform on this page: AMD is a Twilio Media Streams drop-in, and the rest of the voice stack is OpenAI-compatible.
- Twilio import is rolling out now: every delivery is verified as really from Twilio, and recordings fetch through the official API.
- PyAI's answer detection speaks Twilio's own streaming format, so your TwiML can hand a call to PyAI for answering-machine detection as a drop-in.
- OpenAI-compatible endpoints mean existing code pointed at other voice APIs usually changes a base URL and a key, not its shape.
Which path when
Start with forwarding
You want AI answering real calls this week without touching your Twilio setup. One number forward is the whole change.
Add the API when ready
You want the AI leg inside your own call flows, or deeper call-data integration, on OpenAI-compatible endpoints.
Import lands soon
Twilio import is rolling out now and opens for everyone as the proof finishes.
FAQ
Do I have to leave Twilio to use PyAI?
No. Most teams start with call forwarding: Twilio keeps the lines and the bill, and PyAI answers the calls you point at it. If and when it makes sense, you can also build directly on PyAI's APIs or import completed calls.
What does the AI voice agent actually do on a call?
It answers in your voice and greeting, holds a real conversation at human pace, uses your knowledge base and tools, and can transfer to a human, collect details, or end the call politely. Afterward you get the recap and, with Trace, a compliance scorecard.
Is call import from Twilio available?
It is rolling out right now: we are proving it with real Twilio accounts first, then it opens for everyone. Call forwarding works today regardless.
What does this cost?
You pay PyAI for the calling and call intelligence you run (per-minute calling, Recap or AMD usage); integrations carry no extra fee. Your existing platform bills you as usual for the lines you keep.
Put an AI agent on your Twilio calls.
An instant sandbox key lets you test without billing. Create an account when you want saved projects, and fund a live key for production traffic.
Agents is live in beta. Sandbox keys have daily limits and never touch billing.