AI Skill Hub 强烈推荐:Patter 是一款优质的MCP工具。AI 综合评分 8.0 分,在同类工具中表现稳健。如果你正在寻找可靠的MCP工具解决方案,这是一个值得深入了解的选择。
Patter 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
Patter 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/PatterAI/Patter
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"patter": {
"command": "npx",
"args": ["-y", "patter"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 Patter 执行以下任务... Claude: [自动调用 Patter MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"patter": {
"command": "npx",
"args": ["-y", "patter"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
<p align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/PatterAI/Patter/main/docs/github-banner.png" /> <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/PatterAI/Patter/main/docs/github-banner.png" /> <img src="https://raw.githubusercontent.com/PatterAI/Patter/main/docs/github-banner.png" alt="Patter SDK" width="100%" /> </picture> </p>
<p align="center"> <a href="https://pypi.org/project/getpatter/"><img src="https://img.shields.io/pypi/v/getpatter?logo=pypi&logoColor=white&label=pip%20install%20getpatter" alt="PyPI" /></a> <a href="https://www.npmjs.com/package/getpatter"><img src="https://img.shields.io/npm/v/getpatter?logo=npm&logoColor=white&label=npm%20install%20getpatter" alt="npm" /></a> <a href="./LICENSE"><img src="https://img.shields.io/badge/license-MIT-green" alt="MIT License" /></a> <img src="https://img.shields.io/badge/python-3.11%2B-blue?logo=python&logoColor=white" alt="Python 3.11+" /> <img src="https://img.shields.io/badge/typescript-5.0%2B-3178c6?logo=typescript&logoColor=white" alt="TypeScript 5+" /> </p>
<p align="center"> <a href="#about">About</a> • <a href="#how-it-works">How It Works</a> • <a href="#documentation">Documentation</a> • <a href="#quickstart">Quickstart</a> • <a href="#skills-for-coding-agents">Skills</a> • <a href="#templates">Templates</a> </p>
---
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.
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.
Patter 是一个强大的语音 AI 交互框架,旨在简化构建智能语音代理的过程。它能够将先进的 AI 模型与电话通信能力无缝结合,让开发者能够轻松创建具备实时语音交互能力的 AI Agent,实现从语音输入到智能响应的完整闭环。
Patter 提供了一套完整的语音交互功能矩阵。支持通过 `phone.serve` 实现 Inbound calls(呼入电话)自动接听;支持 `phone.call` 实现 Outbound calls(呼出电话)并集成 AMD(通话检测)功能;此外,还支持通过 Tool calling(Webhooks)让 Agent 具备调用外部工具的能力,实现高度智能化的业务逻辑处理。
推荐使用 Docker 进行快速部署。您可以通过运行 `docker compose up` 命令来启动服务,具体的默认配置请参考项目中的 `Dockerfile` 和 `docker-compose.yml` 文件。对于开发者,也可以通过源码进行本地环境构建。
快速上手指南:首先需要配置运营商(如 Twilio 或 Telnyx)以及 AI 引擎(如 OpenAI)所需的环境变量。以 Inbound Agent 模板为例,您只需 clone 对应的仓库,复制 `.env.example` 为 `.env` 并填入您的 API Keys,随后进入 python 目录执行 `pip install` 并运行 `main.py` 即可完成部署。
项目通过 `.env` 文件进行环境配置。开发者必须配置 `OPENAI_API_KEY` 以启用 Realtime 模式,并根据使用的运营商提供相应的凭证,例如使用 Twilio 时需配置 `TWILIO_ACCOUNT_SID` 和 `TWILIO_AUTH_TOKEN`。此外,项目也完美支持 Telnyx 作为 Twilio 的替代方案,在 DTMF、通话转移及指标监控方面具有同等支持。
Patter 提供了完善的 SDK 支持,方便开发者在不同语言环境下进行集成。目前已提供 Python SDK 和 TypeScript SDK。开发者可以通过 `pip install` 或 `npm install` 进行安装,并建议在提交大规模代码变更前先通过 Issue 进行沟通,以确保开发方向的一致性。
高质量的开源MCP工具,支持语音AI功能
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
总体来看,Patter 是一款质量优秀的MCP工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | Patter |
| 原始描述 | 开源MCP工具:Open-source voice-AI SDK. The Vapi/Retell alternative for builders who want to o。⭐99 · Python |
| Topics | ai-agentconversational-aillm |
| GitHub | https://github.com/PatterAI/Patter |
| License | MIT |
| 语言 | Python |
收录时间:2026-05-25 · 更新时间:2026-05-30 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端