How benjaminbayerpriv-cmd/jarvis3 works
Jarvis 3 is a desktop AI assistant: its documented product direction combines OpenCode as the reasoning engine, a Gemini-style interface, screen markers (uimap), and speech-to-speech. The visible UI renders assistant responses, while the core daemon coordinates the model, projects, extensions, and attachments. The Tauri shell manages local services and global controls. Speech and platform-specific uimap implementations are distinct runtime subsystems. The excerpts do not show the UI-to-daemon or daemon-to-uimap wiring, so those links are left unverified; several subsystem paths are supported by the tree and README but their internals were not sampled.
Main entry points: index.ts Jarvis daemon · server.py Speech sidecar · Session.cs Windows UI session · Capture.cs Windows screen capture
Components 22
Desktop experience
- Assistant interface
app/ui/app.js - Tauri shell
app/src-tauri/src/main.rs - Local services
app/src-tauri/src/services.rs
Assistant core
- Jarvis daemon
core/src/index.ts - OpenCode brain
core/src/opencode.ts - Extensions
core/src/extensions.ts - Project organization
core/src/projects.ts - Chat classification
core/src/classify.ts - Attachment preparation
core/src/attachments.ts - Browser automation
core/src/ibrowser.ts
Speech-to-speech
- Speech sidecar
speech/jarvis_speech/server.py - Speech endpoint
speech/jarvis_speech/endpoint.py - Audio capture and playback
speech/jarvis_speech/audio.py - Speech recognition
speech/jarvis_speech/recognition.py - Speech synthesis
speech/jarvis_speech/synthesis.py
Screen interaction
- Windows uimap commands
tools/uimap-win/Program.cs - Windows UI session
tools/uimap-win/Session.cs - Accessibility scanning
tools/uimap-win/Accessibility.cs - Native window access
tools/uimap-win/Native.cs - Windows screen capture
tools/uimap-win/Capture.cs - macOS screen mapping
tools/uimap-mac/Sources
Other components
- User
Connections 22
- User → Assistant interface: uses
- Assistant interface → Jarvis daemon: exchanges requests
- Tauri shell → Local services: manages services
app/src-tauri/src/main.rs - Local services → Jarvis daemon: starts and checks
app/src-tauri/src/services.rs - Local services → Speech sidecar: starts speech service
app/src-tauri/src/services.rs - Jarvis daemon → OpenCode brain: asks model
core/src/index.ts - Jarvis daemon → Project organization: assigns chats
core/src/index.ts - Jarvis daemon → Chat classification: classifies chats
core/src/index.ts - Jarvis daemon → Attachment preparation: prepares uploads
core/src/index.ts - Jarvis daemon → Extensions: reloads extensions
core/src/index.ts - Jarvis daemon → Browser automation: uses browser automation
core/src/index.ts - Speech sidecar → Audio capture and playback: uses audio I/O
speech/jarvis_speech/server.py - Speech sidecar → Speech recognition: transcribes speech
speech/jarvis_speech/server.py - Speech sidecar → Speech synthesis: synthesizes speech
speech/jarvis_speech/server.py - Speech endpoint → Audio capture and playback: uses audio
speech/jarvis_speech/endpoint.py - Speech endpoint → Speech recognition: uses recognition
speech/jarvis_speech/endpoint.py - Windows uimap commands → Windows UI session: dispatches commands
tools/uimap-win/Program.cs - Windows UI session → Accessibility scanning: scans controls
tools/uimap-win/Session.cs - Windows UI session → Native window access: reads windows
tools/uimap-win/Session.cs - Windows screen capture → Accessibility scanning: uses control data
tools/uimap-win/Capture.cs - Windows screen capture → Native window access: uses window access
tools/uimap-win/Capture.cs - Windows screen capture → Windows UI session: uses session data
tools/uimap-win/Capture.cs