Jarvis: a voice assistant in the MacBook notch
A menu bar assistant that wakes to “Hey Jarvis”, hears and speaks on-device, and hands the thinking to Claude behind 43 tools, each one gated by a permission tier enforced in code rather than in the prompt.
Problem
An assistant that can run shell commands, read email and change system settings is only useful if you can trust what it will not do. Prompt-level guardrails are not a safety model.
Approach
Swift and SwiftUI, with openWakeWord on ONNX Runtime and Apple’s SpeechAnalyzer so audio never leaves the Mac. Every tool call passes a dispatcher: denylist, mode allow-list, then Tier 2 approval in the notch with a 12 s timeout. Untrusted content is tagged as data.
Result
Calendar, Gmail, Notion, briefings, the camera and an action log you can ask about. On-device speaker verification gates approvals, saved keys unlock with Touch ID, and a phone app with a hands-free call mode reaches it over a private Tailscale network. 362 tests, grouped by pipeline stage.