How leandros04/jarvis works
JARVIS is a local-first Windows voice assistant. Its principal workflow listens for a wake word, transcribes speech locally, handles fast commands or routes reasoning to a model, dispatches selected tools, and speaks a response. The tool surface includes desktop and file control, browser automation, memory, scheduling, remote SSH/SCP, and reusable routines; health monitoring and cost accounting are supporting capabilities. Edges use README workflow documentation and the shown broker/source references; unsampled implementation details are not asserted.
Main entry points: jarvis.py Assistant broker · voice_tools.py Speech input/output · ai_router.py Model routing · wakeword_tools.py Wake detection
Components 18
Voice interaction
- Wake detection
wakeword_tools.py - Speech input/output
voice_tools.py
Assistant orchestration
- Assistant broker
jarvis.py - Model routing
ai_router.py - API cost tracking
cost_tracker.py
Computer tools
- Windows and files
system_tools.py - Desktop controls
desktop_tools.py - Admin and processes
admin_tools.py - Browser automation
browser_tools.py
Memory and integrations
- Persistent memory
memory_tools.py - Timers and reminders
scheduler_tools.py - Remote SSH and SCP
remote_tools.py - Named routines
routine_tools.py
Operations
- Health monitoring
health_tools.py - System tray launcher
tray_app.py
Other components
- User
- OpenAI API
- Ollama router
Connections 20
- User → Wake detection: says wake word
README.md - Wake detection → Speech input/output: starts listening
README.md - Speech input/output → Assistant broker: transcribes request
README.md - Assistant broker → Model routing: routes reasoning
jarvis.py - Model routing → Ollama router: classifies optionally
README.md - Model routing → OpenAI API: selects model
README.md - Assistant broker → OpenAI API: requests reasoning
README.md - Assistant broker → Windows and files: dispatches tools
jarvis.py - Assistant broker → Desktop controls: dispatches tools
jarvis.py - Assistant broker → Admin and processes: dispatches tools
jarvis.py - Assistant broker → Browser automation: dispatches tools
jarvis.py - Assistant broker → Persistent memory: dispatches tools
jarvis.py - Assistant broker → Timers and reminders: dispatches tools
jarvis.py - Assistant broker → Remote SSH and SCP: dispatches tools
jarvis.py - Assistant broker → Named routines: dispatches tools
jarvis.py - Assistant broker → API cost tracking: accounts usage
jarvis.py - Assistant broker → Health monitoring: dispatches checks
jarvis.py - Speech input/output → User: speaks response
README.md - Timers and reminders → Desktop controls: shows notifications
scheduler_tools.py - System tray launcher → Assistant broker: starts process
tray_app.py