跳到正文
Skillpedia
智能体33k · #8625

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-research/voice-agents/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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

repo: davila7/claude-code-templates

热度

GitHub 星标
33k
排名
#8625
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能