PP

patterai/patter

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

1087 stars 质量 77 趋势 15MIT

patterai/patter是从https://github.com/patterai/patter.导入的特工技能候选人。

概览

patterai/patter是从https://github.com/patterai/patter.导入的特工技能候选人。

概述(AI 翻译)

Patter SDK

关于 • 工作原理 • 文献资料 • 快速入门 • 技能 • 模板


关于

Patter 是开源的 SDK,为你的 AI 代理提供电话号码。你构建代理;Patter 负责代理与电话网络之间的一切——代理循环、语言模型、语音转文字、文本转语音、实时语音、音频处理和电话运营商。

  • 构建用一个API在Python或TypeScript中——相同表面、相同钩子、相同事件,且全校验。
  • 选择每个层的提供商——LLM、STT、TTS、实时引擎、载波——并用一条线路交换任意一层。
  • 本地运行,内置隧道和仪表盘,或从终端模拟整个通话——无需电话。

工作原理

Patter是你的应用和电话网络之间的完整语音协议栈——不仅仅是LLM和运营商之间的粘合剂。它运行代理环路,拥有通话的每一层,你为每个层选择提供商。用实时、流水线或混合模式来组合它们。

27+ 服务商在语音栈中的集成 ·3 种语音模式 ·2 个 SDK(Python 和 TypeScript)处于校验水平。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 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
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add patterai/patter
新手?先看 mcpskill.org 教程 →