How arunishrajput/gemini-voice-assistant works
Gemini Voice Assistant is a terminal-based, wake-word voice assistant. In the live workflow, main.py captures microphone audio, transcribes it, checks wake/exit words, sends active requests to Gemini, then speaks replies; tui.py presents status and conversation history. Configuration and a scripted demo are additional supported paths. Relationships are based on the sampled main.py and tui.py excerpts and README; external service details are not otherwise inspected.
Main entry points: main.py Assistant Loop · tui.py Assistant UI
Components 13
Assistant Runtime
- Configuration
main.py - Assistant Loop
main.py - Wake / Exit Control
main.py - Demo Mode
main.py
Voice and AI Services
- Audio Capture
main.py - Speech Recognition
main.py - Gemini Chat
main.py - Speech Output
main.py
Terminal Interface
- Assistant UI
tui.py - Conversation History
tui.py
Other components
- User
- Microphone
- Terminal
Connections 15
- User → Microphone: speaks into
README.md - Microphone → Audio Capture: provides audio
README.md - Configuration → Assistant Loop: configures
main.py - Assistant Loop → Audio Capture: captures audio
main.py - Assistant Loop → Speech Recognition: transcribes audio
main.py - Assistant Loop → Wake / Exit Control: checks words
main.py - Assistant Loop → Gemini Chat: sends prompts
main.py - Assistant Loop → Speech Output: speaks replies
main.py - Assistant Loop → Assistant UI: updates state
main.py - Assistant Loop → Conversation History: adds turns
main.py - Demo Mode → Assistant UI: previews
main.py - Demo Mode → Conversation History: adds scripted turns
main.py - Assistant UI → Conversation History: renders history
tui.py - Assistant UI → Terminal: renders interface
README.md - Speech Output → User: speaks reply
README.md