Skip to main content
Glama

๐ŸŽ™๏ธ VoxAgent

Talk to your coding agent. It talks back.

Local-first voice I/O for Claude Code, Cursor, OpenClaw and any MCP client.

CI License: MIT Python 3.10+ MCP

English ยท ็ฎ€ไฝ“ไธญๆ–‡

VoxAgent demo

Why

Coding agents went from autocomplete to coworkers โ€” but the interface is still a keyboard. VoxAgent gives your agent ears and a mouth:

  • ๐ŸŽค listen() โ€” dictate instructions, code snippets, or code review feedback

  • ๐Ÿ”Š speak() โ€” spoken progress updates; go get coffee while your agent talks

  • ๐Ÿ—ฃ๏ธ ask_user() โ€” the agent asks, you answer out loud from across the room

  • ๐Ÿ•น๏ธ Push-to-talk โ€” hold a global hotkey anywhere; your words go straight into claude -p, and the reply is spoken back

Everything runs on your machine. STT is fully offline (faster-whisper); TTS starts with a zero-setup voice and upgrades to a local CosyVoice server for production-quality speech. No API keys required.

Quickstart

pip install 'voxagent[local]'
voxagent doctor        # check mic + deps
voxagent demo          # try the talk-loop standalone

# Register with Claude Code
claude mcp add voxagent -- voxagent serve

# Enable the agent skill (when to speak, how to behave)
mkdir -p ~/.claude/skills && cp -r skills/voice-control ~/.claude/skills/

# Push-to-talk daemon (optional): talk to Claude Code from any app
pip install 'voxagent[ptt]'
voxagent ptt --send 'claude -p'

Then just say: "voice mode on" โ€” or hold the PTT hotkey (default Ctrl+Shift+Space) and talk.

Works with any MCP client โ€” Cursor, OpenClaw, Codex and friends all speak MCP.

Architecture

        โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”     MCP (stdio)      โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
 mic โ”€โ”€โ–ถโ”‚   listen()  โ”‚โ—€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ถโ”‚  Claude Code /   โ”‚
        โ”‚  (STT)      โ”‚                      โ”‚  Cursor / any    โ”‚
 spk โ—€โ”€โ”€โ”‚   speak()   โ”‚โ—€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ถโ”‚  MCP client      โ”‚
        โ”‚  (TTS)      โ”‚      tools+skill     โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
        โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
          faster-whisper   edge-tts / CosyVoice (pluggable)
          โ–ฒ fully offline           โ–ฒ swap via env var

Engines are pluggable โ€” set one env var to swap either side:

Layer

Default

Upgrade path

Config

STT

faster-whisper (small)

medium / large-v3, GPU

WHISPER_MODEL, WHISPER_DEVICE

TTS

edge-tts (zero setup)

local CosyVoice server

VOXAGENT_TTS_ENGINE=cosyvoice

Language

auto-detect

pin zh / en / ...

VOXAGENT_LANGUAGE

See .env.example for all options.

MCP Tools

Tool

What it does

listen()

Record mic โ†’ transcript. Silence auto-stop, VAD filtered.

speak(text)

Text โ†’ speech on your speakers. Returns seconds spoken.

ask_user(question)

Speak a question, then capture the spoken answer.

The bundled Agent Skill (skills/voice-control) teaches the agent when to use them: short spoken replies, voice announcements before long tasks, language mirroring, graceful fallback to text.

Troubleshooting

Model download fails (network errors from huggingface.co): download the model manually from a mirror, then point WHISPER_MODEL at the folder:

bash scripts/download_model.sh tiny            # or base / small
export WHISPER_MODEL="$HOME/.voxagent/models/tiny"

The script pulls from hf-mirror.com with plain curl, bypassing the huggingface_hub SDK entirely. Alternatively, set HF_ENDPOINT=https://hf-mirror.com and HF_HUB_DISABLE_XET=1 before running if the SDK works for you.

Holding the hotkey types characters into the focused app (e.g. ctrl+j sends newlines in a terminal, scrolling it while you speak): on macOS the daemon swallows the hotkey's character key while the combo is held. If the suppressor is unavailable, prefer a character-free hotkey such as --hotkey f6 or --hotkey ctrl+cmd+j.

macOS hotkeys don't respond: grant your terminal Accessibility / Input Monitoring permission in System Settings โ†’ Privacy & Security, then restart the daemon.

Roadmap

  • Push-to-talk global hotkey (voxagent ptt)

  • Streaming STT (partial transcripts while you speak)

  • Voice memory โ€” clone your own voice for agent replies

  • OpenClaw / n8n integration recipes

  • Docker image with bundled CosyVoice

Contributing

Issues and PRs welcome โ€” especially new engine adapters (GPT-SoVITS, F5-TTS, Piper...). Each adapter is ~40 lines; see voxagent/tts/cosyvoice_engine.py for the pattern.

License

MIT

-
license - not tested
-
quality - not tested
A
maintenance

Maintenance

โ€“Maintainers
โ€“Response time
โ€“Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

  • OCR, transcription, file extraction, and image generation for AI agents via MCP.

  • Voice-powered bug reporting with 13 MCP tools. Record bugs by talking; let AI find and fix them.

  • Persistent memory and cross-session learning for AI coding assistants (hosted remote MCP).

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zanezhao0708/voxagent'

If you have feedback or need assistance with the MCP directory API, please join our Discord server