How sadhithyan7/jarvis-voice-assistant works
Jarvis is a local Windows voice assistant: a hotkey starts a listening turn, recognized speech is handled by the conversation engine, and its reply is spoken aloud. The engine can consult conversation memory, request Groq responses, analyze screenshots, and dispatch tagged system actions. The README also documents console/log access and emergency shutdown. Source excerpts show the main call paths; optional providers and some documented wiring are not fully sampled.
Main entry points: brain.py LLM Conversation · main.py Hotkeys And Turn Loop · listener.py Speech Listener · speaker.py Speech Output
Components 20
Assistant Runtime
- Hotkeys And Turn Loop
main.py - Speech Listener
listener.py - Speech Output
speaker.py
Conversation Engine
- LLM Conversation
brain.py - Conversation Memory
brain.py - Screen Analysis
brain.py - Action Tag Dispatch
brain.py
System Actions
- App And Website Launch
actions.py - Time Battery Bluetooth
actions.py - Volume Control
actions.py - Wikipedia Search
actions.py - Screenshot Capture
actions.py
Storage And Services
- SQLite Conversations
database.py - Groq LLM
- Google Speech Recognition
- Microphone
- Edge TTS
- Windows System
- Wikipedia
Other components
- User
Connections 22
- User → Hotkeys And Turn Loop: activates hotkey
README.md - Hotkeys And Turn Loop → Speech Listener: captures speech
main.py - Speech Listener → Microphone: records audio
listener.py - Speech Listener → Google Speech Recognition: transcribes audio
listener.py - Hotkeys And Turn Loop → LLM Conversation: submits text
main.py - LLM Conversation → Groq LLM: requests completion
brain.py - LLM Conversation → Conversation Memory: checks memory
brain.py - Conversation Memory → SQLite Conversations: reads and writes
brain.py - LLM Conversation → Action Tag Dispatch: processes reply
brain.py - Action Tag Dispatch → App And Website Launch: launches target
brain.py - Action Tag Dispatch → Time Battery Bluetooth: runs status action
brain.py - Action Tag Dispatch → Volume Control: changes volume
brain.py - Action Tag Dispatch → Wikipedia Search: searches topic
brain.py - LLM Conversation → Screen Analysis: routes screen query
brain.py - Screen Analysis → Screenshot Capture: captures screen
brain.py - Screen Analysis → Groq LLM: sends image analysis
brain.py - App And Website Launch → Windows System: opens app or site
actions.py - Time Battery Bluetooth → Windows System: queries device
actions.py - Volume Control → Windows System: sends volume keys
actions.py - Wikipedia Search → Wikipedia: fetches summary
actions.py - Hotkeys And Turn Loop → Speech Output: speaks response
main.py - Speech Output → Edge TTS: synthesizes speech
speaker.py