How elvisgarcia009/jarvis-voice-assistant works
Jarvis is a Linux voice assistant whose main workflow is wake-word detection, speech capture and transcription, Claude Code task execution, then streamed speech and visual feedback. The runtime is concentrated in jarvis.py, with the floating-bubble UI and a separate local Whisper worker in their own files. The README documents the major capabilities and workflow; the excerpts show UI controls and the worker protocol, but do not expose every internal call, so unsampled relationships are cited to the README rather than inferred from module names.
Main entry points: jarvis.py Speech synthesis · jarvis_ui.py Floating bubble · jarvis_stt.py Whisper worker
Components 17
Audio interaction
- Wake detection
jarvis.py - Speech capture
jarvis.py - Speech recognition
jarvis.py - Whisper worker
jarvis_stt.py - Speech synthesis
jarvis.py - Interrupt monitor
jarvis.py
Assistant runtime
- Conversation loop
jarvis.py - Prompt and language
jarvis.py - Sentence streaming
jarvis.py
Models and state
- Claude Code
- Linux PC
- Conversation memory
jarvis.py - Kokoro voice
- Edge TTS
User interface
- Activity terminal
jarvis.py - Floating bubble
jarvis_ui.py
Other components
- User
Connections 21
- User → Wake detection: says wake word
README.md - Wake detection → Speech capture: wakes capture
README.md - User → Speech capture: speaks request
README.md - Speech capture → Speech recognition: passes audio
README.md - Speech recognition → Whisper worker: uses local worker
README.md - Speech recognition → Conversation loop: passes text
README.md - Conversation loop → Prompt and language: builds request context
README.md - Conversation loop → Claude Code: runs task
README.md - Claude Code → Linux PC: acts on
README.md - Conversation loop → Conversation memory: loads and saves
README.md - Claude Code → Sentence streaming: streams answer
README.md - Sentence streaming → Speech synthesis: supplies sentences
README.md - Speech synthesis → Kokoro voice: synthesizes locally
README.md - Speech synthesis → Edge TTS: uses alternative voice
README.md - Speech synthesis → User: plays voice
README.md - User → Interrupt monitor: talks over speech
README.md - Interrupt monitor → Speech synthesis: stops playback
README.md - Conversation loop → Floating bubble: updates state and captions
README.md - Speech synthesis → Floating bubble: reports voice level
README.md - Floating bubble → Conversation loop: controls conversation
jarvis_ui.py - Claude Code → Activity terminal: shows commands
README.md