← Open Source
PatterAI

Patter

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.

AI EngineeringGive agent toolsMake agent see hear talkPython
Open on GitHub
Momentum
+1stars in 24 hours+0.1%
1.07k
Stars
127
Forks
+5
This week
10
Contributors
Created 2026-04-07 · Updated 2026-10-16 · #5868 today
Top developers
nicolotognoniFrancescoRoscianoamalshaji-plivo

PatterAI/Patter is ranked 5,868 with 1,074 stars.

Same-category comparison

PatterAI/Patter is ranked 5,868 among these 8 peers; bytedance/SandboxFusion is ranked 5,869.

Same-category comparison
NameRankMetrics
atlassian/atlassian-mcp-server5,846
Language:
JavaScript
Stars:
1,100
Forks:
148
Description:
Official remote MCP server for Atlassian. Securely connect Jira, Confluence, Jira Service Management, Bitbucket, and Compass to Claude, ChatGPT, Cursor, VS Code, and other AI tools using OAuth 2.1 or API tokens.
context-labs/whip5,852
Language:
Go
Stars:
1,095
Forks:
156
Description:
A fast coding-agent harness in Go. Tool-use loop, bubbletea TUI, provider-routable models with live catalog discovery, MCP support, background subagents. One binary, no runtime, built for open-source models.
microsoft/Agents5,859
Language:
TypeScript
Stars:
1,086
Forks:
348
Description:
The Microsoft 365 Agent SDK simplifies building full stack, multichannel, trusted agents for platforms including M365, Teams, Copilot Studio, and Webchat.
introlab/odas5,865
Language:
C
Stars:
1,077
Forks:
281
Description:
ODAS: Open embeddeD Audition System.
bytedance/SandboxFusion5,869
Language:
Python
Stars:
1,074
Forks:
103
Human-Agent-Society/CORAL5,871
Language:
Python
Stars:
1,072
Forks:
137
Description:
Open-source autoresearch powered by autonomous coding agents. Run Claude Code, OpenCode, and Codex with grading, shared knowledge, and multi-agent evolution. Accepted at COLM 2026.
JudgmentLabs/judgeval5,877
Language:
Python
Stars:
1,065
Forks:
102
Description:
The Continuous-Improvement Stack for Agents. Our environment data and evals power agent improvement and monitoring.
binance/binance-skills-hub5,878
Language:
Python
Stars:
1,064
Forks:
241
Description:
Binance Skills Hub is an open skills marketplace that gives AI agents native access to crypto.
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguagePython
CategoryAI Engineering
SubcategoryGive agent tools, Make agent see hear talk
KeywordsAgent-ready APIs, Speech-to-text, Text-to-speech, Voice bots
Stars1,074
Forks127
Contributors10
Created date2026-04-07
Updated date2026-10-16
Stars in 1 day1
Stars in 7 days5
Rank5,868
Previous rank6,034
Rank change166
7-day stars rank5,631
Previous 7-day stars rank5,194
7-day stars rank change-437
Total stars rank10,556
Previous total stars rank10,544
Total stars rank change-12
README summary

It runs the agent loop and owns every layer of the call, and **you pick the provider for each one**. Compose them in **Realtime**, **Pipeline**, or **Hybrid** mode. **27+ provider integrations across the voice stack · 3 voice modes · 2 SDKs (Python & TypeScript) at parity. Documentation Visit the docs, or jump straight to a quickstart: TypeScript · Python. Skills for Coding Agents Using Claude Code, Claude Desktop, OpenClaw, Hermes, Cursor, Codex, or another AI coding agent? **Install Patter skills for voice agents

