JARVIS is a local-first Electron + React assistant built for a wall-mounted touchscreen panel. It listens for a wake word, answers out loud, controls WLED lighting, generates CAD, drives 3D printers, and runs entirely on your own hardware. No cloud account, no API key, nothing leaves the network.
The interface is designed for touch only: fixed panes, large targets, no draggable windows, no hover-only controls, and nothing that can end up off screen.
| Feature | Default |
|---|---|
| Wake word | openWakeWord hey_jarvis, fully offline |
| Chat / reasoning | Ollama llama3.2:1b |
| Image understanding | Ollama moondream:1.8b-v2-q2_K |
| Speech-to-text | Faster-Whisper tiny.en, CPU INT8 |
| Speech output | OS TTS (pyttsx3) |
| Optional cloned JARVIS voice | LuxTTS + local reference audio |
| Lighting | WLED over the local JSON API |
| CAD generation | Ollama llama3.2:1b + build123d |
| UI | React + Electron, kiosk mode |
| Backend | FastAPI + Socket.IO |
Moondream is only invoked when a request actually refers to an image, camera, screen, screenshot, or visible object. Its Ollama keep-alive is short by default so an 8 GB PC does not keep both vision and chat models resident.
On Windows:
- Python 3.11+: https://www.python.org/downloads/ (check "Add Python to PATH")
- Node.js 18+: https://nodejs.org/en/download/ (LTS version)
- Ollama: https://ollama.com/download/windows
- Git: https://git-scm.com/download/win
Or via Chocolatey (if installed):
choco install python nodejs-lts git ollama -yOn macOS, also install PortAudio:
brew install portaudioWindows PowerShell:
mkdir C:\code
cd C:\code
git clone https://github.com/RiaanSFD/Jarvis.git
cd Jarvis
git checkout ollama-local-jarvis
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -r requirements.txt
npm installLinux/macOS:
mkdir ~/code
cd ~/code
git clone https://github.com/RiaanSFD/Jarvis.git
cd Jarvis
git checkout ollama-local-jarvis
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
npm installBefore running, start Ollama (it runs as a background service after install).
Then cache the models:
python scripts/setup_local_ai.pyThis pulls Ollama models (~2 GB), Faster-Whisper, and openWakeWord so "Hey Jarvis" works out of the box. Takes 5–10 min on a fast connection.
npm run devOpens on http://localhost:5173. The panel is kiosk-ready: fullscreen, no chrome,
touch-optimized controls.
Everything is configurable at runtime — there is no need to edit files or restart to change a model, a threshold, or a voice.
- On the panel: the Setup tab, grouped into Assistant, Listening, Wake Word, Voice, Devices, Printing, Interface and System.
- From your phone or laptop:
http://<panel-ip>:8000/admin— the same settings with a real keyboard, which is far easier for addresses and model names. Printed to the console at startup, and disableable in Setup → System.
Settings are stored in backend/settings.json and applied live. .env only
seeds the first run.
Notable options:
| Setting | Default | Notes |
|---|---|---|
| Require wake word | on | Off means JARVIS answers anything it hears |
| Wake sensitivity | 0.5 | Lower triggers more easily, with more false alarms |
| Stay awake for | 15 s | Follow-up window after the wake phrase |
| Dim when idle | on, 120 s | Standby clock face; 0% brightness blanks the panel |
| Kiosk mode | on | Fullscreen, no window chrome. Restart to apply |
| Settings PIN | blank | Locks the Setup tab behind an on-screen keypad |
| Hand gesture control | off | Touchless pointer; also toggled by voice |
The Lights tab discovers WLED controllers over mDNS and gives each one power, brightness, colour swatches and quick effects. Controllers can also be added by IP in Setup → Devices.
By voice:
- "Hey Jarvis, turn on the desk light"
- "Hey Jarvis, set the ceiling to warm white at 40 percent"
- "Hey Jarvis, put all the lights on rainbow"
- "Hey Jarvis, turn everything off"
Targets resolve by controller name (including partial names like "desk"), by IP, or with "all".
- "Hey Jarvis, enable gesture control" / "disable gesture control"
- "Hey Jarvis, what do you see?" (uses the camera + Moondream)
- "Hey Jarvis, design a bracket 40mm wide" (CAD)
- "Hey Jarvis, what's my printer doing?"
Built for an unattended panel:
- Fullscreen kiosk with no window chrome, menu bar or right-click menu
- The Python backend is restarted automatically if it dies, with backoff
- A crashed renderer reloads itself
- Display sleep is blocked so the app's own idle dimming is what you see
Ctrl+Shift+Qquits, for when a keyboard is attached
The supplied dataset is:
https://www.kaggle.com/datasets/fotiemconstant/jarvis-dataset
It is downloaded locally and deliberately excluded from Git.
Install/configure Kaggle credentials, then run:
python scripts/import_jarvis_dataset.pyOr bootstrap models and the dataset together:
python scripts/setup_local_ai.py --with-datasetThe importer downloads the dataset, extracts a short local reference clip for
voice cloning, builds data/jarvis_persona.txt from any dialogue examples, and
keeps all of it out of the repository.
The default uses OS TTS because it is the smallest option. For a cloned JARVIS-style voice, install the optional LuxTTS stack:
pip install -r requirements-voice-clone.txtThen set the speech engine to lux (or leave it on auto) in Setup → Voice.
For the complete setup in one pass:
python scripts/setup_local_ai.py --with-dataset --with-voice-cloneOnly use voice recordings you have permission or legal rights to use. Third-party audio is not redistributed in this repository.
python scripts/smoke_test_local_ai.pyThat checks the required Python modules, Ollama connectivity, Llama 3.2 1B, and
a generated Moondream image test. Add --voice to also produce a short cloned
voice sample in data/jarvis_voice/smoke_test.wav.
For an older CPU or an 8 GB RAM panel, start from the defaults and, in Setup:
- Assistant: context 2048, max response tokens 192, vision keep-alive 30s
- Listening: speech model
tiny.en, 2 threads - Voice: engine
system - Interface: dim when idle after 60–120 s
For stronger hardware, raise the context and output limits, switch the vision
model to moondream for a better quantization, and move the voice clone onto
the GPU with Voice → Clone device.
Microphone
|
v
openWakeWord "hey jarvis" ---- gate ----> Faster-Whisper tiny.en (CPU INT8)
|
v
Llama 3.2 1B via Ollama <---- Moondream (on demand)
|
+---- WLED lighting
+---- Project/file tools
+---- build123d CAD
+---- Printer tools
+---- Interface control
|
v
System TTS OR LuxTTS voice clone
The React frontend talks to backend/server.py over Socket.IO.
backend/local_jarvis.py is the runtime; backend/settings_store.py is the
single source of configuration for both the UI and the runtime.
build123dSTL generation and iteration- OrcaSlicer / PrusaSlicer integration
- Moonraker / OctoPrint printer control
- MediaPipe hand tracking (optional touchless pointer)
- Project-scoped files and conversation memory
- Face authentication has been removed; the panel is not gated behind a camera lock. Use the settings PIN if you want the Setup tab protected.
- Browser automation was built on Google Gemini Computer Use and is not part of the local tool set.
- TP-Link Kasa support has been replaced by WLED.
See LOCAL_AI.md for model configuration, dataset behaviour,
voice-clone setup, and performance tuning.
MIT — see LICENSE.