Local Whisper splits runtime, UI, and mobile surfaces. Audio and text processing stays on the Mac unless you set up a remote transcription server or a grammar server on another machine.

macOS runtime

Python modules

Swift modules

Mobile architecture

Flutter owns app shell, onboarding, history, modes, model-pack downloads and checksums, settings, clipboard flow, the remote server engine (lib/src/remote_engine.dart), and deterministic text cleanup. Native iOS owns microphone recording, WhisperKit/Core ML, Apple SpeechTranscriber (LocalSpeechBridge.swift), Keychain keys, backup exclusion, local-only copies (LocalSetupBridge.swift), and the keyboard extension, which runs without Full Access. The Apple SpeechAnalyzer core is shared with the macOS helper. Native Android owns microphone permission/status, WAV recording, app and input-method settings intents, keyboard status, Keystore-encrypted keys, sensitive copies, haptics, and input method behavior. Flutter-side sherpa-onnx handles Android transcription after native recording returns the local WAV path, splitting long recordings into short parts.

Long sessions and recovery

Recordings longer than five minutes use the chunked pipeline. Each VAD segment is transcribed, grammar-corrected, and persisted to ~/.whisper/current_session.jsonl before the next chunk runs. If a crash happens mid-session, completed chunks are recovered on next boot. The LaunchAgent uses KeepAlive={SuccessfulExit=false} with ThrottleInterval=10. Crashes restart. Clean stops do not hot-loop. Crash recovery replays an interrupted recording once: the marker is cleared before the replay, so audio that crashes the engine cannot crash every restart. Long recordings mark parts that failed to transcribe in the text ([Part 2 of 5 missing: transcription failed]). If the engine cannot start, the service stays up, reports the reason to the menu and Settings, and retries on the next dictation.