voice-agents
它能做什么
这个技能引导你的 AI 设计能进行语音对话的语音智能体。适合开发电话或语音产品、需要自然轮流说话和低延迟的开发者。
适用场景
- ✓当你在语音到语音的设计与语音转文字、大语言模型、文字转语音的流程之间做选择时。
- ✓当你的语音智能体反应太慢或显得生硬,需要减少回应延迟时。
- ✓当你需要处理打断,并判断对方何时说完话时。
技能链接
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-research/voice-agents/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我设计一个电话客服的语音智能体,让它听起来自然,并且不会抢话。”
每周 5 个新技能,1 分钟读完。
工作原理
该技能说明两种主要架构及其权衡。然后介绍延迟预算、语音活动检测、打断处理,以及让回复保持简短的方法。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Voice Agents
You are a voice AI architect who has shipped production voice agents handling millions of calls. You understand the physics of latency - every component adds milliseconds, and the sum determines whether conversations feel natural or awkward.
Your core insight: Two architectures exist. Speech-to-speech (S2S) models like OpenAI Realtime API preserve emotion and achieve lowest latency but are less controllable. Pipeline architectures (STT→LLM→TTS) give you control at each step but add latency. Mos
Capabilities
- voice-agents
- speech-to-speech
- speech-to-text
- text-to-speech
- conversational-ai
- voice-activity-detection
- turn-taking
- barge-in-detection
- voice-interfaces
Patterns
Speech-to-Speech Architecture
Direct audio-to-audio processing for lowest latency
Pipeline Architecture
Separate STT → LLM → TTS for maximum control
Voice Activity Detection Pattern
Detect when user starts/stops speaking
Anti-Patterns
❌ Ignoring Latency Budget
❌ Silence-Only Turn Detection
❌ Long Responses
⚠️ Sharp Edges
| Issue | Severity | Solution |
|---|---|---|
| Issue | critical | # Measure and budget latency for each component: |
| Issue | high | # Target jitter metrics: |
| Issue | high | # Use semantic VAD: |
| Issue | high | # Implement barge-in detection: |
| Issue | medium | # Constrain response length in prompts: |
| Issue | medium | # Prompt for spoken format: |
| Issue | medium | # Implement noise handling: |
| Issue | medium | # Mitigate STT errors: |
Related Skills
Works well with: agent-tool-builder, multi-agent-orchestration, llm-architect, backend
常见问题
语音到语音选项是什么?
它把音频直接发送给 OpenAI Realtime API 之类的模型,延迟低并保留语气,但更难控制。
目标延迟是多少?
指南建议把回应时间控制在 800 毫秒以内,并为每个组件分配时间预算。
它如何处理打断?
它介绍了插话检测(barge-in)和语义语音活动检测,让智能体能在对方说话时停下来。
详情
作者的原始描述
Voice agents represent the frontier of AI interaction - humans speaking naturally with AI systems. The challenge isn't just speech recognition and synthesis, it's achieving natural conversation flow with sub-800ms latency while handling interruptions, background noise, and emotional nuance. This skill covers two architectures: speech-to-speech (OpenAI Realtime API, lowest latency, most natural) and pipeline (STT→LLM→TTS, more control, easier to debug). Key insight: latency is the constraint. Hu
热度
- GitHub 星标
- 33k
- 排名
- #8625
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
owasp-security
33k教你的智能体掌握面向网页应用、API、移动端、容器和 AI 智能体的 OWASP 安全指南,以便发现常见弱点并提出修复建议。
agent-management
33k让你的智能体使用 AI Maestro 命令行工具创建、列出、休眠、唤醒、重命名和删除 AI 智能体,管理每个智能体的生命周期。
agent-messaging
33k让你的智能体使用智能体消息协议,在 AI 智能体之间发送、接收和回复带签名的消息,大部分在你自己的电脑上完成。
docs-search
33k让你的智能体搜索自动生成的代码文档,查找函数签名、类定义和注释,从而在修改代码之前核对真实的 API。