Gemini Voice Assistant
/install gemini-voice-assistant
Gemini Voice Assistant
A voice-to-voice AI assistant powered by Google's Gemini Live API. Speak to the AI and it responds with natural-sounding voice.
Usage
Text Mode
cd ~/.openclaw/agents/kashif/skills/gemini-assistant && python3 handler.py "Your question or message"
Voice Mode
cd ~/.openclaw/agents/kashif/skills/gemini-assistant && python3 handler.py --audio /path/to/audio.ogg "optional context"
Response Format
The handler returns a JSON response:
{
"message": "[[audio_as_voice]]\
MEDIA:/tmp/gemini_voice_xxx.ogg",
"text": "Text response from Gemini"
}
Configuration
Set your Gemini API key:
export GEMINI_API_KEY="your-api-key-here"
Or create a .env file in the skill directory:
GEMINI_API_KEY=your-api-key-here
Model Options
The default model is gemini-2.5-flash-native-audio-preview-12-2025 for audio support.
To use a different model, edit handler.py:
MODEL = "gemini-2.0-flash-exp" # For text-only
Requirements
google-genai>=1.0.0numpy>=1.24.0soundfile>=0.12.0librosa>=0.10.0(for audio input)- FFmpeg (for audio conversion)
Features
- 🎙️ Voice input/output support
- 💬 Text conversations
- 🔧 Configurable system instructions
- ⚡ Fast responses with Gemini Flash
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install gemini-voice-assistant - After installation, invoke the skill by name or use
/gemini-voice-assistant - Provide required inputs per the skill's parameter spec and get structured output
What is Gemini Voice Assistant?
Voice-to-voice AI assistant using Gemini Live API. Speak to the AI and get spoken responses. Use when you want to have natural voice conversations with an AI... It is an AI Agent Skill for Claude Code / OpenClaw, with 688 downloads so far.
How do I install Gemini Voice Assistant?
Run "/install gemini-voice-assistant" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Gemini Voice Assistant free?
Yes, Gemini Voice Assistant is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Gemini Voice Assistant support?
Gemini Voice Assistant is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Gemini Voice Assistant?
It is built and maintained by Ali Mostafa Radwan (@alimostafaradwan); the current version is v1.0.0.