Skip to content
@PatterAI

Patter

The open-source SDK for voice AI. Connect any AI agent to phone calls with 10 lines of code
Patter

License: MIT Python npm GitHub Discussions


🔊 Patter is the open-source way to connect any AI agent to real phone calls. Build voice-powered agents with a few lines of code — without managing telephony, speech pipelines, or audio infrastructure.

Visit the Patter docs to get started. SDK: Python / TypeScript

🧐 What is Patter?

Patter is a dual SDK (Python + TypeScript) that gives developers a unified API for the entire voice AI pipeline — speech-to-text, AI reasoning, text-to-speech, and telephony — wired together with sub-second latency so your agent sounds natural on a real phone call.

✨ Just like this

import asyncio
from patter import Patter

async def main():
    phone = Patter(
        openai_key="sk-...",
        phone_number="+15550001234",
        webhook_url="your.server.com",
    )

    agent = phone.agent(
        system_prompt="You are a friendly booking assistant for a dental clinic.",
        voice="nova",
        first_message="Hi! I'm calling from Smile Dental. How can I help?",
    )

    await phone.serve(agent, port=8000)

asyncio.run(main())

🚀 Key Features

  • 📞 Inbound & Outbound Calls — answer calls or dial out programmatically with Twilio or Telnyx
  • ⚡ 3 Voice Modes — OpenAI Realtime (lowest latency), Pipeline (custom STT+TTS), ElevenLabs ConvAI
  • 🔧 Tool Calling — let your agent check databases, book appointments, or transfer calls
  • 📊 Built-in Dashboard — real-time call monitoring, cost tracking, and analytics
  • 🧪 Test Mode — develop agents in your terminal, no phone needed
  • 💰 Per-Call Metrics — cost breakdown by provider (STT, TTS, LLM, telephony) with latency percentiles
  • 🛡️ Guardrails — content filtering and blocked terms before speech output
  • 🏠 Local Mode — runs entirely on your machine, no cloud dependency
  • 🤖 Any LLM — pluggable LLM loop, bring your own Anthropic, Gemini, or any provider

🏁 Getting Started

  • 📥 Installation — install the SDK and set up your environment
  • 📖 Documentation — full guides for Python and TypeScript
  • 💬 Discussions — ask questions and share what you've built
  • 🐛 Issues — report bugs or suggest features

Pinned Loading

  1. Patter Patter Public

    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…

    Python 1.1k 127

  2. skills skills Public

    Agent Skills for the Patter SDK — give your AI agent a phone number. Works in Claude Code, Cursor, OpenClaw, Hermes Agent, Codex, Cline, Goose, Amp, Windsurf, and any harness that consumes the Agen…

    6

  3. patter-mcp patter-mcp Public

    MCP server for the Patter Voice AI SDK — make and receive phone calls from any MCP-compatible client (Claude Code, Cursor, ChatGPT, OpenClaw, Hermes Agent, Codex). Streamable HTTP transport, self-h…

    TypeScript 3 1

  4. awesome-claude-call awesome-claude-call Public

    Give Claude Code a phone number — outbound, inbound, and ring-when-done voice calls via Twilio + Patter. A Claude Code plugin.

    TypeScript 10 1

Repositories

Showing 10 of 13 repositories
  • Patter Public

    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.

    Python 1,072 MIT 127 0 11 Updated Oct 3, 2026
  • patter-mcp Public

    MCP server for the Patter Voice AI SDK — make and receive phone calls from any MCP-compatible client (Claude Code, Cursor, ChatGPT, OpenClaw, Hermes Agent, Codex). Streamable HTTP transport, self-hosted via git clone + npm start.

    PatterAI/patter-mcp's past year of commit activity
    TypeScript 3 MIT 1 0 0 Updated Jul 14, 2026
  • skills Public

    Agent Skills for the Patter SDK — give your AI agent a phone number. Works in Claude Code, Cursor, OpenClaw, Hermes Agent, Codex, Cline, Goose, Amp, Windsurf, and any harness that consumes the Agent Skills standard. One CLI: npx skills add patterai/skills

    PatterAI/skills's past year of commit activity
    6 MIT 0 0 0 Updated Jul 2, 2026
  • .github Public
    PatterAI/.github's past year of commit activity
    0 0 0 0 Updated May 10, 2026
  • awesome-claude-call Public

    Give Claude Code a phone number — outbound, inbound, and ring-when-done voice calls via Twilio + Patter. A Claude Code plugin.

    PatterAI/awesome-claude-call's past year of commit activity
    TypeScript 10 MIT 1 0 0 Updated May 10, 2026
  • awesome-chatgpt-call Public

    Give ChatGPT and Claude.ai chat a phone number. Hosted MCP server, BYO Twilio + voice-engine keys, deploy-ready for Manufact.

    PatterAI/awesome-chatgpt-call's past year of commit activity
    TypeScript 1 MIT 0 0 0 Updated May 8, 2026
  • patter-production Public

    Patter template: Full production setup with tools, guardrails, recording, and dashboard

    PatterAI/patter-production's past year of commit activity
    Python 0 MIT 1 0 1 Updated Apr 18, 2026
  • patter-custom-llm Public

    Patter template: Bring your own LLM (Claude, Mistral, etc.) with Patter STT/TTS

    PatterAI/patter-custom-llm's past year of commit activity
    Python 0 MIT 1 0 1 Updated Apr 18, 2026
  • patter-dynamic-variables Public

    Patter template: Per-call prompt personalization with dynamic variables

    PatterAI/patter-dynamic-variables's past year of commit activity
    Python 0 MIT 1 0 1 Updated Apr 18, 2026
  • patter-custom-voice Public

    Patter template: Pipeline mode with custom STT (Deepgram) and TTS (ElevenLabs)

    PatterAI/patter-custom-voice's past year of commit activity
    Python 0 MIT 1 0 1 Updated Apr 18, 2026

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…