Patter connects AI agents to phone numbers through configurable LLM, speech and carrier layers with local tunneling for development.
Overview
Patter is an open-source SDK that gives AI agents a phone number by owning the stack between your code and carriers. You choose providers for the language model, speech-to-text, text-to-speech, realtime voice engines and telephony carriers, swapping any layer in one line.
Voice modes include realtime, pipeline and hybrid compositions. The runtime handles the agent loop, audio processing, automatic LLM failover mid-call, built-in tools, call transfer, guardrails and OpenTelemetry traces per call.
Develop locally with a built-in tunnel and dashboard or simulate calls from the terminal without a phone. Twilio, Telnyx and Plivo are supported telephony backends alongside many speech and model vendors.
A separate skills repository teaches coding agents how to build on Patter across dozens of agent harnesses.
Key features
- Full voice stack between app and phone network
- 27 plus provider integrations across layers
- Realtime, pipeline and hybrid voice modes
- Automatic LLM failover during active calls
- Built-in tools, transfer and guardrails
- OpenTelemetry trace per phone call
- Local tunnel and terminal call simulation
- Python and TypeScript SDKs at parity
Use cases
- Giving a custom AI agent an inbound phone line
- Prototyping voice bots with swappable STT and TTS
- Running voice agents on infrastructure you control
- Building carrier-agnostic phone integrations in TypeScript or Python
Open-source alternative to
Retell AI“Open-source voice-AI SDK. The Vapi/Retell alternative for builders who want to own the stack. Give your AI agent a phone number in 4 lines — Python and TypeScript, MIT licensed, Twilio, Telnyx, and Plivo.” source
Vapi“Open-source voice-AI SDK. The Vapi/Retell alternative for builders who want to own the stack. Give your AI agent a phone number in 4 lines — Python and TypeScript, MIT licensed, Twilio, Telnyx, and Plivo.” source