How panpenek/jarvisai works
J.A.R.V.I.S. is a local, voice-first desktop assistant with a parallel web-chat interface. The voice workflow detects a wake word, records and transcribes speech, then hands the request to the orchestrator for provider-backed reasoning and tool dispatch; it stores conversation context and speaks the response. Its documented capabilities also include screen vision, desktop/app and system control, web search, file operations, subagent delegation, persistent memory, and configurable providers and settings. README and sampled files establish the main links; some feature-level wiring is documented but not excerpted.
Main entry points: main.py Request orchestrator · router.py Tool router · web.py Web chat and APIs · index.html HUD interface
Components 20
User interaction
- Wake detection
jarvis/wake.py - Speech capture and STT
jarvis/stt.py - Speech synthesis
jarvis/tts.py - Web chat and APIs
jarvis/web.py - HUD interface
jarvis/static/index.html
Assistant reasoning
- Request orchestrator
jarvis/main.py - LLM provider calls
jarvis/main.py - Internal LLM chat
jarvis/llm.py - Tool router
jarvis/tools/router.py
Action tools
- Screen and desktop
jarvis/tools/desktop.py - App control
jarvis/tools/app_control.py - Search and fetch
jarvis/tools/web_search.py - File operations
jarvis/tools/file_ops.py - Python execution
jarvis/tools/code_exec.py - System controls
jarvis/tools/system.py - Task delegation
jarvis/tools/subagent.py
Conversation state
- Context window
jarvis/context.py - Persistent memory
jarvis/memory.py
Other components
- Voice user
- Web user
Connections 23
- Voice user → Wake detection: speaks wake word
README.md - Wake detection → Speech capture and STT: starts listening
README.md - Speech capture and STT → Request orchestrator: transcribed request
README.md - Request orchestrator → LLM provider calls: requests response
jarvis/main.py - Request orchestrator → Tool router: dispatches tools
jarvis/main.py - Tool router → Screen and desktop: dispatches desktop tools
jarvis/tools/router.py - Tool router → App control: dispatches app tools
jarvis/tools/router.py - Tool router → Search and fetch: dispatches web tools
jarvis/tools/router.py - Tool router → File operations: dispatches file tools
jarvis/tools/router.py - Tool router → Python execution: dispatches code tool
jarvis/tools/router.py - Tool router → System controls: dispatches system tools
jarvis/tools/router.py - Tool router → Task delegation: dispatches delegation
jarvis/tools/router.py - Request orchestrator → Context window: updates context
jarvis/main.py - Context window → Internal LLM chat: summarizes context
jarvis/context.py - Request orchestrator → Persistent memory: extracts facts
jarvis/main.py - Request orchestrator → Speech synthesis: speaks response
jarvis/main.py - Web user → HUD interface: types request
README.md - HUD interface → Web chat and APIs: sends chat
README.md - Web chat and APIs → Request orchestrator: processes chat
jarvis/web.py - Request orchestrator → Web chat and APIs: broadcasts events
jarvis/main.py - Web chat and APIs → HUD interface: serves interface
jarvis/web.py - Web chat and APIs → Request orchestrator: configures providers
jarvis/web.py - LLM provider calls → Internal LLM chat: may share provider settings