返回 Skill 列表
extension
分类: 内容与媒体无需 API Key

voice-agents

语音代理代表了AI交互的前沿——人类与AI系统自然对话。挑战不仅仅在于语音识别和合成,还在于在处理中断、背景噪音和情感细微差别的情况下,实现低于800毫秒延迟的自然对话流。这项技能涵盖了两种架构:语音到语音(OpenAI实时API,最低延迟,最自然)和管道式(STT→LLM→TTS,更多控制,更容易调试)。关键点:延迟是限制因素。

person作者: jakexiaohubgithub

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