agents-voice
Fast, minimal multi-provider speech output MCP server and CLI for AI coding agents.
Zero heavy dependencies. Pure Python standard library audio playback with seamless Dumbo HUD bridge synergy.
Overview
agents-voice equips AI coding agents (Antigravity, Cursor, Zed, Claude, agents-harness) with a native voice tool (voice_speak). Instead of reading long code diffs or screen-scraping text, the agent formulates a concise, natural spoken summary (1–2 sentences) directly to the developer's ears upon completing tasks.
Highlights
- Multi-Provider Support: Out-of-the-box support for Azure Speech (48kHz DragonHD), OpenRouter (
gpt-audioPCM16 streaming,gpt-4o-mini-tts), OpenAI, Google Gemini 2.5 TTS, ElevenLabs, and custom OpenAI-compatible local endpoints (e.g., Kokoro, LocalAI). - Zero Heavy Dependencies: Pure Python standard library (
urllib.request,winsound/winmmon Windows, native OS audio players on macOS/Linux). Noffmpeg, nopygame, no C compiler required. - Standalone or HUD Synergy: Plays directly through OS audio when standalone. If the Dumbo desktop overlay is running (
127.0.0.1:12480), optionally routes through Dumbo's Veadio HUD for synchronized word-by-word highlighted playback. - Local Credentials: Kept securely on the local machine in
~/.agents/voice.jsonwith fallback discovery from environment variables and existing Dumbo settings.
Installation
pip install agents-voice
Or install in editable mode from source:
git clone https://github.com/Lolaplex/agents-voice.git
cd agents-voice
pip install -e .
Configuration
Credentials and settings are saved to ~/.agents/voice.json:
Azure Speech (Default)
agents-voice config --provider azure --key "YOUR_AZURE_KEY" --region "swedencentral" --voice "de-DE-Seraphina:DragonHDLatestNeural"
OpenRouter (Steerable & GPT Audio Streaming)
agents-voice config --provider openrouter --key "YOUR_OPENROUTER_KEY" --model "openai/gpt-4o-mini-tts" --voice "marin"
OpenAI
agents-voice config --provider openai --key "YOUR_OPENAI_KEY" --model "gpt-4o-mini-tts" --voice "marin"
Google Gemini
agents-voice config --provider gemini --key "YOUR_GEMINI_KEY" --model "gemini-2.5-flash-preview-tts" --voice "Kore"
ElevenLabs
agents-voice config --provider elevenlabs --key "YOUR_ELEVENLABS_KEY" --voice "JBFqnCBsd6RMkjVDRZzb"
Custom / Local Endpoint (e.g. Kokoro, LocalAI)
agents-voice config --provider custom --base-url "http://127.0.0.1:8880/v1" --voice "af_heart"
MCP Server Setup
Add to your MCP configuration (e.g. ~/.cursor/mcp.json, ~/.agents/mcp.json, or Claude Desktop config):
{
"mcpServers": {
"agents-voice": {
"command": "python",
"args": ["-m", "agents_voice", "serve"]
}
}
}
MCP Tools
| Tool | Description |
|---|---|
voice_speak(message, provider?, model?, voice?) |
Synthesizes and plays a concise 1–2 sentence spoken summary directly to the user. |
voice_stop() |
Immediately terminates any currently playing speech audio. |
voice_status() |
Reports backend status, configured providers, active voice, and bridge availability. |
CLI Reference
| Command | Description |
|---|---|
agents-voice speak "Text to speak" |
Speaks text directly via the active provider. |
agents-voice speak --wait "Text" |
Speaks text and waits until playback finishes. |
agents-voice test |
Plays a quick test speech sample to verify audio output. |
agents-voice stop |
Cuts off any running audio playback immediately. |
agents-voice status |
Prints active provider configuration and status JSON. |
agents-voice config [options] |
Updates provider, model, voice, speed, region, or API keys. |
agents-voice serve |
Runs the FastMCP server via stdio transport. |
License
MIT License. See LICENSE for details.
Metadata
Release files for agents-voice 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| agents_voice-0.0.1.tar.gz | 18.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| agents_voice-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.7 kB
Release files / agents_voice-0.0.1.tar.gz
| Download URL | agents_voice-0.0.1.tar.gz |
|---|---|
| Size | 18.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
775c37f427e9cc93a7a749798d6dc04bf8e04c257f482c1d1b1c71585978d18d
|
|
BLAKE2b-256 checksum How to use checksums |
76bf910997bcec1a30b9631c210fa340a56c22191e431592c9e01dbb4b368694
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.6
|
Release files / agents_voice-0.0.1-py3-none-any.whl
| Download URL | agents_voice-0.0.1-py3-none-any.whl |
|---|---|
| Size | 18.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d05b59571bd860997d02e92827392b84ffe8c7e2435c17b3dac5a7ee53e4dde7
|
|
BLAKE2b-256 checksum How to use checksums |
a25b4fbd941a277fa29dea6ab9bca796cf0360e0665294e5fda95595d2140fa1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.6
|