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 or buffers a concise 1–2 sentence spoken summary directly to the user. |
voice_play_latest() |
Plays the most recent speech summary stored in the voice inbox. |
voice_stop() |
Immediately terminates any currently playing speech audio. |
voice_status() |
Reports backend status, configured providers, active voice, mode, 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 play |
Plays the latest voice message stored in the mailbox. |
agents-voice listen |
Runs the background hotkey daemon listening for the global shortcut (e.g. Alt+V). |
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, mode, hotkey, chime, or API keys. |
agents-voice serve |
Runs the FastMCP server via stdio transport and launches hotkey listener if in inbox mode. |
License
MIT License. See LICENSE for details.
Metadata
Release files for agents-voice 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| agents_voice-0.1.0.tar.gz | 21.8 kB | Without provenance | Details for agents_voice-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| agents_voice-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for agents_voice-0.1.0-py3-none-any.whl |
Total release size: 43.7 kB
Release files / agents_voice-0.1.0.tar.gz
| Download URL | agents_voice-0.1.0.tar.gz |
|---|---|
| Size | 21.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
96e2363901d7a2b4e6857a15634f1e4270b3275afe9c72e541b0ea227a9a83c9
|
|
BLAKE2b-256 checksum How to use checksums |
192cbf4bf210eed3210897a9afb54e0bb716d81a05a80fcbc213824bf930663c
|
| 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.1.0-py3-none-any.whl
| Download URL | agents_voice-0.1.0-py3-none-any.whl |
|---|---|
| Size | 21.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
decbdee84713b89a686c7c5a661ac043fc3c6e51d740e7332af55255e13f39c3
|
|
BLAKE2b-256 checksum How to use checksums |
ccdebf5c32ad95610989ca4d190046efa44724954aebac73d0064bf32d4d29aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.6
|
Security for agents-voice 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.