🔗 Official Documentation: Zed Documentation
📦 Download/Install: Get Zed
🏷️ Version Requirements: Zed v0.150.0+
Zed is a high-performance, multiplayer code editor built from the ground up for speed and collaboration. Voice Mode enhances Zed with natural voice conversations, perfect for collaborative coding sessions and hands-free development.
- Zed installed and configured
- Python 3.10 or higher
- uv package manager (
curl -LsSf https://astral.sh/uv/install.sh | sh) - OpenAI API key (or compatible service)
- System audio dependencies installed (see main README)
# Configure Voice Mode in Zed settings
# Open Assistant Panel and use voice commandsDownload and install from: https://zed.dev/download
- macOS: Download and run the installer (Apple Silicon or Intel)
- Linux: Download the AppImage or use the install script
- Windows: Not yet supported (use WSL2 with Linux version)
Configuration File Location:
- macOS:
~/Library/Application Support/Zed/settings.json - Linux:
~/.config/zed/settings.json
Add Voice Mode to context servers:
{
"context_servers": {
"voice-mode": {
"command": "uvx",
"args": ["voice-mode"],
"env": {
"OPENAI_API_KEY": "your-openai-key"
}
}
}
}Note: Using uvx means Voice Mode will be downloaded and run on-demand. No separate installation required!
After saving the configuration, restart Zed for changes to take effect.
For advanced configuration, you can set these environment variables:
# Required
export OPENAI_API_KEY="your-key"
# Optional - Custom STT/TTS endpoints (comma-separated lists)
export VOICEMODE_TTS_BASE_URLS="http://127.0.0.1:8880/v1,https://api.openai.com/v1"
export VOICEMODE_STT_BASE_URLS="http://127.0.0.1:2022/v1,https://api.openai.com/v1"
# Optional - Voice preferences (comma-separated lists)
export VOICEMODE_TTS_VOICES="af_sky,nova,alloy"
export VOICEMODE_TTS_MODELS="gpt-4o-mini-tts,tts-1-hd,tts-1"-
Check Context Server Status:
- Open Zed Settings (Cmd+, or Ctrl+,)
- Look for context_servers configuration
- Verify voice-mode is listed
-
Test Voice Mode:
- Open Zed
- Open Assistant Panel (Cmd+Shift+A or Ctrl+Shift+A)
- Type: "/voice-mode talk to me"
- Try saying: "Hello, can you hear me?"
In Assistant Panel:
/voice-mode "Let's have a conversation"
You: "Explain this Rust code"
Assistant: [Speaks the explanation]
During a multiplayer session:
/voice-mode "Help us refactor this module"
Team: [Discusses verbally while coding together]
- Ensure Voice Mode is configured in
settings.json - Check that context_servers section is properly formatted
- Verify your OPENAI_API_KEY is set correctly
- Check system audio permissions for Zed
- Run audio diagnostics:
python scripts/diagnose-audio.py - Ensure microphone is not muted
- Check Zed logs:
~/Library/Logs/Zed/Zed.log(macOS) - Ensure
uvxis installed and in PATH - Try running
uvx voice-modemanually to test
- Grant microphone permissions to Zed when prompted
- Zed GPU acceleration works best with Metal support
- Install PulseAudio or PipeWire for audio support
- May need:
sudo apt-get install portaudio19-dev(Debian/Ubuntu) - Wayland users may experience better performance than X11
- Native Windows support not available yet
- Use WSL2 with the Linux version of Zed
To use local services for privacy:
-
Start Kokoro TTS:
# In terminal uvx voice-mode kokoro-start -
Configure endpoints in settings.json:
{ "context_servers": { "voice-mode": { "command": "uvx", "args": ["voice-mode"], "env": { "OPENAI_API_KEY": "your-key", "VOICEMODE_TTS_BASE_URLS": "http://127.0.0.1:8880/v1,https://api.openai.com/v1", "VOICEMODE_STT_BASE_URLS": "http://127.0.0.1:2022/v1,https://api.openai.com/v1" } } } }
For room-based voice conversations:
- Perfect for Zed's multiplayer features
- Configure LiveKit in environment variables
- Enable real-time voice collaboration
Zed's high performance pairs well with Voice Mode:
- Local STT/TTS reduces latency
- GPU acceleration improves response times
- Multiplayer + voice enables new workflows
- 📚 Voice Mode Documentation
- 🔧 Configuration Reference
- 🎤 Local STT/TTS Setup
- 🏠 LiveKit Integration
- 💬 Zed Context Servers
- 🐛 Troubleshooting Guide
- 💻 Zed Official Docs
Need Help? Join our Discord community or check the FAQ