nia: Local Voice Assistant

nia: Local Voice Assistant preview

Overview

A Jarvis-style voice assistant that runs entirely on-device.

Wake word (Porcupine) → speech recognition (Whisper) → reasoning (Ollama, gemma3:4b) → JSON actions → Spotify, with local TTS. Driven by a three-state machine (listening, wake detected, command mode). Offline tests assert that every declared action routes to a real handler, catching the case where the model is prompted with an action nothing implements.

Technologies Used

PythonWhisperOllamaPorcupineSpotify API