Skip to content

Architecture guide for voice AI agents covering speech-to-speech and pipeline designs under strict latency budgets.

CCM score
55 of 100
skills.sh installs
351
GitHub stars
34.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers two architectures: speech-to-speech (OpenAI Realtime API) and pipeline (STT, LLM, then TTS), with tradeoffs for control and debugging
  • Includes patterns for speech-to-speech, pipeline design, and voice activity detection to detect when a user starts and stops speaking
  • Enforces a latency budget per component, targeting sub-800ms conversational response, and flags anti-patterns like silence-only turn detection
  • Designed for teams building production voice interfaces that must handle barge-in, background noise, and short spoken responses

Install

$ npx -y skills add davila7/claude-code-templates --skill voice-agents -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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

Details

Repository
github.com/davila7/claude-code-templates
Category
AI Agents & LLM Apps
First seen
Jun 3, 2026

Questions

What is the voice-agents skill for?

The voice-agents skill helps build voice agents where people speak naturally with an AI system. It covers two architectures: speech-to-speech, using the OpenAI Realtime API for the lowest latency, and a pipeline of speech-to-text, LLM and text-to-speech for more control and easier debugging.

How do I install the voice-agents skill?

Run npx -y skills add davila7/claude-code-templates --skill voice-agents -y in your project. Once installed, voice-agents lets your agent design conversation flow, latency budgets, and turn-taking for voice interfaces.

Which category does voice-agents belong to, and what sets it apart?

voice-agents sits in the AI Agents and LLM Apps category on Claude Marketplaces. Its focus is natural conversation flow under sub-800ms latency, including handling interruptions, background noise and barge-in detection.

More from davila7/claude-code-templates

All 398

Similar to Voice Agents

More AI Agents & LLM Apps