mcpField
V
voice-agents

voice-agents

github.com/davila7Development33.0k346 installsUpdated today
Repository

About voice-agents

A skill for designing conversational voice agents, focused on latency, controllability, and natural turn-taking. It covers speech-to-speech and STT-to-LLM-to-TTS architectures.

Key features

  1. 01Speech-to-speech architecture
  2. 02STT–LLM–TTS pipeline
  3. 03Voice activity detection
  4. 04Turn-taking and barge-in

Use cases

  1. 01Choose an architecture for a voice agent
  2. 02Design low-latency voice conversations
  3. 03Handle interruptions during speech
  4. 04Plan voice activity detection

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/davila7/claude-code-templates --skill voice-agents

After installing, type/voice-agentsin Claude Code to confirm it loaded.

Details

From the project README

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

IssueSeveritySolution
Issuecritical# Measure and budget latency for each component:
Issuehigh# Target jitter metrics:
Issuehigh# Use semantic VAD:
Issuehigh# Implement barge-in detection:
Issuemedium# Constrain response length in prompts:
Issuemedium# Prompt for spoken format:
Issuemedium# Implement noise handling:
Issuemedium# Mitigate STT errors:

Related Skills

Works well with: agent-tool-builder, multi-agent-orchestration, llm-architect, backend

Comments

Markdown supported