Haris: a security-first Windows desktop assistant that asks before acting and can run fully on local Ollama
- Models & engines
- Local engines: Ollama or LM Studio with a tool-capable model (e.g. qwen3:8b), or Claude / any OpenAI-compatible API, or Ollama on a free Colab GPU via the shipped notebook
Voice stack: Vosk wake word inside Haris; Whisper (small) and Piper in hardened Docker containers on 127.0.0.1; optional Gemini TTS - Key gotcha
- On a laptop CPU a full voice turn still takes several seconds (Whisper ~3–4 s plus TTS plus the model).
What they built
Haris is a sci-fi holographic Windows assistant that can open apps, manage files, search the web, see the screen, talk and listen — without trusting the model to act alone.
Every tool call passes a permission gate: read-only and low-risk tools run and are logged, while anything that opens apps, changes files, touches clipboard/screen/camera, or powers off waits for a click.
The author renamed an earlier JARVIS project to Haris (guardian in Arabic) after auditing a popular open-source assistant that opened firewall ports, switched the Wi-Fi profile to Private, and ran model-written code.
Setup
- Windows; Java 21 + Spring Boot core and an SVG HUD (English or Arabic)
- Local engines: Ollama or LM Studio with a tool-capable model (e.g. qwen3:8b), or Claude / any OpenAI-compatible API, or Ollama on a free Colab GPU via the shipped notebook
- Voice stack: Vosk wake word inside Haris; Whisper (small) and Piper in hardened Docker containers on 127.0.0.1; optional Gemini TTS
- Keys stored in Windows Credential Manager; server binds to 127.0.0.1 only
How it works
- Pick a brain in Settings; for local use install Ollama or LM Studio, pull a tool-capable model, and select it.
- Safe tools run and are logged to ~/.haris/audit.jsonl; confirm-tier tools need a click once or for the session; critical ones (Recycle Bin, sleep/restart/shutdown) need a click every time.
- Approvals come only from the HUD (buttons arm after 0.7 s; Esc or a 2-minute timeout denies); spoken approvals are refused.
- Web search goes through local SearXNG; PathGuard blocks escapes to secrets and executable file types; there is no shell/exec tool that could run model-written code.
Results & numbers
- With a local model, conversation text, wake-word audio, and local Whisper/Piper speech stay on the PC; conversations live in memory only and vanish when Haris closes.
- On an MX450 (2 GB) the author measured Whisper at ~1.0 s on GPU versus ~1.5 s on CPU for a short phrase, using ~0.4 GB of VRAM.
Gotchas
- On a laptop CPU a full voice turn still takes several seconds (Whisper ~3–4 s plus TTS plus the model).
- Colab sessions idle out (~90 min, max ~12 h); Haris notices within two minutes and you must Run all again.
- If the GPU Whisper container fails, Haris stays on CPU for three days unless you delete ~/.haris/whisper-gpu-failed.
“Every tool call passes a permission gate you control: read-only and low-risk tools run and are logged, while anything that opens apps, changes files, touches the clipboard, screen or camera, or powers off waits for your click.”— Mahmoud Farouk
Do it yourself
- Clone the Haris repo and follow docs/guides/en for getting started, or run .\run.ps1 / .\package.ps1 on Windows
- Install Ollama or LM Studio and pull a tool-capable model such as qwen3:8b
- In Settings choose that local engine so conversations stay on the PC
- Try a confirm-tier action and deny or allow it from the approval card to see the permission gate
- Optionally start the Docker voice stack so Whisper and Piper bind only to loopback
Similar setups
NixNet: a Tailscale-only private AI box with Ollama, Open WebUI, Whisper and Piper on a 128 GB Minisforum
NixFred runs Ollama on ROCm (80 GB cap), Open WebUI 0.13.0, Whisper, Piper, SearXNG and ComfyUI on a Minisforum MS-S1 MAX under Proxmox, sharing chat and media with friends only over Tailscale.
Home Assistant Voice PE with a local LLM instead of Echo
A $60 Voice Preview Edition, an N100 box and an optional RTX 3060 replace every Echo and Nest in the house. It keeps working with the internet unplugged.
Fully local Home Assistant voice assistant on a GPU
Wake word to spoken answer in 2-3 seconds, with zero audio leaving the house. Built from faster-whisper, Piper and Ollama, with a cloud fallback.
Hearth: a household assistant on Ollama, and proving nothing leaves the house
Hearth answers family questions from manuals and papers with citations, handles voice, notes and reminders, and runs on one home computer; its builders tested small models, prompt injection, and three ways of proving no data leaves.