voicemode
CLAUDE.md1.4k starsChanged 5 months agoMITView on GitHub
Load the voicemode skill for voice conversation support: /voicemode:voicemode VoiceMode is a Python package that provides voice interaction capabilities for AI assistants through the Model Context Protocol (MCP). It enables natural voice conversations with Claude Code and other AI coding assistants by integrating speech-to-text (STT) and text-to-speech (TTS) services. The changelog is the release notes. Keep it accurate continuously — it is not written at release time. scripts/release.py X.Y.Z does all of this automatically — do NOT do these by…
- Reads credentials
- Commits and pushes
Trending
Less talk lately.about the whole repository
Who's talking about mbailey/voicemode
- @tom-doerr.bsky.social“https://github.com/mbailey/voicemode”Bluesky · Mar 1, 2026 · 1 likes
- sudosubin/agents.nix“claude-code-plugins.github.mbailey.voicemode: init at 8.12.0”GitHub · Oct 4, 2026
- sudosubin/agents.nix“claude-code-marketplaces.github.mbailey.voicemode: init at 8.12.0”GitHub · Oct 4, 2026
- sudosubin/agents.nix“agent-skills.github.mbailey.voicemode: init at 8.12.0”GitHub · Sep 29, 2026
- punkpeye/awesome-mcp-servers“Update 147 repository links that have moved 🤖🤖🤖”GitHub · Jul 23, 2026
The biggest 5 of 21 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 21
Talked about on GitHub and Bluesky (21 times).
On GitHub · 20
- Oct 4, 2026claude-code-plugins.github.mbailey.voicemode: init at 8.12.0 — sudosubin/agents.nix0 reactions
- Oct 4, 2026claude-code-marketplaces.github.mbailey.voicemode: init at 8.12.0 — sudosubin/agents.nix0 reactions
- Sep 29, 2026agent-skills.github.mbailey.voicemode: init at 8.12.0 — sudosubin/agents.nix0 reactions
- Jul 23, 2026Update 147 repository links that have moved 🤖🤖🤖 — punkpeye/awesome-mcp-servers0 reactions · 1 comment
- Jul 21, 2026Update repo table — arran4/arran40 reactions
15 more on GitHub
- Jun 22, 2026chore: upstream dependency sync 2026-06-22 — impravin22/my-claude-maestro0 reactions · 7 comments
- Jun 4, 2026chore: upstream dependency sync 2026-06-04 — impravin22/my-claude-maestro0 reactions · 4 comments
- May 27, 2026Upstream updates detected — 2026-05-27 — impravin22/my-claude-maestro0 reactions · 68 comments
- May 25, 2026chore: upstream dependency sync 2026-05-25 — impravin22/my-claude-maestro0 reactions · 8 comments
- May 14, 2026Update repo table — arran4/arran40 reactions
- Apr 17, 2026Update repo table — arran4/arran40 reactions
- Apr 4, 2026Have you found VoiceMode MCP? — brianharms/reminder-watch0 reactions
- Jan 11, 2026Add native OpenCode integration patch eliminating MCP server overhead — groxaxo/voicemode0 reactions
- Dec 22, 2025feature: integrate VoiceMode MCP server for voice conversations with Claude Code — olafkfreund/nixos_config0 reactions
- Oct 16, 2025Add resource: VoiceMode MCP — hesreallyhim/awesome-claude-code0 reactions
- Oct 12, 2025[Resource]: VoiceMode MCP — hesreallyhim/awesome-claude-code0 reactions · 7 comments
- Sep 20, 2025Should I add some Cool features with MCP — RoversX/LaunchNext0 reactions
- Aug 19, 2025PEP 541 Request: voicemode e — pypi/support0 reactions
- Aug 16, 2025create a blog post with termial shell setup — ChrisTowles/blog0 reactions
- Aug 7, 2025[Feature Request] LS Tool Should Display Symlink Information — anthropics/claude-code0 reactions · 4 comments
On Bluesky · 1
- Mar 1, 2026https://github.com/mbailey/voicemode — @tom-doerr.bsky.social1 likes and repost
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- llms.txtllms.txt
- converseSkill
- impressionsSkill
- voicemode-connectSkill
- voicemode-djSkill
- voicemodeSkill
The file
We split this CLAUDE.md into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 60
The changelog is the release notes: Keep it accurate continuously — it is not written at release time.
- Distinctive: line 72
Write entries as release notes for users: GitHub Actions extracts the version's changelog section verbatim into the GitHub Release (see …
- Very specific: line 103
Verify ## [Unreleased] is complete — every merged user-facing PR represented, headline features showcased.
- Distinctive: line 150
OpenAI API Compatibility: All voice services expose OpenAI-compatible endpoints, enabling transparent switching between providers
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Voice Interaction
Load the voicemode skill for voice conversation support: /voicemode:voicemode
Project Overview
VoiceMode is a Python package that provides voice interaction capabilities for AI assistants through the Model Context Protocol (MCP). It enables natural voice conversations with Claude Code and other AI coding assistants by integrating speech-to-text (STT) and text-to-speech (TTS) services.
Key Commands
Development & Testing
# Install in development mode with dependencies
make dev-install
# Run all unit tests
make test
# Or directly: uv run pytest tests/ -v --tb=short
# Run specific test
uv run pytest tests/test_voice_mode.py -v
# Clean build artifacts
make cleanBuilding & Publishing
# Build Python package
make build-package
# Build development version (auto-versioned)
make build-dev
# Test package installation
make test-package
# Release workflow (bumps version, tags, pushes) — see "Releases & Changelog" below before running
make releaseDocumentation
# Serve docs locally at http://localhost:8000
make docs-serve
# Build documentation site
make docs-build
# Check docs for errors (strict mode)
make docs-checkReleases & Changelog
The changelog is the release notes. Keep it accurate continuously — it is not written at release time.
Versioning
- Semantic Versioning,
X.Y.Z. New backward-compatible features → minor bump (e.g.8.6.1→8.7.0); fixes only → patch. - Source of truth:
voice_mode/__version__.py— auto-updated by the release script. Never edit it by hand (it says so itself).pyproject.tomlreads it via[tool.hatch.version]. - The release script also bumps
server.json,installer/pyproject.toml, and.claude-plugin/plugin.json(the plugin gets ap0suffix, e.g.8.7.0p0). Don't bump these manually either.
The CHANGELOG is continuously maintained
- Format: Keep a Changelog — a
## [Unreleased]section at the top with### Added / Changed / Deprecated / Removed / Fixed(this project also uses a### Migrationsubsection). - As PRs land, their user-facing changes go into
## [Unreleased]— not deferred to release day. Reference task IDs (VM-xxxx) and PR links, matching the existing entry style. - Write entries as release notes for users: GitHub Actions extracts the version's changelog section verbatim into the GitHub Release (see below), so it must read well standalone and showcase new functionality.
- The
/changelogskill (claude-code-tools:changelog) can help draft entries, but headline/showcase wording is human-curated because it ships to users.
Cutting a release — make release
make release # prompts for the new version, then runs scripts/release.py X.Y.Zscripts/release.py X.Y.Z does all of this automatically — do NOT do these by hand:
- Bumps the version in all four files above.
- Rewrites the CHANGELOG header: turns
## [Unreleased]into## [Unreleased](fresh empty) +## [X.Y.Z] - YYYY-MM-DDbelow it. So never manually cut the version header or add the date — that is the release script's job. Your only changelog responsibility before a release is making sure the Unreleased section is complete and accurate. git commit -m "chore: bump version to X.Y.Z for all packages".- Creates annotated tag
vX.Y.Z. git push origin(the current branch) + pushes the tag.
Useful flags (pass via scripts/release.py directly): --current (print version), --no-commit (update files only), --no-push (commit + tag, no push), --package package|installer.
What the tag triggers
Pushing a v* tag fires two GitHub Actions workflows:
create-release.yml—awk-extracts the## [X.Y.Z] - DATEsection from CHANGELOG.md and publishes it as the GitHub Release body. The header must be exactly## [X.Y.Z] - DATEor extraction yields empty notes — another reason to letrelease.pywrite it.publish-pypi-and-mcp.yml— builds and publishes packages to PyPI and the MCP registry.
Monitor: https://github.com/mbailey/voicemode/actions
Pre-release checklist (do this before make release)
- Be on
masterandgit pullfirst. Mike merges PRs locally (--no-ff) and pushes master;release.pypushes whatever branch you're on, so the tag must be cut from an up-to-datemasteror merged work is silently excluded. - Verify
## [Unreleased]is complete — every merged user-facing PR represented, headline features showcased. Cross-check againstgit log <last-tag>..origin/master. - Decide the version bump per SemVer.
make release, then watch the Actions run.
Architecture Overview
Core Components
- MCP Server (
voice_mode/server.py)- FastMCP-based server providing voice tools via stdio transport
- Auto-imports all tools, prompts, and resources
- Handles FFmpeg availability checks and logging setup
- Tool System (
voice_mode/tools/)- converse.py: Primary voice conversation tool with TTS/STT integration
- service.py: Unified service management for Whisper/Kokoro
- providers.py: Provider discovery and registry management
- devices.py: Audio device detection and management
- Services subdirectory contains install/uninstall tools for Whisper and Kokoro
- See Tool Loading Architecture for internal details
- Provider System (
voice_mode/providers.py)- Dynamic discovery of OpenAI-compatible TTS/STT endpoints
- Health checking and failover support
- Maintains registry of available voice services
- Configuration (
voice_mode/config.py)- Environment-based configuration with sensible defaults
- Support for voice preference files (project/user level)
- Audio format configuration (PCM, MP3, WAV, FLAC, AAC, Opus)
- Resources (
voice_mode/resources/)- MCP resources exposed for client access
- Statistics, configuration, changelog, and version information
- Whisper model management
Service Architecture
The project supports multiple voice service backends:
- OpenAI API: Cloud-based TTS/STT (requires API key)
- Whisper.cpp: Local speech-to-text service
- Kokoro: Local text-to-speech with multiple voices
Services can be installed and managed through MCP tools, with automatic service discovery and health checking.
Key Design Patterns
- OpenAI API Compatibility: All voice services expose OpenAI-compatible endpoints, enabling transparent switching between providers
- Dynamic Tool Discovery: Tools are auto-imported from the tools directory structure
- Failover Support: Automatic fallback between services based on availability
- Local Microphone Transport: Direct audio capture via PyAudio for voice interactions
- Audio Format Negotiation: Automatic format validation against provider capabilities
Development Notes
- The project uses
uvfor package management (not pip directly) - Python 3.10+ is required
- FFmpeg is required for audio processing
- The project follows a modular architecture with FastMCP patterns
- Service installation tools handle platform-specific setup (launchd on macOS, systemd on Linux)
- Event logging and conversation logging are available for debugging
- WebRTC VAD is used for silence detection when available
Testing
- Unit tests:
tests/- run withmake test - Manual tests:
tests/manual/- require user interaction
Logging
Logs are stored in ~/.voicemode/:
logs/conversations/- Voice exchange history (JSONL)logs/events/- Operational events and errorsaudio/- Saved TTS/STT audio filesvoicemode.env- User configuration
VoiceMode Suite
This is the core Python package. VoiceMode is a suite of related projects:
For a complete overview of all VoiceMode components, read:
- voicemode-meta/COMPONENTS.md - Full suite documentation
Quick reference:
- voicemode (this repo) - Python MCP server for local voice mode
- voicemode-dev - Cloudflare Workers backend for voicemode.dev
- voicemode-ios - Native iOS app
- voicemode-macos - Native macOS app
- voicemode-meta - Project coordination and operations
See Also
- skills/voicemode/SKILL.md - Voice interaction usage and MCP tools
- skills/voicemode-connect/SKILL.md - Remote voice via mobile/web clients
- docs/tutorials/getting-started.md - Installation guide
- docs/guides/configuration.md - Configuration reference
- docs/concepts/architecture.md - Detailed architecture
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

