Voice Agent β AI skill for Claude Code
ποΈ Real-time voice AI agent that books, looks up and cancels reservations by voice.
How to install Voice Agent
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open prayagvijay/voice-agent and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Voice Agent does
ποΈ Real-time voice AI agent that books, looks up and cancels reservations by voice. Streaming Claude tool-use loop, sentence-level TTS, barge-in interruption. FastAPI Β· WebSockets Β· Pydantic Β· SQLite Β· Web Speech API.
Alternatives in AI
- Agent Rules Books β AGENTS.md rules / skills for AI coding agents: Codex, Cursor & Claude Code 2.6k β
- Agency Orchestrator β π One sentence β multi-AI-role collaboration β complete plan in minutes 453 β
- Upstream Watch β Review pydantic-ai and pydantic-ai-harness releases published since the last watch entry, and record a verdict 361 β
README
ποΈ Aria: Real-Time Voice AI Agent
**A voice receptionist that holds a natural phone-style conversation and takes real actions.** Aria answers calls for a restaurant. It checks table availability, books, looks up and cancels reservations, and answers menu and hours questions. Under the hood it runs a streaming LLM agent loop with validated tool calls against a live database, speaks back sentence by sentence as tokens arrive, and stops talking the moment you interrupt.
Highlights
| π£οΈ Full voice loop | Speech-to-text, then the agent, then streamed text-to-speech, all running in the browser over one WebSocket |
| β‘ Low-latency streaming | Replies are spoken sentence by sentence while the LLM is still generating, and time-to-first-token is shown live |
| β Barge-in | Interrupt Aria mid-sentence (tap or Space). The server cancels the in-flight asyncio task and rolls the conversation back to a consistent state |
| π οΈ Agentic tool use | Claude decides when to call 6 tools (availability, book, find, cancel, menu, info) in a multi-step loop |
| β Validated tools | Every tool input is validated with Pydantic before execution. Tool JSON schemas are generated from the same models, so there's one source of truth |
| π Observable | The transcript shows each tool call with its arguments and result. The reservations board updates live from the database |
| π Resilient | Server-side model fallback, handling of refusals and truncation, and a deterministic local slot-filling agent that speaks the same protocol, so it runs with no API key |
| π§ͺ Tested | pytest suite with unit tests for tools and parsers, plus end-to-end WebSocket conversation tests, including barge-in |
Architecture
Browser FastAPI server (async)
βββββββββββββββββββββββββββββββββ WebSocket ββββββββββββββββββββββββββββββββββββββββββ
β Web Speech API (STT) βββuser_textβββΆβ CallSession (
Related Skills
IRA
Voice-first AI assistant in Rust. Wake word, full-duplex speech with barge-in, hybrid local/cloud inference. C
Klaudimero
Self-hosted AI assistant service and native iOS/macOS app powered by Claude Code β streaming chat, scheduled j
Healthcare Voice AI Assistant
Voice AI agent for patient intake β Vapi + Claude + FastAPI + SQLite. Collects demographics over a phone call,
Runtimeuse
Run AI agents inside sandboxes over WebSockets - from the engineering team at https://getlark.ai
IrukaDark Preview
Thinking without interruption, your full-screen AI assistant Code, errors, PRs, charts, papers, tech sites. In
AI Visualizer
Give your AI agent a face. Four full-screen visualizers. A living circuit board with a cinematic fly-through,
Related Agents
FastAPI Pro
Build high-performance async APIs with FastAPI, SQLAlchemy 2.0, and Pydantic V2. Master microservices, WebSock
Be FastAPI Expert
Expert FastAPI developer for building high-performance async Python APIs. Use for FastAPI projects, Python asy
FastAPI Reviewer
Reviews FastAPI applications for async correctness, dependency injection, Pydantic schemas, security, OpenAPI