→** The bundle works in ~55 agent harnesses that consume the Anthropic Agent Skills standard. Install once; every agent on your machine learns the SDK. Skills live in their own repository: ** **. Quickstart Provider and carrier credentials are read from environment variables (e. For production, use a static (or ngrok); see Tunneling. Opt out any time: ( ), , or (also honours ); auto-off in CI/tests.

Frequently asked questions

How many stars and forks are recorded?

PatterAI/Patter has 1,074 stars and 127 forks.

What is the repository rank?

PatterAI/Patter is ranked 5,868.

What language and category are recorded?

PatterAI/Patter has 1,074 stars, uses Python and belongs to AI Engineering.

Which repository is closest in rank?

PatterAI/Patter is compared with bytedance/SandboxFusion, ranked 5,869 with 1,074 stars.

README

Patter SDK

About • How It Works • Documentation • Quickstart • Skills • Templates


About

Patter is the open-source SDK that gives your AI agent a phone number. You build the agent; Patter handles everything between it and the phone network — the agent loop, the language model, speech-to-text, text-to-speech, real-time voice, audio processing, and the telephony carrier.

  • Build with one API in Python or TypeScript — same surface, same hooks, same events, at full parity.
  • Choose the provider for every layer — LLM, STT, TTS, realtime engine, carrier — and swap any of them with one line.
  • Run locally with a built-in tunnel and dashboard, or simulate a whole call from your terminal — no phone required.

How It Works

Patter is the full voice stack between your application and the phone network — not just glue between an LLM and a carrier. It runs the agent loop and owns every layer of the call, and you pick the provider for each one. Compose them in Realtime, Pipeline, or Hybrid mode.

27+ provider integrations across the voice stack · 3 voice modes · 2 SDKs (Python & TypeScript) at parity.

Layer Choose from
LLM — text generation OpenAI · Anthropic · Google Gemini · Groq · Cerebras
STT — speech-to-text Deepgram · AssemblyAI · Cartesia · Soniox · Speechmatics · Whisper · Fish Audio
TTS — text-to-speech ElevenLabs · OpenAI · Cartesia · LMNT · Rime · Telnyx · Fish Audio
Realtime — all-in-one voice OpenAI Realtime · Gemini Live · Ultravox · ElevenLabs ConvAI
Telephony — phone carriers Twilio · Telnyx · Plivo
Audio — VAD & suppression Silero VAD · Krisp · DeepFilterNet

On top of the stack: an automatic LLM fallback chain (provider failover mid-call), built-in tools / call transfer / guardrails that behave identically on every carrier, and a vendor-neutral OpenTelemetry trace of each call.

Documentation

Visit the docs, or jump straight to a quickstart: TypeScript · Python.

Skills for Coding Agents

Using Claude Code, Claude Desktop, OpenClaw, Hermes, Cursor, Codex, or another AI coding agent?

Install Patter skills for voice agents →

npx skills add patterai/skills

The bundle works in ~55 agent harnesses that consume the Anthropic Agent Skills standard. Install once; every agent on your machine learns the SDK. Skills live in their own repository: PatterAI/skills.

Quickstart

Provider and carrier credentials are read from environment variables (e.g. TWILIO_ACCOUNT_SID, OPENAI_API_KEY) — the docs list the full catalog. Swap Twilio for Telnyx or Plivo to change carrier.

TypeScript

npm install getpatter
import { Patter, Twilio, OpenAIRealtime } from "getpatter";

const phone = new Patter({ carrier: new Twilio(), phoneNumber: "+15550001234" });
const agent = phone.agent({
  engine: new OpenAIRealtime(),
  systemPrompt: "You are a friendly receptionist for Acme Corp.",
  firstMessage: "Hello! How can I help?",
});
await phone.serve({ agent, tunnel: true });

Python

pip install getpatter
from getpatter import Patter, Twilio, OpenAIRealtime

phone = Patter(carrier=Twilio(), phone_number="+15550001234")
agent = phone.agent(
    engine=OpenAIRealtime(),
    system_prompt="You are a friendly receptionist for Acme Corp.",
    first_message="Hello! How can I help?",
)
await phone.serve(agent, tunnel=True)

tunnel: true spawns a Cloudflare quick tunnel and points your number at it — ideal for local dev. For production, use a static webhook_url (or ngrok); see Tunneling.

Telemetry

Note Patter collects anonymous, opt-out usage data (SDK version, bucketed provider/model and call facts) to help us prioritise — never call content, prompts, phone numbers, keys, or free text.

Opt out any time: Patter(telemetry=False) (new Patter({ telemetry: false })), getpatter telemetry disable, or PATTER_TELEMETRY_DISABLED=1 (also honours DO_NOT_TRACK=1); auto-off in CI/tests. Inspect without sending: PATTER_TELEMETRY_DEBUG=1. Full details: Telemetry.

Templates

Each template is a self-contained repo — clone, add your .env, and run. Python and TypeScript both included.

Template Description Repo
Inbound Agent Answer calls as a restaurant booking assistant patter-inbound-agent
Outbound Calls Place calls with AMD and voicemail drop patter-outbound-calls
Tool Calling CRM lookup + ticket creation via webhook tools patter-tool-calling
Custom Voice Pipeline mode: Deepgram STT + ElevenLabs TTS patter-custom-voice
Dynamic Variables Personalize prompts per caller using CRM data patter-dynamic-variables
Custom LLM Bring your own model patter-custom-llm
Dashboard Real-time monitoring with cost + latency tracking patter-dashboard
Production Setup Everything enabled: tools, guardrails, recording, dashboard patter-production
git clone https://github.com/PatterAI/patter-inbound-agent
cd patter-inbound-agent
cp .env.example .env    # fill in your keys
cd python && pip install -r requirements.txt && python main.py

Star History

Contributors

Thanks to all our amazing contributors!

License

MIT — see LICENSE.

Nearby in the ranking
Similar items