← Back to Leaderboard
PPatterAI

PatterAI/Patter

Self-hostable voice SDK with realtime and pipeline modes for phone agents

AI FrameworkQuickstart ↓
Engineering Health (Methodology)
A · 82/100
Maintenance Activity
● Updated 1mo ago
Latest Release
v0.7.0
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance31/35
Fork Adoption17/25
Release Cadence14/20
License Clarity20/20
DockerSelf-HostedAPI
Total Stars
★ 1,091
24h Growth
+1
7d Growth
+4
Forks
129

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

PatterAI/Patter Star History (2026-04-06 - 2026-12-04) ALL-TIME STAR HISTORY (2026-04 – 2026-12) +1.1k in 242d · avg +5/day 1.2k 576 0 2026-04-06: ★ 12026-04-25: ★ 42026-05-16: ★ 252026-06-06: ★ 5022026-06-27: ★ 8642026-07-18: ★ 9962026-08-08: ★ 1,0192026-08-29: ★ 1,0342026-09-19: ★ 1,0562026-10-10: ★ 1,0662026-10-31: ★ 1,0772026-11-15: ★ 1,0822026-12-04: ★ 1,091 ★ 1.1k 2026-04 2026-08 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Patter is an MIT-licensed voice runtime packaged as getpatter for Python and TypeScript. A Patter instance binds a phone number to a carrier adapter such as Twilio, Telnyx, or Plivo; phone.agent(...) configures the agent, and phone.serve(...) serves the call integration. Patter runs the conversation loop rather than only forwarding requests between a carrier and a model. Realtime mode uses an integrated voice engine such as OpenAI Realtime or Gemini Live. Pipeline mode separates speech recognition, language generation, and speech synthesis. Hybrid is a third supported mode.

The provider boundary in Pipeline mode lets teams keep a dialogue backend outside the voice runtime. OpenAICompatibleLLM, HermesLLM, and OpenClawLLM send each turn to POST {base_url}/chat/completions, so an existing agent can generate replies while Patter handles speech and telephony. The repository includes libraries/, dashboard-app/, examples/, and tests/; the supplied Compose file defines a single patter service, not a separate dashboard or database service.

Key Capabilities & Differentiators

Patter lists 27+ integrations across the stack. A Pipeline configuration can pair Deepgram STT with Anthropic for language generation and ElevenLabs for TTS. Realtime options include OpenAI Realtime, Gemini Live, Ultravox, and ElevenLabs ConvAI. Audio integrations cover Silero VAD, Krisp, and DeepFilterNet. Tools, transfers, and guardrails share a carrier-neutral interface, and an LLM fallback chain can switch language-model providers mid-call. That is distinct from carrier or speech-service failover.

Version 0.6.8 added multi-agent handoffs, local recording, preemptive generation, and semantic end-of-utterance detection to both SDKs. Developers can simulate calls in a terminal without a phone, use OpenTelemetry for call traces, and use the dashboard template to track cost and latency. Simulation helps validate the agent flow before provisioning a number, but does not exercise the real carrier path or establish end-to-end latency under load.

Trade-offs & Limitations

Compared with procuring a managed voice platform such as Vapi or Retell, Patter gives your team the option to run the call runtime, choose providers by layer, and retain an existing agent backend. In return, your team owns the availability of the public webhook, carrier and provider credentials, and incident response across those services. Realtime mode reduces the number of independently configured voice components; Pipeline mode gives more control over transcription, model choice, and voice, but adds service boundaries whose latency, cost, and failure behavior should be tested on actual calls.

MIT licensing permits commercial use subject to its notice requirements; it does not remove provider charges or change carrier and model-service terms. Self-hosting also does not keep audio or transcripts inside your network if the selected providers process them externally. The SDK's opt-out usage telemetry excludes call content and is separate from call traces and local recordings; teams should set collection and retention policies for each.

Hardware & Deployment Guide

