A copilot with a lock on the cockpit door
A voice-driven, identity-locked control center for a Windows machine: it hears, speaks, watches, and acts through typed tools — behind a two-factor voiceprint gate and a guarded-autonomy model.
Python · Tauri · React · faster-whisper · openWakeWord
The setup
Voice assistants are cloud services with someone else’s priorities. The interesting version is local, key-free, and trusted with real control of the machine — which makes identity and safety the first engineering problems, not afterthoughts.
F.R.I.D.A.Y ships the cage before the brain: the lock, the permission model, and the audit log predate any clever reasoning.
Autonomy is a dial, not a switch.
The machine
The hard parts
On the record
The identity gate is two-factor: a voiceprint verifier plus a fuzzy-matched passphrase, with the enrolled print stored encrypted at rest under a DPAPI-wrapped key — never in plaintext. In verification tests the owner scores 0.998 against an imposter’s 0.408 1. While locked, the core refuses privileged state transitions entirely; the lock is enforced in the state machine, not the UI.
Action passes through a safety layer that classifies every tool call: SAFE and SENSITIVE actions auto-run, DESTRUCTIVE ones require explicit confirmation, everything lands in a SQLite audit log, an undo stack covers reversible operations, and a spoken kill switch stops the agent outright 2. The dashboard renders the plan, the tool-call stream, the capability grid and an autonomy dial — the operator always sees what the system is doing and how much rope it has.
The numbers
| Measure | Value | Source |
|---|---|---|
| Verification | 7 test suites green, incl. lock flow over WebSocket | core/tests |
| Voice stack | fully local, zero API keys | openWakeWord + faster-whisper + SAPI |
| Safety | confirm gate + undo + kill switch + audit | agent/safety.py |
Errata & Failures
The brain is honestly a stub
Conversation currently runs on a deferred local stub while the identity, safety and tool layers hardened first. That ordering is the point of the project — but it means the demo talks plainly, not brilliantly, today.
Wake word borrowed
It answers to “Hey Jarvis” — the pretrained model — until a custom “Friday” wake model is trained. The system’s name is aspirational; its lock is not.
■ References