Documentation Index
Fetch the complete documentation index at: https://patter-06b046ce-feat-observability-otel-attrs-0-6-1.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Patter
Connect any AI agent to phone calls with 4 lines of code. Patter handles telephony, speech-to-text, and text-to-speech so you can focus on your agent. Patter is the open-source SDK that gives your AI agent a phone number. Point it at any function that returns a string and Patter handles the rest — telephony, speech-to-text, text-to-speech, and real-time audio streaming. You build the agent, we connect it to the phone. Works with Python and TypeScript, supports Twilio and Telnyx, and runs locally on your own infrastructure.A hosted Patter Cloud option will return in a future release. For now the SDK runs entirely in your process — bring your own carrier and AI provider credentials.
Quick Start
Connect your first AI agent to a phone call in under 5 minutes.
Core Concepts
Understand agents, voice modes, and the audio pipeline.
Python SDK
Full documentation for the Python SDK.
TypeScript SDK
Full documentation for the TypeScript SDK.
How it works
Key Features
- 4 lines of code — Write an async handler. Patter does the rest.
- Python & TypeScript — Same API surface in both languages. Pick your stack.
- Multiple voice modes — OpenAI Realtime, ElevenLabs ConvAI, or custom Pipeline (STT + TTS).
- Twilio & Telnyx — Both telephony providers are fully supported with equal feature parity: DTMF, transfer, and cost tracking. Recording is Twilio-only.
- Call transfer & recording — Built-in system tools for transferring calls and enabling recording.
- Guardrails — Block terms, run custom checks, or replace responses before they reach the caller.
- Built-in tunnel — Cloudflare tunnel support, no ngrok required.
- Real-time dashboard — Live metrics, latency tracking, and cost monitoring.