Install getpatter through pip or npm and supply the chosen carrier and model credentials through environment variables, such as TWILIO_ACCOUNT_SID and OPENAI_API_KEY. For local calls, tunnel=True in Python or tunnel: true in TypeScript exposes the service through a Cloudflare quick tunnel and points the number at it. For production, use a stable HTTPS webhook_url. The root docker-compose.yml builds from . using the checked-in Dockerfile, loads .env, publishes 8000:8000, and uses restart: unless-stopped. That is a single-service starting point, not a highly available deployment.

Self-hosting the runtime does not make the external-API setup offline or require a local inference GPU. Size the host against concurrent calls, chosen providers, and any local audio processing or inference; the available evidence does not establish a resource minimum. In release history, v0.6.5 added the external-agent adapters, v0.6.8 brought call-control and recording additions to both SDKs, and v0.7.0 completed the Inworld integration as a backward-compatible public API update.

Voice architecture: Realtime engines such as OpenAI Realtime or Gemini Live, a composable STT–LLM–TTS pipeline, and a Hybrid mode.
Dual SDKs: getpatter on PyPI and npm, with a shared API design, hooks, and events.
Carrier adapters: Twilio, Telnyx, and Plivo expose a common surface for tools, call transfers, and guardrails.
External agent integration: Pipeline mode routes turns to POST {base_url}/chat/completions through OpenAI-compatible, Hermes, or OpenClaw adapters.
Conversation controls: Mid-call LLM fallback, multi-agent handoffs, preemptive generation, and semantic end-of-utterance detection.
Testing and observability: Terminal call simulation without a phone, OpenTelemetry call traces, and a dashboard template for cost and latency tracking.
Best For

Teams building inbound reception, booking, or support agents that want to run the call service, choose speech providers by layer, or add telephony to an existing OpenAI-compatible agent.

Skip If

You need a turnkey managed service, cannot operate a stable public webhook, or require the supplied integration to work entirely offline.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedAPI
npx skills add patterai/skills

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
Patter ★1.1k+4PythonMITSelf-hostable voice SDK with realtime and pipeline modes for phone agents
semantic-kernel28.8k+31C#MITModel-agnostic SDK for building tool-using agents and workflows inside applicati
openai-agents-python31k+126PythonMITEmbeddable Python SDK for multi-agent orchestration across text, voice, and sand
browser-use122.7k+477PythonMITPython REPL and CDP for adaptive browser automation

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/PatterAI/Patter.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

PatterAI/Patter Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about Patter

Can I give an existing agent a phone number without moving its logic into Patter?

Use Pipeline mode with OpenAICompatibleLLM when your agent exposes POST {base_url}/chat/completions. The Python and TypeScript SDKs also expose HermesLLM and OpenClawLLM. The external runtime answers each turn through the chat-completions interface; Patter handles the voice and telephony layers.

Do I need a GPU, and how should I size the call server?

The external-API quickstart does not require a local inference GPU, and there is no verified CPU, RAM, or VRAM minimum. Load-test realistic concurrent calls and measure host CPU, memory, and network use. If you add local inference or audio processing, size for those workloads separately.

Can we self-host Patter commercially, and what compliance work remains?

Yes. The MIT license allows commercial use and self-hosting, subject to its notice requirements. Carrier and model services have separate terms, and self-hosting Patter does not make calls or recordings compliant by itself. For deployments that prohibit SDK usage reporting, set PATTER_TELEMETRY_DISABLED=1 and separately review where audio, transcripts, traces, and any recordings are handled.

When should I choose Patter over Vapi or Retell?

Choose Patter if you need to run the call runtime yourself, select providers by layer, or keep an existing agent backend. If you would rather procure a managed voice platform such as Vapi or Retell, compare who owns webhook availability, carrier setup, incident response, and call observability. Provider counts alone do not settle that decision.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining PatterAI/Patter? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature PatterAI/Patter on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare