agentvibes
v4.0.1
Published
Now your AI Agents can finally talk back! Professional TTS voice for Claude Code, Claude Desktop (via MCP), and Clawdbot with multi-provider support.
Maintainers
Readme
🎤 AgentVibes
Finally! Your agents can talk back!
Professional text-to-speech for Claude Code, Claude Desktop, Warp Terminal, and OpenClaw - Soprano (Neural), Piper TTS (Free!), macOS Say (Built-in!), or Windows SAPI (Zero Setup!)
Author: Paul Preibisch (@997Fire) | Version: v4.0.0
🚀 Quick Links
| I want to... | Go here |
|--------------|---------|
| Install AgentVibes (just npx, no git!) | Quick Start Guide |
| Run Claude Code on Android | Android/Termux Setup |
| Secure OpenClaw on Remote Server | Security Hardening Guide ⚠️ |
| Understand what I need | Prerequisites |
| Set up on Windows (Native) | Windows Native Setup |
| Set up on Windows (Claude Desktop/WSL) | Windows WSL Guide |
| Use with OpenClaw | OpenClaw Integration |
| Use natural language | MCP Setup |
| Switch voices | Voice Library |
| Fix issues (git-lfs? MCP tokens? Read this!) | Troubleshooting & FAQ |
✨ What is AgentVibes?
AgentVibes adds lively voice narration to your Claude AI sessions!
Whether you're coding in Claude Code, chatting in Claude Desktop, using Warp Terminal, or running OpenClaw - AgentVibes brings AI to life with professional voices and personalities.
🌟 NEW FEATURE HIGHLIGHTS
🖥️ AgentVibes v4.0 Interactive TUI Console

🎤 Browse, Sample & Install 914 Voices — All From One Console
npx agentvibes installThe new AgentVibes TUI Console is a full interactive terminal application with tabbed navigation:
- 🖥️ Settings Tab - Real-time settings management with live preview
- 🎤 Voices Tab - Browse, sample, and install 914+ voices with one keypress
- 🎵 Music Tab - Browse and preview 16 background music tracks
- ❓ Help Tab - Built-in documentation and quick reference
914 Total Voices:
- 904 High-Quality Piper TTS Speakers (libritts-high model)
- 10 Hand-Curated Personality Voices
Perfect for:
- Managing all AgentVibes settings in one place
- Finding your ideal AI voice
- Quick voice switching with Save Locally/Globally options
- Browsing and previewing background music
Launch now: npx agentvibes
💬 Intro Text (Pretext) - Your Personal AI Branding
Add custom prefixes to every TTS announcement!
npx agentvibes config intro-textTransform generic AI responses into your personal brand:
Before:
"Starting analysis of the codebase..."After (with "FireBot: " intro text):
"FireBot: Starting analysis of the codebase..."Perfect for:
- 🤖 Personal AI Branding - Make Claude sound like your custom assistant
- 🏢 Team Identity - Company bots with branded voices
- 🎮 Character Roleplay - Gaming assistants with character names
- 🎓 Teaching Contexts - Professor Bot, Tutor AI, etc.
Features:
- Up to 50 characters
- UTF-8 and emoji support 🎉
- Set during installation or anytime after
- Works with all TTS providers
- Applies to every single announcement
Examples:
"JARVIS: "- Iron Man style"🤖 Assistant: "- With emoji"CodeBot: "- Development assistant"Chef AI: "- Cooking helper
Configure now: npx agentvibes config intro-text
🎵 Custom Background Music - Complete Audio Control
Upload your own background music with battle-tested security!
npx agentvibes config musicReplace the default background tracks with your own audio files for complete sonic branding.
Supported Formats:
- 🎵 MP3 (.mp3)
- 🎵 WAV (.wav)
- 🎵 OGG (.ogg)
- 🎵 M4A (.m4a)
Security First:
- ✅ 180+ attack variations tested - Path traversal, symlinks, Unicode tricks
- ✅ 100% attack rejection rate - Every malicious attempt blocked
- ✅ OWASP CWE-22 compliant - Industry-standard security
- ✅ 7 validation layers - Defense-in-depth architecture
- ✅ File ownership verification - Only your files accepted
- ✅ Magic number validation - Real audio files only
- ✅ Secure storage - 600 permissions, restricted directory
Smart Validation:
- Recommended duration: 30-90 seconds (optimal looping)
- Maximum: 300 seconds (5 minutes)
- Maximum size: 50MB
- Automatic format detection
- Duration warnings for non-optimal lengths
Perfect for:
- 🎸 Team Audio Branding - Company theme music
- 🎮 Gaming Sessions - Epic background tracks
- 🎼 Personal Playlists - Your favorite instrumental
- 🎹 Focus Music - Lo-fi, classical, ambient
Features:
- Preview before setting
- One-command upload
- Works with all TTS providers
- Loops seamlessly under voice
- Easy restore to defaults
Menu Options:
- Change music - Upload new audio file
- Remove music - Clear custom music
- Reset to default - Restore built-in tracks (16 genres)
- Enable/Disable - Toggle background music
- Preview current - Sample your music
Configure now: npx agentvibes config music
Security Certified: See full audit report at docs/security/SECURITY-AUDIT.md
🎯 Key Features
🌟 NEW IN v4.0.0 — Interactive Console & Voice Explorer:
- 🖥️ Interactive TUI Console - Full terminal UI with tabbed navigation (Settings, Voices, Music, Help)
- 🎤 914+ Voices - Browse, preview, and install voices with multi-speaker support
- 🔊 Reliable TTS Hooks - SessionStart JSON output + auto git-init for guaranteed hook support
- 🏷️ Friendly Voice Names - "Ryan" instead of "en_US-libritts_r-medium-speaker-123"
- 💬 Intro Text (Pretext) - Custom prefix for all TTS ("FireBot: Starting...")
- 🎵 Custom Background Music - Upload your own audio files with battle-tested security
- 🛡️ Security Hardening - 58 issues fixed, 180+ attack variations tested, OWASP compliant
🪟 NEW IN v3.5.5 — Native Windows Support:
- 🖥️ Windows Native TTS - Soprano, Piper, and Windows SAPI providers. No WSL required!
- 🎵 Background Music - 16 genre tracks mixed under voice
- 🎛️ Reverb & Audio Effects - 5 reverb levels via ffmpeg
- 🔊 Verbosity Control - High, Medium, or Low settings
- 🎨 Beautiful Installer -
npx agentvibes installor.\setup-windows.ps1
⚡ v3.4.0 Highlights:
- 🎤 Soprano TTS Provider - Ultra-fast neural TTS with 20x CPU, 2000x GPU acceleration (thanks @nathanchase!)
- 🛡️ Security Hardening - 9.5/10 score with comprehensive validation and timeouts
- 🌐 Environment Intelligence - PulseAudio tunnel auto-detection for SSH scenarios
⚡ Core Features:
- ⚡ One-Command Install - Get started in 30 seconds (
npx agentvibes installor.\setup-windows.ps1without Node.js) - 🎭 Multi-Provider Support - Soprano (neural), Piper TTS (50+ free voices), macOS Say (100+ built-in), or Windows SAPI
- 🎙️ 27+ Professional AI Voices - Character voices, accents, and unique personalities
- 🎙️ Verbosity Control - Choose how much Claude speaks (LOW, MEDIUM, HIGH)
- 🎙️ AgentVibes MCP - Natural language control ("Switch to Aria voice") for Claude Code, Desktop & Warp
- 🔊 SSH Audio Optimization - Auto-detects remote sessions and eliminates static (VS Code Remote SSH, cloud dev)
🎭 Personalization:
- 🎭 19 Built-in Personalities - From sarcastic to flirty, pirate to dry humor
- 💬 Advanced Sentiment System - Apply personality styles to ANY voice without changing it
- 🎵 Voice Preview & Replay - Listen before you choose, replay last 10 TTS messages
🚀 Integrations & Power Features:
- 🔌 Enhanced BMAD Plugin - Auto voice switching for BMAD agents with multilingual support
- 🔊 Live Audio Feedback - Hear task acknowledgments and completions in any language
- 🌍 30+ Languages - Multilingual support with native voice quality
- 🆓 Free & Open - Use Piper TTS with no API key required
🤗 Hugging Face AI Voice Models
AgentVibes' Piper TTS uses 100% Hugging Face-trained AI voice models from rhasspy/piper-voices.
What are Hugging Face voice models?
Hugging Face voice models are pre-trained artificial intelligence models hosted on the Hugging Face Model Hub platform, designed to convert text into human-like speech (Text-to-Speech or TTS) or perform other speech tasks like voice cloning and speech-to-speech translation. They're accessible via their Transformers library for easy use in applications like voice assistants, audio generation, and more.
Key Benefits:
- 🎯 Human-like Speech - VITS-based neural models for natural pronunciation and intonation
- 🌍 35+ Languages - Multilingual support with native accents
- 🆓 100% Open Source - All Piper voices are free HF models (Tacotron2, FastSpeech2, VITS)
- 🔧 Developer-Friendly - Fine-tune, customize, or deploy for various audio projects
- ⚡ Offline & Fast - No API keys, no internet needed once installed
All 50+ Piper voices AgentVibes provides are sourced from Hugging Face's open-source AI voice models, ensuring high-quality, natural-sounding speech synthesis across all supported platforms.
📑 Table of Contents
Getting Started
- 🚀 Quick Start - Get voice in 30 seconds (3 simple steps)
- 📱 Android/Termux - Run Claude Code on your phone
- 📋 Prerequisites - What you actually need (Node.js + optional tools)
- ✨ What is AgentVibes? - Overview & key features
- 🌟 NEW FEATURE HIGHLIGHTS - START HERE!
- 🖥️ TUI Console v4.0 - Interactive settings, voices, music
- 💬 Intro Text - Custom TTS prefixes
- 🎵 Custom Background Music - Upload your own tracks
- 📰 Latest Release - v4.0.0 "Interactive Console & Voice Explorer"
- 🪟 Windows Setup Guide for Claude Desktop - Complete Windows installation with WSL & Python
AgentVibes MCP (Natural Language Control)
- 🎙️ AgentVibes MCP Overview - Easiest way - Natural language commands
- For Claude Desktop - Windows/WSL setup, Python requirements
- For Warp Terminal - Warp configuration
- For Claude Code - Project-specific setup
Core Features
- 🎤 Commands Reference - All available commands
- 🎙️ Verbosity Control - Control how much Claude speaks (low/medium/high)
- 🎭 Personalities vs Sentiments - Two systems explained
- 🗣️ Voice Library - 914 voices with friendly names
- 🔌 BMAD Plugin - Auto voice switching for BMAD agents
- 🎙️ AgentVibes Receiver - NEW! - Remote audio streaming from voiceless servers
Integrations & Platforms
- 🤖 OpenClaw Integration - Use AgentVibes with OpenClaw messaging platform
- 🎙️ AgentVibes Skill for OpenClaw - 50+ voices, effects, personalities for OpenClaw
- 📱 AgentVibes Receiver - Remote audio on phones/local machines
Advanced Topics
- 📦 Installation Structure - What gets installed
- 💡 Common Workflows - Quick examples
- 🔧 Advanced Features - Custom voices & personalities
- 🔊 Remote Audio Setup - Play TTS from remote servers
- 🛠️ Technical Documentation - Audio architecture, cross-platform support, voice resolution
- 🚨 Security Hardening Guide - REQUIRED if running OpenClaw on remote server: SSH hardening, Fail2Ban, Tailscale, UFW, AIDE
- 🔬 Technical Deep Dive - How AgentVibes works under the hood
- ❓ Troubleshooting - Common issues & fixes
Additional Resources
- 🔗 Useful Links - Voice typing & AI tools
- 🔄 Updating - Keep AgentVibes current
- 🗑️ Uninstalling - Remove AgentVibes cleanly
- ❓ FAQ - NEW! Common questions answered (git-lfs, MCP tokens, installation)
- 🍎 macOS Testing - Automated testing on macOS with GitHub Actions
- 🤗 Hugging Face Voice Models - Technical details on AI voice models
- 🙏 Credits - Acknowledgments
- 🤝 Contributing - Show support
📰 Latest Release
v4.0.0 - Interactive Console & Voice Explorer 🎉
AgentVibes v4.0.0 is a major release that transforms the user experience with a full interactive TUI console, 914+ voices in the built-in Voices tab, and comprehensive platform support including Windows, macOS, Android/Termux, and SSH remote audio.
🖥️ Interactive TUI Console
Full terminal UI with tabbed navigation and real-time settings!


