How nitintiwari20/jarvis-voice-assistant works
JARVIS is a voice-first personal assistant with CLI and web HUD interfaces. Its main workflow accepts spoken or typed commands, classifies intent, dispatches a specialized tool, and presents the result as text and optionally speech. The tools cover lookup, calculations, system control, messaging, email, and reminders; reminders have documented persistent storage. The excerpts show concrete wiring for several tools and both interfaces. Other tool dispatches and the web HUD’s browser-side behavior are represented from README documentation, not inspected source.
Main entry points: jarvis_brain.py Intent Brain · main.py CLI Loop · server.py Web Server · index.html HUD Page
Components 20
User Interfaces
- CLI Loop
main.py - Web HUD
static/app.js - HUD Page
templates/index.html - Web Server
server.py
Command Orchestration
- Intent Brain
jarvis_brain.py - Assistant Config
config.py
Speech I/O
- Speech Recognition
stt_engine.py - Speech Synthesis
tts_engine.py
Information Tools
- Web Search
Voicetools/web_search.py - Price Search
Voicetools/price_search.py - Wikipedia Lookup
Voicetools/wikipedia.py - Weather Lookup
Voicetools/weather.py - Calculator
Voicetools/calculator.py - GitHub Lookup
Voicetools/github.py
Actions and State
- System Control
Voicetools/system_tools.py - WhatsApp Actions
Voicetools/whatsapp.py - Email Drafting
Voicetools/email.py - Reminder Manager
Voicetools/reminders.py - Reminder Store
reminders.json
Other components
- User
Connections 22
- User → CLI Loop: enters command
README.md - User → Web HUD: enters command
README.md - CLI Loop → Speech Recognition: listens via
main.py - CLI Loop → Intent Brain: submits command
main.py - CLI Loop → Speech Synthesis: speaks result
main.py - Web HUD → HUD Page: renders
- HUD Page → Web Server: uses API
- Web Server → Intent Brain: submits command
server.py - Web Server → Speech Synthesis: optionally speaks
server.py - Web Server → HUD Page: serves page
server.py - Intent Brain → Assistant Config: loads settings
jarvis_brain.py - Intent Brain → WhatsApp Actions: dispatches
jarvis_brain.py - Intent Brain → Weather Lookup: dispatches
jarvis_brain.py - Intent Brain → Calculator: dispatches
jarvis_brain.py - Intent Brain → System Control: dispatches
jarvis_brain.py - Intent Brain → Reminder Manager: dispatches
jarvis_brain.py - Intent Brain → Web Search: dispatches
jarvis_brain.py - Intent Brain → Price Search: dispatches
README.md - Intent Brain → Wikipedia Lookup: dispatches
README.md - Intent Brain → GitHub Lookup: dispatches
README.md - Intent Brain → Email Drafting: dispatches
README.md - Reminder Manager → Reminder Store: persists reminders
README.md