npx agentvibes install✨ Key Highlights
- 🖥️ Interactive TUI Console - Full terminal UI with tabbed navigation (Settings, Voices, Music, Help)
- 🎤 914+ Voices - Browse, preview, and install voices with multi-speaker support
- 🔊 Reliable TTS Hooks - SessionStart JSON output + auto git-init for guaranteed hook support
- 🪟 Windows Support - Native Soprano, Piper, and SAPI providers
- 📱 Android/Termux - Mobile TTS with termux-ssh provider
- 🎵 Background Music - Custom track uploads with secure validation
- 🛡️ Security Hardened - 58 issues fixed, 180+ attack variations tested
Quick Install
# Install AgentVibes
npx agentvibes install💡 Tip: If npx agentvibes shows an older version, clear cache: npm cache clean --force && npx agentvibes@latest --help
🐛 Found a bug? Report at GitHub Issues
→ View Complete Release Notes | → View All Releases
🎙️ AgentVibes MCP
Agent Vibes was originally created to give the Claude Code assistant a voice! Simply install it with an npx command in your terminal, and Claude Code can talk back to you.
We've now enhanced this capability by adding an MCP (Model Context Protocol) server. This integration exposes Agent Vibes' functionality directly to your AI assistant, allowing you to configure and control Agent Vibes using natural language instead of typing "/" slash commands.
Setting it up is straightforward: just add the MCP server to your Claude Code configuration files.
But the convenience doesn't stop there. With the MCP server in place, Claude Desktop can now use Agent Vibes too! We've even tested it successfully with Warp, an AI assistant that helps you navigate Windows and other operating systems.
We're thrilled about this expansion because it means Claude Desktop and Warp can finally talk back as well!
If you decide to use the MCP server on Claude Desktop, after configuration, give Claude Desktop this command: "every time i give you a command, speak the acknowledgement using agentvibes and the confirmation about what you completed, when done"—and watch the magic happen!
🎯 Control AgentVibes with natural language - no slash commands to remember!
Just say "Switch to Aria voice" or "Speak in Spanish" instead of typing commands.
Works in: Claude Desktop, Claude Code, Warp Terminal
→ View Complete MCP Setup Guide - Full setup for all platforms, configuration examples, available tools, and MCP vs slash commands comparison
🚀 Quick Start - Get Voice in 30 Seconds
3 Simple Steps:
1️⃣ Install
npx agentvibes install2️⃣ Choose Provider (Auto-Detected)
- macOS: Native
sayprovider (100+ voices) ✨ - Linux/WSL: Piper TTS (50+ free voices) 🎙️
- Windows Native: Soprano, Piper, or SAPI 🪟
- Android: Termux with auto-setup 📱
3️⃣ Use in Claude Code
Just code normally - AgentVibes automatically speaks task acknowledgments and completions! 🔊
TUI Console Commands
AgentVibes includes a full Text User Interface (TUI) built with blessed.js for managing voices, music, settings, and installation — all from a single interactive console.
| Command | Description |
|---------|-------------|
| npx agentvibes | Smart detection — opens Settings if installed, Install if not |
| npx agentvibes install | Open the Install tab directly |
| npx agentvibes config | Open the Settings tab directly |
Once inside, use Tab / Shift+Tab to switch between tabs: Voices, Music, Settings, and Install. Use [ / ] to page through voice and music catalogs.
🍎 macOS Users (One-Time Setup):
brew install bash # Required for bash 5.x featuresmacOS ships with bash 3.2 (from 2007). After this, everything works perfectly!
→ Full Setup Guide - Advanced options, provider switching, and detailed setup
📋 Prerequisites - What You Actually Need
Minimum (Core Features)
✅ REQUIRED:
- Node.js ≥16.0 - Check with:
node --version
Required for Full Features
✅ STRONGLY RECOMMENDED:
- Python 3.10+ - Needed for Piper TTS voice engine
- bash 5.0+ - macOS only (macOS ships with 3.2 from 2007)
Optional but Recommended
⭕ OPTIONAL (TTS still works without them):
- sox - Audio effects (reverb, EQ, pitch shifting)
- ffmpeg - Background music, audio padding, RDP compression
NOT Required (Despite What You've Heard)
❌ DEFINITELY NOT NEEDED:
- ❌ Git or git-lfs (npm handles everything)
- ❌ Repository cloning (unless you're contributing code)
- ❌ Build tools or C++ compilers (pre-built package ready to use)
Installation Methods
| Method | Command | Use Case |
|--------|---------|----------|
| ✅ RECOMMENDED: NPX (via npm) | npx agentvibes install | All platforms - Just want to use AgentVibes |
| 🪟 Windows PowerShell | .\setup-windows.ps1 | Windows - Standalone installer (no Node.js needed) |
| ⚠️ Git Clone | git clone ... | Developers Only - Contributing code |
Why npx? Zero git operations, no build steps, just 30 seconds to voice!
For Developers (Contributing Code)
If you want to contribute to AgentVibes:
git clone https://github.com/paulpreibisch/AgentVibes.git
cd AgentVibes
npm install
npm linkRequires: Node.js 16+, Git (no git-lfs), and npm link familiarity.
📱 Quick Setup: Android & Termux (Claude Code on Your Phone!)
Want to run Claude Code on your Android phone with professional voices?
Simply install Termux from F-Droid (NOT Google Play) and run:
pkg update && pkg upgrade
pkg install nodejs-lts
npx agentvibes installTermux auto-detects and installs everything needed (proot-distro for compatibility, Piper TTS, audio playback).
→ Full Android/Termux Setup Guide - Detailed troubleshooting and verification steps
📋 System Requirements
AgentVibes requires certain system dependencies for optimal audio processing and playback. Requirements vary by operating system and TTS provider.
Core Requirements (All Platforms)
| Tool | Required For | Why It's Needed | |------|-------------|-----------------| | Node.js ≥16.0 | All platforms | Runtime for AgentVibes installer and MCP server | | Bash ≥5.0 | macOS | Modern bash features (macOS ships with 3.2 from 2007) | | Python 3.10+ | Piper TTS, MCP server | Runs Piper voice engine and MCP server |
Audio Processing Tools (Recommended)
| Tool | Status | Purpose | Impact if Missing | |------|--------|---------|------------------| | sox | Recommended | Audio effects (reverb, EQ, pitch, compression) | No audio effects, still works | | ffmpeg | Recommended | Background music mixing, audio padding, RDP compression | No background music or RDP optimization |
Platform-Specific Requirements
🐧 Linux / WSL
# Ubuntu/Debian
sudo apt-get update
sudo apt-get install -y sox ffmpeg python3-pip pipx
# Fedora/RHEL
sudo dnf install -y sox ffmpeg python3-pip pipx
# Arch Linux
sudo pacman -S sox ffmpeg python-pip python-pipxAudio Playback (one of the following):
paplay(PulseAudio - usually pre-installed)aplay(ALSA - fallback)mpg123(fallback)mpv(fallback)
Why these tools?
- sox: Applies audio effects defined in
.claude/config/audio-effects.cfg(reverb, pitch shifting, EQ, compression) - ffmpeg: Mixes background music tracks, adds silence padding to prevent audio cutoff, compresses audio for RDP/SSH sessions
- paplay/aplay: Plays generated TTS audio files
- pipx: Isolated Python environment manager for Piper TTS installation
🍎 macOS
# Install Homebrew if not already installed
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Required: Modern bash
brew install bash
# Recommended: Audio processing tools
brew install sox ffmpeg pipxAudio Playback:
afplay(built-in - always available)say(built-in - for macOS TTS provider)
Why these tools?
- bash 5.x: macOS ships with bash 3.2 which lacks associative arrays and other modern features AgentVibes uses
- sox: Same audio effects processing as Linux
- ffmpeg: Same background music and padding as Linux
- afplay: Built-in macOS audio player
- say: Built-in macOS text-to-speech (alternative to Piper)
🪟 Windows
Option A: Native Windows (Recommended)
AgentVibes now supports native Windows with three TTS providers. No WSL required!
# Interactive Node.js installer (recommended)
npx agentvibes install
# Or use the standalone PowerShell installer
.\setup-windows.ps1Providers available natively:
- Soprano - Ultra-fast neural TTS (best quality, requires
pip install soprano-tts) - Windows Piper - High quality offline neural voices (auto-downloaded)
- Windows SAPI - Built-in Windows voices (zero setup)
Requirements: Node.js 16+, PowerShell 5.1+, ffmpeg (optional, for background music & reverb)
See Windows Native Setup Guide for full instructions.
Option B: WSL (Legacy)
For Claude Desktop or WSL-based workflows, follow the Windows WSL Guide.
# Install WSL from PowerShell (Administrator)
wsl --install -d UbuntuThen follow Linux requirements above inside WSL.
🤖 Android / Termux
Running Claude Code on Your Android Using Termux
AgentVibes fully supports Android devices through the Termux app. This enables you to run Claude Code with professional TTS voices directly on your Android phone or tablet!
Quick Setup:
# 1. Install Termux from F-Droid (NOT Google Play - it's outdated)
# Download: https://f-droid.org/en/packages/com.termux/
# 2. Install Node.js in Termux
pkg update && pkg upgrade
pkg install nodejs-lts
# 3. Install AgentVibes (auto-detects Android and runs Termux installer)
npx agentvibes installWhat Gets Installed?
The Termux installer automatically sets up:
- proot-distro with Debian (for glibc compatibility)
- Piper TTS via proot wrapper (Android uses bionic libc, not glibc)
- termux-media-player for audio playback (
paplaydoesn't work on Android) - Audio dependencies: ffmpeg, sox, bc for processing
- termux-api for Android-specific audio routing
Why Termux Instead of Standard Installation?
Android's architecture requires special handling:
- ❌ Standard pip/pipx fails (missing wheels for bionic libc)
- ❌ Linux binaries require glibc (Android uses bionic)
- ❌
/tmpdirectory is not accessible on Android - ❌ Standard audio tools like
paplaydon't exist
✅ Termux installer solves all these issues with proot-distro and Android-native audio playback!
Requirements:
- Termux app (from F-Droid, NOT Google Play)
- Termux:API (for audio playback)
- Android 7.0+ (recommended: Android 10+)
- ~500MB free storage (for Piper TTS + voice models)
Audio Playback:
- Uses
termux-media-playerinstead ofpaplay - Audio automatically routes through Android's media system
- Supports all Piper TTS voices (50+ languages)
Verifying Your Setup:
# Check Termux environment
echo $PREFIX # Should show /data/data/com.termux/files/usr
# Check Node.js
node --version # Should be ≥16.0
# Check if Piper is installed
which piper # Should return /data/data/com.termux/files/usr/bin/piper
# Test audio playback
termux-media-player play /path/to/audio.wavTroubleshooting:
| Issue | Solution |
|-------|----------|
| "piper: not found" | Run npx agentvibes install - auto-detects Termux |
| No audio playback | Install Termux:API from F-Droid |
| Permission denied | Run termux-setup-storage to grant storage access |
| Slow installation | Use WiFi, not mobile data (~300MB download) |
Why F-Droid and Not Google Play?
Google Play's Termux version is outdated and unsupported. Always use the F-Droid version for the latest security updates and compatibility.
TTS Provider Requirements
Piper TTS (Free, Offline)
- Python 3.10+
- pipx (for isolated installation)
- Disk Space: ~50MB per voice model
- Internet: Only for initial voice downloads
# Installed automatically by AgentVibes
pipx install piper-ttsmacOS Say (Built-in, macOS Only)
- No additional requirements
- 100+ voices pre-installed on macOS
- Use:
/agent-vibes:provider switch macos
Verifying Your Setup
# Check all dependencies
node --version # Should be ≥16.0
python3 --version # Should be ≥3.10
bash --version # Should be ≥5.0 (macOS users!)
sox --version # Optional but recommended
ffmpeg -version # Optional but recommended
pipx --version # Required for Piper TTS
# Check audio playback (Linux/WSL)
paplay --version || aplay --version
# Check audio playback (macOS)
which afplay # Should return /usr/bin/afplayWhat Happens Without Optional Dependencies?
| Missing Tool | Impact | Workaround | |-------------|--------|------------| | sox | No audio effects (reverb, EQ, pitch) | TTS still works, just no effects | | ffmpeg | No background music, no audio padding | TTS still works, audio may cut off slightly early | | paplay/aplay | No audio playback on Linux | Install at least one audio player |
All TTS generation still works - optional tools only enhance the experience!
🎭 Choose Your Voice Provider
Piper TTS (free, works offline on Linux/WSL) or macOS Say (free, built-in on Mac) - pick one and switch anytime.
| Provider | Platform | Cost | Quality | Setup |
|----------|----------|------|---------|-------|
| macOS Say | macOS only | Free (built-in) | ⭐⭐⭐⭐ | Zero config |
| Piper | Linux/WSL/Windows | Free | ⭐⭐⭐⭐ | Auto-downloads |
| Soprano | Linux/WSL/Windows | Free | ⭐⭐⭐⭐⭐ | pip install soprano-tts |
| Windows SAPI | Windows | Free (built-in) | ⭐⭐⭐ | Zero config |
On macOS, the native say provider is automatically detected and recommended!
🎤 Commands Reference
AgentVibes provides 50+ slash commands and natural language MCP equivalents.
Quick Examples:
# Voice control
/agent-vibes:switch Aria # Or: "Switch to Aria voice"
/agent-vibes:list # Or: "List all voices"
# Personality & sentiment
/agent-vibes:personality pirate # Or: "Set personality to pirate"
/agent-vibes:sentiment sarcastic # Or: "Apply sarcastic sentiment"
# Language & learning
/agent-vibes:set-language spanish # Or: "Speak in Spanish"
/agent-vibes:learn # Or: "Enable learning mode"→ View Complete Command Reference - All voice, system, personality, sentiment, language, and BMAD commands with MCP equivalents
Intro Text Commands
# Configure intro text
/agent-vibes:config intro-text
npx agentvibes config intro-text
# View current intro text
cat ~/.claude/config/intro-text.txtMCP Equivalent:
"Set my intro text to 'FireBot: '"
"What's my current intro text?"
"Clear my intro text"Custom Music Commands
# Configure background music
/agent-vibes:config music
npx agentvibes config music
# Menu options:
# 1. Change music - Upload new audio file
# 2. Remove music - Clear custom music
# 3. Reset to default - Restore built-in tracks
# 4. Enable/Disable - Toggle background music
# 5. Preview current - Sample current musicMCP Equivalent:
"Configure my background music"
"Add custom background music"
"Remove custom music"
"Preview my background music"Friendly Voice Name Commands
# Switch using friendly name
/agent-vibes:switch Ryan
/agent-vibes:switch Sarah
# List all voices with friendly names
/agent-vibes:list
# Get current voice (shows friendly name if available)
/agent-vibes:whoamiMCP Equivalent:
"Switch to Ryan voice"
"Use the Sarah voice"
"List all available voices"🎙️ Verbosity Control
Control how much Claude speaks while working! 🔊
Choose from three verbosity levels:
LOW (Minimal) 🔇
- Acknowledgments only (start of task)
- Completions only (end of task)
- Perfect for quiet work sessions
MEDIUM (Balanced) 🤔
- Acknowledgments + completions
- Major decisions ("I'll use grep to search")
- Key findings ("Found 12 instances")
- Perfect for understanding decisions without full narration
HIGH (Maximum Transparency) 💭
- All reasoning ("Let me search for all instances")
- All decisions ("I'll use grep for this")
- All findings ("Found it at line 1323")
- Perfect for learning mode, debugging complex tasks
Quick Commands:
/agent-vibes:verbosity # Show current level
/agent-vibes:verbosity high # Maximum transparency
/agent-vibes:verbosity medium # Balanced
/agent-vibes:verbosity low # Minimal (default)MCP Equivalent:
"Set verbosity to high"
"What's my current verbosity level?"💡 How it works: Claude uses emoji markers (💭 🤔 ✓) in its text, and AgentVibes automatically detects and speaks them based on your verbosity level. No manual TTS calls needed!
⚠️ Note: Changes take effect on next Claude Code session restart.
📚 Language Learning Mode
🎯 Learn Spanish (or 30+ languages) while you program! 🌍
Every task acknowledgment plays twice - first in English, then in your target language. Context-based learning while you code!
→ View Complete Learning Mode Guide - Full tutorial, quick start, commands, speech rate control, supported languages, and pro tips
🎭 Personalities vs Sentiments
Two ways to add personality:
- 🎪 Personalities - Changes BOTH voice AND speaking style (e.g.,
piratepersonality = Pirate Marshal voice + pirate speak) - 💭 Sentiments - Keeps your current voice, only changes speaking style (e.g., Aria voice + sarcastic sentiment)
→ Complete Personalities Guide - All 19 personalities, create custom ones
🗣️ Voice Library
NEW in v4.0.0: Browse, sample, and install from 914+ voices directly in the interactive TUI console! Launch with npx agentvibes.
Friendly Voice Names
All voices now have memorable names! Instead of technical IDs like en_US-libritts_r-medium-speaker-123, just use friendly names like Ryan, Joe, or Sarah.
Voice Metadata Includes:
- Display name and technical ID
- Gender, accent, and region
- Personality traits (professional, warm, friendly, etc.)
- Recommended use cases
- Quality rating and sample rate
Voice Categories
Curated Voices (10 personalities): These hand-picked voices cover common use cases with clear characteristics.
Speaker Variations (904 voices): High-quality Piper TTS voices from the libritts-high model. Each speaker has unique vocal characteristics, accents, and tones.
Popular Voices
AgentVibes includes professional AI voices from Piper TTS and macOS Say with multilingual support.
🎧 Try in Claude Code: /agent-vibes:preview to hear all voices
🌍 Multilingual: Use Antoni, Rachel, Domi, or Bella for automatic language detection
→ View Complete Voice Library - All voices with clickable samples, descriptions, and best use cases
🔌 BMAD Plugin
Automatically switch voices when using BMAD agents!
The BMAD plugin detects when you activate a BMAD agent (e.g., /BMad:agents:pm) and automatically uses the assigned voice for that role.
Version Support: AgentVibes supports both BMAD v4 and v6-alpha installations. Version detection is automatic - just install BMAD and AgentVibes will detect and configure itself correctly!
🔊 TTS Injection: How It Works
BMAD uses a loosely-coupled injection system for voice integration. BMAD source files contain placeholder markers that AgentVibes replaces with speaking instructions during installation:
Before Installation (BMAD Source):
<rules>
<r>ALWAYS communicate in {communication_language}...</r>
<!-- TTS_INJECTION:agent-tts -->
<r>Stay in character until exit selected</r>
</rules>After Installation (with AgentVibes enabled):
<rules>
<r>ALWAYS communicate in {communication_language}...</r>
- When responding to user messages, speak your responses using TTS:
Call: `.claude/hooks/bmad-speak.sh '{agent-id}' '{response-text}'`
Where {agent-id} is your agent type (pm, architect, dev, etc.)
- Auto Voice Switching: AgentVibes automatically switches to the voice
assigned for your agent role when activated
<r>Stay in character until exit selected</r>
</rules>After Installation (with TTS disabled):
<rules>
<r>ALWAYS communicate in {communication_language}...</r>
<r>Stay in character until exit selected</r>
</rules>This design means any TTS provider can integrate with BMAD by replacing these markers with their own instructions!
→ View Complete BMAD Documentation - All agent mappings, language support, TTS injection details, plugin management, and customization
🤖 OpenClaw Integration
Use AgentVibes TTS with OpenClaw - the revolutionary AI assistant you can access via any instant messenger!
What is OpenClaw? OpenClaw is a revolutionary AI assistant that brings Claude AI to your favorite messaging platforms - WhatsApp, Telegram, Discord, and more. No apps to install, no websites to visit - just message your AI assistant like you would a friend.
🌐 Website: https://openclaw.ai/
AgentVibes seamlessly integrates with OpenClaw, providing professional text-to-speech for AI assistants running on messaging platforms and remote servers.
🚨 CRITICAL: Security Before Running OpenClaw on Any Remote Server
⚠️ SECURITY IS NOT OPTIONAL - Running OpenClaw on a remote server exposes your infrastructure to attack vectors including SSH compromise, credential theft, and lateral movement.
👉 READ THIS FIRST: Security Hardening Guide - Required reading covering:
- ✅ SSH hardening (key-only auth, port 2222, fail2ban)
- ✅ Firewall configuration (UFW/iptables)
- ✅ Intrusion detection (AIDE, Wazuh)
- ✅ VPN tunneling (Tailscale alternative to direct SSH)
Do not expose your OpenClaw server to the internet without reading this guide.
🎯 Key Benefits
- Free & Offline: No API costs, works without internet
- Remote SSH Audio: Audio tunnels from server to local machine via PulseAudio
- 50+ Voices: Professional AI voices in 30+ languages
- Zero Config: Automatic when AgentVibes is installed
🚀 Installation
AgentVibes includes a ready-to-use OpenClaw skill that enables TTS on messaging platforms. The setup involves two components:
Component 1: OpenClaw Server (Remote)
Install AgentVibes on your OpenClaw server:
# On your remote server where OpenClaw is running
npx agentvibes installThe OpenClaw skill is automatically included in the AgentVibes npm package at .clawdbot/skill/SKILL.md.
How to activate the skill in OpenClaw:
Locate the skill - After installing AgentVibes, the skill is at:
node_modules/agentvibes/.clawdbot/skill/SKILL.mdLink to OpenClaw skills directory (if OpenClaw uses skills):
# Example - adjust path based on your OpenClaw installation ln -s $(npm root -g)/agentvibes/.clawdbot/skill/SKILL.md ~/.openclaw/skills/agentvibes.mdOpenClaw auto-detection - Many OpenClaw setups automatically detect AgentVibes when it's installed. Check your OpenClaw logs for:
✓ AgentVibes skill detected and loaded
🎙️ AgentVibes Voice Management Skill for OpenClaw
Manage your text-to-speech voices across multiple providers with the AgentVibes Voice Management Skill:
Voice Management Features:
- 🎤 50+ Professional Voices - Across Piper TTS, Piper (free offline), and macOS Say providers
- 🔀 Multi-Provider Support - Switch between Piper TTS (premium), Piper (free), and macOS Say
- 👂 Voice Preview - Listen to voices before selecting them
- 🎚️ Voice Customization - Add custom voices, set pretext, control speech rate
- 📋 Voice Management - List, switch, replay, and manage your voice library
- 🔇 Mute Control - Mute/unmute TTS output with persistent settings
- 🌍 Multilingual Support - Voices in 30+ languages across all providers
Installation Confirmation: ✅ The skill is automatically included in the AgentVibes npm package at:
node_modules/agentvibes/.clawdbot/skill/SKILL.mdNo extra setup needed - when you run npx agentvibes install on your OpenClaw server, the skill is ready to use!
Full Skill Documentation: → View Complete AgentVibes Skill Guide - 430+ lines covering:
- Quick start with 50+ voice options
- Background music & effects management
- Personality system (19+ styles)
- Voice effects (reverb, reverb, EQ)
- Speed & verbosity control
- Remote SSH audio setup
- Troubleshooting & complete reference
Popular Voice Examples:
# Female voices
npx agentvibes speak "Hello" --voice en_US-amy-medium
npx agentvibes speak "Bonjour" --voice fr_FR-siwis-medium
# Male voices
npx agentvibes speak "Hello" --voice en_US-lessac-medium
npx agentvibes speak "Good day" --voice en_GB-alan-medium
# Add personality!
bash ~/.claude/hooks/personality-manager.sh set sarcastic
bash ~/.claude/hooks/play-tts.sh "Oh wonderful, another request"Component 2: AgentVibes Receiver (Local/Phone) ⚠️ REQUIRED
CRITICAL: You MUST install AgentVibes on your phone (or local machine) to receive and play audio!
Without this, audio cannot be heard - the server generates TTS but needs a receiver to play it.
Install on Android Phone (Termux):
Install Termux from F-Droid (NOT Google Play):
- Download: https://f-droid.org/en/packages/com.termux/
Install Node.js in Termux:
pkg update && pkg upgrade pkg install nodejs-ltsInstall AgentVibes in Termux:
npx agentvibes installInstall Termux:API (for audio playback):
- Download: https://f-droid.org/en/packages/com.termux.api/
- Then in Termux:
pkg install termux-api
Install on Local Mac/Linux:
npx agentvibes installWhy is this needed?
- The server generates TTS but has no speakers (headless)
- AgentVibes on your phone acts as the audio receiver via SSH tunnel
- Audio tunnels from server → SSH → phone → speakers 🔊
Without AgentVibes installed on the receiving device, you'll generate audio but hear nothing!
How It Works: Server → SSH Tunnel → Local Playback
┌─────────────────────────────────────────────────────────┐
│ 1. User messages OpenClaw via Telegram/WhatsApp │
│ "Tell me about the weather" │
└─────────────────────────────────────────────────────────┘
↓
┌─────────────────────────────────────────────────────────┐
│ 2. OpenClaw (Server) processes request with Claude │
│ AgentVibes skill generates TTS audio │
└─────────────────────────────────────────────────────────┘
↓
┌─────────────────────────────────────────────────────────┐
│ 3. Audio tunnels through SSH → PulseAudio (port 14713)│
│ Server: PULSE_SERVER=tcp:localhost:14713 │
└─────────────────────────────────────────────────────────┘
↓
┌─────────────────────────────────────────────────────────┐
│ 4. Local AgentVibes receives and plays audio │
│ Phone speakers, laptop speakers, etc. │
│ 🔊 "The weather is sunny and 72 degrees" │
└─────────────────────────────────────────────────────────┘Architecture:
- Server (OpenClaw): Generates TTS, sends via PulseAudio
- SSH Tunnel: RemoteForward port 14713 (encrypted transport)
- Local (Termux/Desktop): AgentVibes receives audio, plays on speakers
This creates a Siri-like experience - message from anywhere, hear responses on your phone! 📱🎤
📝 Usage
Basic TTS Commands
# Basic TTS
npx agentvibes speak "Hello from OpenClaw"
# With different voices
npx agentvibes speak "Hello" --voice en_US-amy-medium
npx agentvibes speak "Bonjour" --voice fr_FR-siwis-medium
# List available voices
npx agentvibes voicesAdvanced: Direct Hook Usage with Voice Override
For programmatic control, use the TTS hook directly:
# Basic: Use default voice
bash ~/.claude/hooks/play-tts.sh "Hello from OpenClaw"
# Advanced: Override voice per message
bash ~/.claude/hooks/play-tts.sh "Welcome message" "en_US-amy-medium"
bash ~/.claude/hooks/play-tts.sh "Bonjour!" "fr_FR-siwis-medium"
bash ~/.claude/hooks/play-tts.sh "British greeting" "en_GB-alan-medium"Parameters:
$1- TEXT (required): Message to speak$2- VOICE (optional): Voice name to override default
Audio Effects Configuration for OpenClaw
File: .claude/config/audio-effects.cfg
Customize audio effects, background music, and voice processing per agent or use default settings:
Format:
AGENT_NAME|SOX_EFFECTS|BACKGROUND_FILE|BACKGROUND_VOLUMEExample Configuration:
# Default - subtle background music
default||agentvibes_soft_flamenco_loop.mp3|0.30
# Custom agent with reverb + background
MyAgent|reverb 40 50 90 gain -2|agentvibes_soft_flamenco_loop.mp3|0.20
# Agent with pitch shift and EQ
Assistant|pitch -100 equalizer 3000 1q +2|agentvibes_dark_chill_step_loop.mp3|0.15Available SOX Effects:
| Effect | Syntax | Example | Description |
|--------|--------|---------|-------------|
| Reverb | reverb <reverberance> <HF-damping> <room-scale> | reverb 40 50 90 | Adds room ambiance (light: 30 40 70, heavy: 50 60 100) |
| Pitch | pitch <cents> | pitch -100 | Shift pitch (100 cents = 1 semitone, negative = lower) |
| Equalizer | equalizer <freq> <width>q <gain-dB> | equalizer 3000 1q +2 | Boost/cut frequencies (bass: 200Hz, treble: 4000Hz) |
| Gain | gain <dB> | gain -2 | Adjust volume (negative = quieter, positive = louder) |
| Compand | compand <attack,decay> <threshold:in,out> | compand 0.3,1 6:-70,-60,-20 | Dynamic range compression (makes quiet parts louder) |
Background Music Tracks:
Built-in tracks available in .claude/audio/tracks/:
agentvibes_soft_flamenco_loop.mp3- Warm, rhythmic flamencoagentvibes_dark_chill_step_loop.mp3- Modern chill electronic- (50+ additional tracks available)
Background Volume:
0.10- Very subtle (10%)0.20- Subtle (20%)0.30- Moderate (30%, recommended default)0.40- Noticeable (40%, party mode)
Example: OpenClaw Custom Configuration
Create .claude/config/audio-effects.cfg on your OpenClaw server:
# OpenClaw assistant - warm voice with subtle reverb
OpenClaw|reverb 30 40 70 gain -1|agentvibes_soft_flamenco_loop.mp3|0.25
# Help desk agent - clear, bright voice
HelpDesk|equalizer 4000 1q +3 compand 0.2,0.5 6:-70,-60,-20|agentvibes_dark_chill_step_loop.mp3|0.15
# Default fallback
default||agentvibes_soft_flamenco_loop.mp3|0.30How AgentVibes Applies Effects:
- Generate TTS - Create base audio with Piper TTS
- Apply SOX effects - Process audio (reverb, EQ, pitch, etc.)
- Mix background - Blend background music at specified volume
- Tunnel via SSH - Send processed audio to local receiver
- Play on device - Output to phone/laptop speakers
This allows per-message customization or consistent agent branding with unique audio signatures!
🔊 Remote SSH Audio
Perfect for running OpenClaw on a remote server with audio on your local machine:
Quick Setup:
- Remote server - Configure PulseAudio:
echo 'export PULSE_SERVER=tcp:localhost:14713' >> ~/.bashrc
source ~/.bashrc- Local machine - Add SSH tunnel (
~/.ssh/config):
Host your-server
RemoteForward 14713 localhost:14713- Connect and test:
ssh your-server
agentvibes speak "Testing remote audio from OpenClaw"Audio plays on your local speakers! 🔊
📚 Documentation
- OpenClaw Skill: .clawdbot/README.md
- OpenClaw Website: https://openclaw.ai/
- Remote Audio Setup: docs/remote-audio-setup.md
- Security Hardening: docs/security-hardening-guide.md ⚠️
🎙️ AgentVibes Receiver: Remote Audio Streaming from Voiceless Servers
Receive and play TTS audio from servers that have no audio output!
AgentVibes Receiver is a lightweight audio client that runs on your phone, tablet, or personal computer, which receives TTS audio from remote voiceless servers, where your OpenClaw Personal Assistant or your Claude Code project is installed.
🎯 What AgentVibes Receiver Solves
You have OpenClaw running on a Mac mini or remote server with no audio output:
- 🖥️ Mac mini (silent)
- 🖥️ Ubuntu server (headless)
- ☁️ AWS/DigitalOcean instance
- 📦 Docker container
- 🪟 WSL (Windows Subsystem for Linux)
Users message you via WhatsApp, Telegram, Discord but only get text responses:
- ❌ No voice = Less engaging experience
- ❌ No personality = Feels robotic
- ❌ No audio cues = Miss important context
AgentVibes Receiver transforms this:
- ✅ OpenClaw speaks with voice (Siri-like experience)
- ✅ Audio streams to your device automatically
- ✅ You hear responses on your speakers
- ✅ Users get a conversational AI experience
🔧 How It Works
One-time setup:
- Install AgentVibes on your voiceless server with OpenClaw
- Install AgentVibes Receiver on your personal device (phone/tablet/laptop)
- Connect via SSH tunnel (or Tailscale VPN)
- Done - automatic from then on
Flow diagram:
┌──────────────────────────────────────────┐
│ Your Mac mini / Server │
│ (OpenClaw + AgentVibes) │
│ • Generates TTS audio │
│ • Sends via SSH tunnel │
└──────────────────────────────────────────┘
↓ Encrypted SSH tunnel
┌──────────────────────────────────────────┐
│ Your Phone / Laptop │
│ (AgentVibes Receiver) │
│ • Receives audio stream (or text stream) │
│ • Auto-plays on device speakers │
└──────────────────────────────────────────┘Real-world example:
📱 WhatsApp: "Tell me about quantum computing"
↓
🖥️ Mac mini: OpenClaw processes + generates TTS
↓ SSH tunnel (audio or text stream)
📱 Your phone (Agent Vibes Receiver): Plays audio 🔊
↓
You hear on your device speakers: "Quantum computing uses quantum bits..."
↓
💬 Conversation feels alive!✨ Key Features
| Feature | Benefit | |---------|---------| | One-Time Pairing | SSH key setup, automatic reconnect | | Real-Time Streaming | Low-latency audio playback | | SSH Encryption | Secure audio tunnel | | Tailscale Support | Easy VPN for remote servers | | Voice Selection | Configure server-side voice | | Audio Effects | Reverb, echo, pitch on server | | Cache Tracking | Monitor audio generation | | Multiple Servers | Connect to different OpenClaw instances |
🚀 Perfect For
- 🖥️ Mac mini + OpenClaw - Home server with professional voices
- ☁️ Remote Servers - OpenClaw on AWS/GCP/DigitalOcean
- 📱 WhatsApp/Telegram - Users message, hear responses
- 🎓 Discord Bots - Bot speaks with voices
- 🏗️ Docker/Containers - Containerized OpenClaw with audio
- 🔧 WSL Development - Windows developers using voiceless WSL
📝 Setup
# On your server (Mac mini, Ubuntu, AWS, etc.)
npx agentvibes install
# Selects OpenClaw option
# AgentVibes installs with SSH-Remote provider
# On your personal device (phone, laptop, tablet)
npx agentvibes receiver setup
# Pairing prompt with server SSH key
# Done!📚 Documentation
→ View AgentVibes Receiver Setup Guide - Pairing, SSH configuration, Tailscale setup, troubleshooting
→ View OpenClaw Integration Guide - Server setup, voice configuration, audio effects, and best practices
📦 Installation Structure
What gets installed: Commands, hooks, personalities, and plugins in .claude/ directory.
→ View Complete Installation Structure - Full directory tree, file descriptions, and settings storage
💡 Common Workflows
# Switch voices
/agent-vibes:list # See all voices
/agent-vibes:switch Aria # Change voice
# Try personalities
/agent-vibes:personality pirate # Pirate voice + style
/agent-vibes:personality list # See all 19 personalities
# Speak in other languages
/agent-vibes:set-language spanish # Speak in Spanish
/agent-vibes:set-language list # See 30+ languages
# Replay audio
/agent-vibes:replay # Replay last message💡 Tip: Using MCP? Just say "Switch to Aria voice" or "Speak in Spanish" instead of typing commands.
🔧 Advanced Features
AgentVibes supports custom personalities and custom voices.
Quick Examples:
# Create custom personality
/agent-vibes:personality add mycustom
# Add custom Piper voice
/agent-vibes:add "My Voice" abc123xyz789
# Use in custom output styles
[Bash: .claude/hooks/play-tts.sh "Starting" "Aria"]→ View Advanced Features Guide - Custom personalities, custom voices, and more
🔊 Remote Audio Setup
Running AgentVibes on a remote server? No problem!
✅ Auto-detects SSH sessions - Works with VS Code Remote SSH, regular SSH, cloud dev environments ✅ Zero configuration - Audio optimizes automatically ✅ No static/clicking - Clean playback through SSH tunnels
→ Remote Audio Setup Guide - Full PulseAudio configuration details
🛠️ Technical Documentation
Audio Architecture
AgentVibes uses a cross-platform audio module (src/console/audio-env.js) that handles player detection and environment configuration for all supported platforms.
Platform Audio Support Matrix
| Platform | PulseAudio Config | MP3 Players (preference order) | WAV Players (preference order) |
|----------|-------------------|-------------------------------|-------------------------------|
| Native Linux | System default (not overridden) | ffplay → play (sox) → mpg123 → cvlc → mpv | aplay → paplay → play → ffplay |
| WSL2 | Auto-detects /mnt/wslg/PulseServer | Same as Linux | Same as Linux |
| macOS | Not applicable | ffplay → play → mpg123 → cvlc → mpv → afplay | aplay → paplay → play → ffplay → afplay |
| Windows | Not applicable | ffplay → mpv (if installed) | ffplay → mpv → PowerShell SoundPlayer (built-in) |
Key Design Decisions
- Direct spawn, not shell chains: Audio players are spawned directly via Node's
spawn()instead ofsh -c 'cmd1 || cmd2'chains. VLC/cvlc crashes when stderr is redirected inside shell wrappers. - Player detection at startup: The available player is detected once using
whichand cached. No runtime fallback chains. - PULSE_SERVER safety: The WSL2 PulseServer path (
/mnt/wslg/PulseServer) is only set when the socket file actually exists. Hardcoding it on native Linux silently breaks audio output. - Windows WAV fallback: PowerShell's
System.Media.SoundPlayeris used as a built-in fallback when no cross-platform player is installed.
Multi-Speaker Voice Models
Piper supports multi-speaker ONNX models (e.g., 16Speakers.onnx) that contain multiple voices in a single file. AgentVibes expands these automatically:
- The
.onnx.jsonmetadata file containsnum_speakersandspeaker_id_map scanInstalledVoices()expands multi-speaker models into individual selectable entries (e.g.,16Speakers::Cori_Samuel)- When selected, the system writes
tts-piper-model.txtandtts-piper-speaker-id.txtto.claude/ play-tts-piper.shreads these files and passes--speaker <id>to the piper binary
Voice Directory Resolution
Voice storage follows the same precedence chain in both JavaScript and shell:
PIPER_VOICES_DIRenvironment variable- Project-local
.claude/piper-voices-dir.txt(walks up directory tree) - Global
~/.claude/piper-voices-dir.txt - Default
~/.claude/piper-voices
Voice Catalog System
AgentVibes includes a 914-voice catalog (voice-assignments.json) that lets users browse, preview, and install voices directly from the Voices tab:
- 10 Curated Voices — Hand-picked high-quality voices installed by default
- 904 LibriTTS Speakers — Automatically extracted from the
16Speakersmulti-speaker model'sspeaker_id_map, plus the full LibriTTS catalog from Hugging Face - Download on Demand — Uninstalled voices appear greyed-out in the list; pressing Enter opens a download modal that fetches the voice via
piper-voice-manager.sh - Catalog Metadata — Each entry includes
voiceId,displayName,gender,type(curated/libritts), and download URL - LibriTTS Speaker Names — Raw numeric IDs are patched at load time using
patchLibriTTSSpeakerNames()which maps speaker IDs to human-readable names from the registry
The catalog is loaded once at tab initialization by loadCatalog(). Installed voices (from disk scan) are shown with full color; catalog-only voices are dimmed until downloaded.
Required System Dependencies for Background Music
Background music requires an MP3-capable audio player. The installer detects missing players and offers to install ffmpeg automatically. If no player is found, the Music tab displays a clear error message.
# Install ffmpeg (recommended — provides ffplay)
# Ubuntu/Debian/WSL2:
sudo apt install ffmpeg
# macOS:
brew install ffmpeg
# Arch Linux:
sudo pacman -S ffmpeg🔗 Useful Links
Voice & AI Tools
- 🎤 WhisperTyping - Fast voice-to-text typing for developers
- 🗣️ OpenWhisper (Azure) - Microsoft's speech-to-text service
- 🆓 Piper TTS - Free offline neural TTS
- 🤖 Claude Code - AI coding assistant
- 🎭 BMAD METHOD - Multi-agent framework
AgentVibes Resources
- 🐛 Issues - Report bugs
- 📝 Changelog - Version history
- 📰 Technical Deep Dive - LinkedIn Article - How AgentVibes works under the hood
❓ Troubleshooting
Common Issues:
❌ Error: "git-lfs is not installed"
AgentVibes does NOT require git-lfs. This error suggests:
Wrong installation method - Use npm, not git clone:
# ✅ CORRECT - Use this: npx agentvibes install # ❌ WRONG - Don't clone unless contributing: git clone https://github.com/paulpreibisch/AgentVibes.gitDifferent project - You may be in a BMAD-METHOD or other repo that uses git-lfs
Global git config - Your git may have lfs enabled globally:
git config --global --list | grep lfs
Solution: Use npx agentvibes install - no git operations needed!
No Audio Playing?
- Verify hook is installed:
ls -la .claude/hooks/session-start-tts.sh - Test:
/agent-vibes:sample Aria
Commands Not Found?
npx agentvibes install --yes→ View Complete Troubleshooting Guide - Solutions for audio issues, command problems, MCP errors, voice issues, and more
🔄 Updating
Quick Update (From Claude Code):
/agent-vibes:updateAlternative Methods:
# Via npx
npx agentvibes update --yes
# Via npm (if installed globally)
npm update -g agentvibes && agentvibes update --yesCheck Version: /agent-vibes:version
→ View Complete Update Guide - All update methods, version checking, what gets updated, and troubleshooting
🗑️ Uninstalling
Quick Uninstall (Project Only):
npx agentvibes uninstallUninstall Options:
# Interactive uninstall (confirms before removing)
npx agentvibes uninstall
# Auto-confirm (skip confirmation prompt)
npx agentvibes uninstall --yes
# Also remove global configuration
npx agentvibes uninstall --global
# Complete uninstall including Piper TTS
npx agentvibes uninstall --global --with-piperWhat Gets Removed:
Project-level (default):
.claude/commands/agent-vibes/- Slash commands.claude/hooks/- TTS scripts.claude/personalities/- Personality templates.claude/output-styles/- Output styles.claude/audio/- Audio cache.claude/tts-*.txt- TTS configuration files.agentvibes/- BMAD integration files
Global (with --global flag):
~/.claude/- Global configuration~/.agentvibes/- Global cache
Piper TTS (with --with-piper flag):
~/piper/- Piper TTS installation
To Reinstall:
npx agentvibes install💡 Tips:
- Default uninstall only removes project-level files
- Use
--globalif you want to completely reset AgentVibes - Use
--with-piperif you also want to remove the Piper TTS engine - Run
npx agentvibes statusto check installation status
❓ Frequently Asked Questions (FAQ)
Installation & Setup
Q: Does AgentVibes require git-lfs?
A: NO. AgentVibes has zero git-lfs requirement. Use npx agentvibes install - no git operations needed.
Q: Do I need to clone the GitHub repository?
A: NO (unless you're contributing code). Normal users should use npx agentvibes install. Repository cloning is only for developers who want to contribute to the project.
Q: Why is the GitHub repo so large? A: The repo includes demo files and development dependencies (node_modules). The actual npm package you download is < 50MB and optimized for users.
Q: What's the difference between npm install and git clone? A:
npx agentvibes install→ For users - Downloads pre-built package, zero git operations, instant setupgit clone ...→ For developers only - Full source code, development setup, contributing code
Q: I saw an error about git-lfs, is something wrong? A: You're likely:
- Using wrong installation method (use
npxnotgit clone) - In a different project directory that uses git-lfs
- Have global git config with lfs enabled
AgentVibes itself does NOT use or require git-lfs.
Features & Usage
Q: Does MCP consume tokens from my context window? A: YES. Every MCP tool schema adds to the context window. AgentVibes MCP is designed to be minimal (~1500-2000 tokens), but if you're concerned about token usage, you can use slash commands instead of MCP.
Q: What's the difference between using MCP vs slash commands? A:
- MCP: Natural language ("Switch to Aria voice"), uses ~1500-2000 context tokens
- Slash commands: Explicit commands (
/agent-vibes:switch Aria), zero token overhead
Both do the exact same thing - MCP is more convenient, slash commands are more token-efficient.
Q: Is AgentVibes just a bash script? A: No. AgentVibes includes:
- Multi-provider TTS abstraction (Piper TTS, macOS Say)
- Voice management system with 50+ voices
- Personality & sentiment system
- Language learning mode with bilingual playback
- Audio effects processing (reverb, EQ, compression)
- MCP server for natural language control
- BMAD integration for multi-agent voice switching
- Remote audio optimization for SSH/RDP sessions
Q: Can I use AgentVibes without BMAD? A: YES. AgentVibes works standalone. BMAD integration is optional - only activates if you install BMAD separately.
Q: What are the audio dependencies? A:
- Required: Node.js 16+, Python 3.10+ (for Piper TTS)
- Optional: sox (audio effects), ffmpeg (background music, padding)
- All TTS generation works without optional dependencies - they just enhance the experience
TUI Console & New Features
Q: How do I browse and install voices?
A: Run npx agentvibes to open the interactive TUI console. Navigate to the Voices tab using Tab key, browse 914+ voices with arrow keys, press ENTER to sample, and select to install.
Q: What are friendly voice names?
A: Instead of technical IDs like en_US-ryan-high, you can now use simple names like "Ryan" when switching voices. All 904+ voices have friendly names matched to their characteristics.
Q: How do I set up custom intro text?
A: During installation, you'll be prompted for intro text. You can also configure it anytime with npx agentvibes config intro-text. Enter text like "FireBot: " and it will prefix all TTS announcements.
Q: Can I use my own background music?
A: Yes! Run npx agentvibes config music and select "Change music". Provide the path to your audio file (.mp3, .wav, .ogg, or .m4a). Files are validated for security and must be under 50MB.
Q: What's the recommended duration for custom music? A: Between 30-90 seconds is ideal for smooth looping. The system supports up to 300 seconds (5 minu
