Anatomy of Hark
Context
I've started to design Hark as a menu bar app for the Mac first. Where you can press a key and speak. It types what you said at the cursor, opens the app you named, or, through a model server you run beside it, answers what you ask according to your context. The speech is transcribed on the Mac, by whisper.cpp, a C and C++ implementation of OpenAI's Whisper speech model so far in EU more accurate and also faster than the free DCMA dictation feature on MacOS/iOS. The audio never leaves the Mac, it's the second fundamental point that I wanted to bring here a text to speech that respect privacy. The text lands a little over a tenth of a second after key up, by a sum of parts measured separately, and the app measured about half a gigabyte of memory.
Hark works like a "power tool". The key is the trigger. Hold it and Hark listens. Let go and it does one precise job, then stops. A quick tap locks it on, until the next tap. Its icon is a cordless drill. It is a tool you pick up on purpose, to open one app or write into one text field, then put down. It is not an assistant that is always listening, waiting to be called.
Why the voice? Voice is the most natural way of transferring information, since the beginning of human history, we started to speak, communicate between each other over the most natural way, the language over the voice. And I always wonder to build a product that brings natural human fundamentals and empowering it with technology. There is also an ambition to bring AI close to the human and their work rather than bring them close to AI and adapt their work to technology.
A good product always start by fitting to the current workflow and bring solution rather to adapt yourself to fix your problems.
I always liked Cydia and the jailbreak scene on iOS back in the past. Most of you who is familiar with this culture knows that this drill logo comes from the different tweaks available in Cydia. The drill means many different things, but I always wanted to tweak my way of using my laptop. Despite my technical knowledge is limited (I do not build tweaks...), this animated with curiosity combined with a bit of old school taste, I came to this idea of choosing this logo.
This article takes Hark apart, following one sentence from the key to the cursor. For each part it shows how it is built, why, and what it costs in milliseconds and memory. Five threads run through it:
- The architecture choices. The six parts come first, and chapter 1 shows what holds them together.
- The wait kept short. The logic behind a sentence adds it up, and chapter 3 makes its largest part small.
- A speech model in little memory. Chapter 3 keeps Whisper loaded all day, and chapter 6 keeps the language model out of the process.
- A tool each person shapes (by expressing themselve in the most natural way for breaking AI struggles). Chapter 4 sets the rules, and chapter 7 hands them over.
- The problems that shaped it. Each is told where it bites, and Appendix B lists them by date.
The running example here is Hark 0.0.4 on a MacBook Pro with an Apple M5 Pro and 64 GB of memory (bought it before mem crisis I feel lucky). Hark is set as a fresh install leaves it: the Small model, the Neural Engine off, the language detected, the live transcript off. The sentence is "The meeting moves to Thursday at ten, same room.", about five seconds on the key, into a Mail draft. Every measurement in this article comes from that one Mac, taken between 18 and 29 September 2026 on the builds that led to 0.0.4, under macOS 27.0 and then 27.2. Each number names its conditions.
The screenshots show a sample log, and no real dictation appears in them. Where one shows something not yet released, the caption says so.
The document is built to grow, as Hark does.
One last detail. The model that does the listening cannot spell the product's name. Whisper writes the nearest word in its vocabulary, and a French voice saying "Hark" comes back as "arc" far more often than as "Hark". So Hark answers to a short list of spellings of its own name, written out, never guessed. The list has a price, and chapter 4 names it: a sentence that really starts with "Arc" goes to the assistant.
The six parts
Hark is one process on the Mac, a menu bar app with no Dock icon, for macOS 14 or later on a Mac with Apple silicon, built in Swift. It splits into six parts. What sets them apart first is what each may touch: the speech model, your rules, another app, or something outside the process.
- Pipeline (
Pipeline/,Logging/). One state machine. Each utterance, one press of a key from key down to its end, leaves one log line. Chapter 1. - Capture (
Audio/). The keys, the microphone, and the HUD (heads-up display), the small recording window that never takes the keyboard. Chapter 2. - Transcription (
Transcription/,Models/). whisper.cpp on the GPU. The Neural Engine, the part of Apple silicon built for machine learning, is an option. Chapter 3. - Decision (
Commands/). Text, a command, or a question. Chapter 4. - Delivery (
Focus/,Insertion/). The cursor, or the clipboard with a reason. Chapter 5. - Ask Hark (
Ask/). A client for a model server that runs beside Hark, not inside it. Chapter 6.
Beside them sits one file you edit, commands.yaml, covered in chapter 7.
I always liked to use very simple information to understand complex things. That's why I decided to choose the colors codes. So they keep one meaning each, here and in every diagram that follows. Amber is the speech model at work, the only neural network inside the process. Teal is what is yours to shape. Coral is a boundary or a check: delivery, which writes into another app and verifies it, and anything outside the process. Gray is plumbing. Chapter 1 shows the check that enforces what each part may touch.
Two things cross the edge of the process, and both wait for you. The first is a model download you start, from huggingface.co and its hf.co storage, at a pinned commit, checked against its SHA-256 hash: the app ships with no speech model. The second is the model server for Ask, a separate process, at 127.0.0.1 by default. A sentence you dictate never waits on either.
Seeing the "six"
Click the menu bar icon, and the panel, the window that drops from it, shows all six parts at once, here over a sample log.
Micro MacBook Pro, the built-in microphone's French name, then Small and ● Ask, green when the server answers. The last result, a sample 460 ms, then Ask, Text, Text, Command. Six parts, one glance.Every part has a place on it. The status line holds three: the microphone, the model and the green dot for Ask. The last result says where delivery put it, and each row, read back from the log, what the decision made of it.
The panel is the summary. The Log tab is the record.
Settings has seven tabs, and they follow the parts: each chapter names the one it uses.
The row at 11:05 is the running example.
The logic behind a sentence
The six parts follow the sentence, in seven steps. Each part serves one or more of them.
The sentence starts with a press of the dictation key, Control-Option-V (⌃⌥V) by default. Two things start at that instant: the capture, and a focus probe that asks macOS which app and which field are in front. Recording does not wait for the probe, so the probe costs the capture nothing. For the running example, the probe has found a Mail draft long before key up.
The microphone opens one session for this press. It delivers 16 kHz mono samples, kept in memory and never written to disk. Key up is the end of speech. No voice detector waits out 300 to 700 ms of trailing silence to guess that you stopped. The release says so, and the HUD leaves.
The amber box is Whisper, transcribing the clip. Resolve, in teal, reads your rules and picks text, a command or an ask. The running example opens with "The", not a verb or the name, so it is text. Deliver, in coral, writes into another app, then checks. For a Mail draft that means a paste, which counts only once Mail reads it. Every path ends in one log line.
Where the milliseconds go
You feel one wait: from letting go of the key to the text in Mail. The focus probe and the HUD's 120 ms fade, given in chapter 2, run while you speak and add nothing after key up. The microphone is the exception, at the start: its first sample lands 90 to 100 ms after the press, and sound before it is not recorded. Whether that clips a quick first syllable was not measured.
After key up, the wait is a short chain. The microphone stops in 17 to 24 ms. Then Whisper decodes the clip on the GPU, through Metal, Apple's GPU interface. The nearest measurement to the running example is a synthesized 5.7 s sentence on Small q8_0, its 8-bit build: 76 ms, the median of 8 runs after one discarded warm-up, with the language fixed to English. Whisper does the same amount of work for both clips, for a reason chapter 3 explains.
The rest is small, and untimed. Resolve runs in memory, the paste is read in milliseconds by the code's own account, and the log line is one write(2).
Added up, the chain comes to about 100 to 110 ms from key up to text. That is a sum of parts measured separately. No end-to-end measurement exists: the timer planned for it was never built. The log does not close the gap either. Its transcribe_ms times the whole engine call, queue waits included, not the decode alone.
By the sum of its parts, with the language fixed, the text lands at about the moment the HUD's 120 ms fade-out ends. The running example detects the language, which costs Whisper an extra pass. On short synthesized requests, detection added 24 ms to the median decode in English, which puts the running example near 125 to 135 ms. That is an estimate, and chapter 3 gives the measurements.
For scale, the project's target was under 1.5 s at the 95th percentile, for a five-second sentence. A language model routing every sentence would have added 0.3 to 0.6 s, by the project's own estimate, and needed the model server running before you could type a word. That design was refused, and chapter 7 comes back to it.
The honest summary: most of the wait is one decode, and chapter 3 is about making it small.
Chapter 1: The pipeline
The six parts need a conductor. Every utterance, whatever it becomes, runs through one state machine: one stage at a time, one way in, one way out, and one line in a log at the end.
Presses at the wrong moment
You press the dictation key again while a sentence is still being transcribed. You cancel, and the transcript lands anyway. Or Whisper finishes before Hark knows which field has focus.
Each case still ends cleanly. A press while busy is its own utterance, logged as busy at once, and the one in progress carries on. A result for an utterance that already ended is rejected.
The mechanism is a reducer, a pure function from a state and an event to the next state. reduce(state, event) reads no clock and does no I/O. It returns the new state and a list of effects: start the microphone, transcribe, insert. The controller, a Swift actor that handles one message at a time, runs each effect in its own task. The result comes back as an event, and the controller never waits, so a second press is handled at once.
So a press can arrive at the wrong moment and still end in exactly one line. That is what the state machine buys.
One state machine
The states are the seven steps, now named: idle, capturing, transcribing, resolving. Then one of three endings, acting, inserting or copying, and back to idle.
Version 0.0.3 added asking, with its stages: generating, reviewing, replacing and failed. An ask is known from the start, by the key or menu that began it, and goes to asking straight after its transcript. Only a dictation that opens with "Hark, …" turns into one later, at resolving. Chapter 6 covers it.
Some utterances never reach Whisper: too short or too quiet, they end as too_short or no_speech, at the gates of chapter 2. An insert that fails does not lose the text: the machine falls to copying, with a reason.
One state, confirming, is wired and tested and never entered: no command asks first. Every ending has a name the log can write, one of 27 failure codes or 10 discard reasons. The 62 legal and 28 illegal dictation transitions are tested from tables, and asks have tables of their own, so a change nobody planned fails a test.
The drill in the menu bar
The HUD leaves at key up imo. The work goes on, and the menu bar icon shows it. But like in a subtle way. I always liked design that is soft tool where you have to pay attention to the details to see them and this brings a form of expression in your software and products without disturbing the user experience. The key is to find the great balance and for an application that fits in the status bar, Its simplicity is a form of paradox of complexity.The icon is the state machine made visible, one form of the app icon's drill per state. It is a design in progress: the forms are drawn, but the animations are not yet wired into the app, and none of it is released. 0.0.4 still shows a waveform there.
Key down pulls the trigger. The drill is filled while the microphone is open, and kicks up once as the capture starts. A dot beside it means the press has latched, the tap of chapter 2.
So after key up, only the drill's battery stays filled, and the drill dims, while Whisper transcribes and the action runs. If that takes longer than 300 ms, the bit turns too: marks pass above and below it, one turn every 1.2 s. The delay keeps a short dictation from flickering. By the sum of its parts, the running example is done well within those 300 ms, so its bit never turns. An ask shows a sparkle beside the battery until the Ask panel closes, and the bit turns while the answer is written.
An utterance that fails shows a cross for a second, and the drill shakes left and right with it, the way the Mac's login window shakes at a wrong password. One that came to nothing, too short or silent, shows the cross without the shake. A cancel shows nothing, since you did it yourself.
Each animation lasts under half a second and ends on the state's own form, and only the turning repeats. With Reduce Motion on, nothing moves, and the form alone carries the state. The states differ by shape and opacity, never by color, so the icon stays a template image, a one-color image that macOS tints to match the menu bar.
The core and the shell
Hark is one Swift package, cut in three targets, the parts a package builds separately. HarkCore holds all the logic, 129 files (yeah...), and imports no UI framework, so everything that decides what happens to a sentence can be tested without a window on screen. HarkApp is the shell. Its 39 files of SwiftUI views and AppKit adapters render state and never compute it. The third, HarkObjC, is one function.
The split is enforced. scripts/check.sh runs before every commit. It fails the commit if the core imports SwiftUI or AppKit, if any folder but Transcription/ imports whisper.cpp, or if URLSession appears outside its two files. The screen and the speech model each have one door, and the network two.
Where the core touches the system, it defines a seam: a protocol, Swift's word for an interface, that the core owns and something else implements. The app plugs in AppKit adapters, and the tests plug in fakes. Most seams have a default that still ends a press in one log line.
Three dependencies, no more: whisper.cpp, pinned to its release b5130 as a prebuilt framework, KeyboardShortcuts for the keys, and Yams for the YAML file. HarkObjC exists because AVFoundation, Apple's audio and video framework, raises Objective-C exceptions, which Swift cannot catch. Its one function turns them into errors. Chapter 2 tells the crash that made it necessary.
Until 23 September, every quit crashed. exit() ran the destructors of ggml, whisper.cpp's math library, while GPU memory was still held. Hark now unloads the model first, and past 3 s leaves with _exit, which skips the destructors.
Keeping the HUD and the keys live
While you speak, the HUD moves 30 times a second and the keys answer at once. Four rules keep it so:
- Strict concurrency. Swift 6 checks shared state at compile time, and any warning fails the build.
- Private queues. Three things block: Whisper, the capture session and the Accessibility API (AX), the macOS interface to other apps' controls. Each gets its own serial queue, off the few threads Swift's tasks share.
- A lock for the HUD. The HUD reads the audio levels behind one small lock, never through an actor, so it cannot queue behind a microphone start.
- A cancel that reaches the decoder. Whisper checks a stop flag on its own thread. Each flag is numbered, so a cancel that arrives late cannot stop the next sentence. On this Mac, with Small, a cancel 300 ms into decoding the 72 s French clip of chapter 3 returned at 0.30 s, against 0.97 s for the whole decode in that run.
One line per utterance
Every row in Settings › Log is one line of JSON, one file a day, thirteen keys in a fixed order. It takes one open in append mode and one write(2), in a folder and a file only your account can read. A failed write goes to the system log, never back into the pipeline.
What a line keeps is decided in code: in a password field, both texts are written as null. An ask writes the instruction you spoke, never the selection or the answer. The last two of the 13 keys, llm_model and llm_ms, came with Ask Hark.
The running example, in the log's format, broken across lines for the page:
{"ts":"2026-09-29T11:05:12.408+02:00","duration_ms":5000,"transcribe_ms":540,
"raw_text":"The meeting moves to Thursday at ten, same room.",
"normalized_text":"the meeting moves to thursday at ten same room",
"resolution":"text_inserted","target_app":"com.apple.mail","action_type":null,
"exit_code":null,"error":null,"model_tier":"small","llm_model":null,"llm_ms":null}
The time and the 540 ms are sample values. In the Log tab, a dot beside each row names its ending.
No line, no utterance. Every press, kept or discarded, can be checked after the fact.
Chapter 2: Capture (key, microphone, HUD)
Chapter 1 gave every press one path. Its first state, capturing, starts with a key, not with a microphone.
Three things share the moment: the key that says what you want, the microphone that opens for it, and the HUD that shows you are heard.
Three keys, two gestures
Besides the dictation key, Hark has two: the cancel key, Control-Option-Escape (⌃⌥Esc), and the Ask key of chapter 6, Control-Option-A (⌃⌥A). All three can be rebound in Settings › General.
⌥⌘V, cancel ⌥⌘Q, the tap-or-hold rule, then Ask Hark ⌥⌘A. Defaults: ⌃⌥V, ⌃⌥Esc, ⌃⌥A. Yours to change.One key carries two gestures. Recording starts at key down either way. Release within 350 ms and the press latches: recording goes on with the key up, until the next tap. Hold longer and it is push-to-talk.
The keys are system-wide hot keys from Carbon, an older macOS API, through the KeyboardShortcuts package. Unlike an event tap, they need no Input Monitoring permission. The release marks the end of speech, with no voice detector. Always-on listening, which would need one, was set aside.
One detail from the first design. Hark was first planned around a hardware button. A two-euro Bluetooth camera shutter was for prototyping only: it sleeps and drops the first press. The pick was a three-key macro pad sending F13, F14 and F15, keys macOS binds to nothing. What shipped is a chord on the keyboard you already have. The button's only job was to emit one keystroke, so nothing after it had to change.
A window that never takes the keyboard
While you speak, the HUD at the bottom of the screen shows seven bars and a timer. The caret, the text cursor, stays where it was in Mail. By the project's own specification, this is the most important detail in the app.
Showing a window usually brings its app to the front, and early builds paid for it twice: the Settings window vanished at the first click elsewhere, and a welcome window swallowed the first dictations after each launch.
The HUD is a non-activating panel, a window that shows without bringing its app forward. It never becomes the key window, the one that takes typing, and it ignores the mouse. It is 280 by 64 points, sits 120 points above the Dock, and fades in over 120 ms, instantly under Reduce Motion. A tripwire, HUDFocusGuard, logs a fault if Hark ever becomes active while it shows.
The seven bars are the voice's spectrum, 100 Hz to 6 kHz. They rise at once and fall back over about a third of a second, so a syllable does not blink.
Everything at key down
Key down waits for nothing. The reducer from chapter 1 moves to capturing and emits its effects at once: start the capture, probe the focus, lower other audio.
On this Mac, the microphone's session starts in 76 to 88 ms, and the first buffer lands about 10 ms later. The probe asks Accessibility which app and field are in front. It answers in 0 to 2 ms warm, 22 to 37 ms on a fresh process's first read. Lowering other audio took 7.9 to 16.8 ms in the installed app, the top of the range on AirPods. That is too long for the main thread, so it runs on its own actor.
Why nothing is open between presses
You might expect a dictation app to keep its microphone warm. Hark opens nothing while idle.
Until 27 September, capture ran on AVAudioEngine, kept alive as long as the app. With AirPods as the input, it held them in headset mode while idle, and reconfigured itself 48 times in under a minute. Then another app changed the audio setup, and AVFoundation raised an Objective-C exception. Swift cannot catch one, so the process ended.
That crash is why HarkObjC, the one-function target from chapter 1, exists. The same exception now ends one utterance, with a log line, not the process.
The next fix created the engine at each press, and it still had one flaw: it opened the system default input even with another microphone chosen, so AirPods as the default switched to headset mode at every press. That took 2 to 5 s, and short dictations came back silent. Since 28 September, AVCaptureSession opens only the device it is given and delivers 16 kHz mono Float32. No resampler runs.
A headset now keeps its music.
Micro MacBook Pro, the built-in one under its French name. Below it, the promise that Hark opens it only while you dictate. Nothing between presses.Samples in memory, and two gates
The samples stay in memory. One minute, 960,000 samples or 3.84 MB, is reserved once and kept between presses. A 30-minute capture grows to 115 MB, then gives the growth back. Raw audio reaches the disk only in a debug build.
Two gates stand before the model, the early exits of chapter 1. A capture under 250 ms is too short. One whose loudest 20 ms stays under 0.01 in root mean square (RMS), a measure of loudness, holds no speech. Either way the model is never called.
Lowering other audio, and restoring it
By default, other audio drops to 30 percent while you speak. Bluetooth headsets broke that: they keep one volume per mode. Hark lowered AirPods to 30 percent of their volume in music mode. At key up it read the headset mode's volume, unchanged, took the mismatch for your own change, and left the music low.
Now Hark lowers nothing when a Bluetooth microphone is the input or the system default, and restores only a volume that still reads what it set. The lowered state is saved first, so a crash is undone at the next launch.
The fastest microphone would be one left open. Hark opens one per press instead, and pays at the start: the first samples arrive about 90 ms after the key goes down. Between presses, nothing listens.
Chapter 3: Transcription (whisper.cpp on Apple silicon)
The key comes up. Five seconds of speech are now 80,000 numbers in memory, the samples from chapter 2. This chapter is the amber box, where the Mac does the work a server usually does.
The question is not whether a Mac can run Whisper. It is whether a menu bar app can keep it loaded all day, answer in a tenth of a second, and cost little while it waits.
Why the model loads at launch
Hark loads the model at launch, and again when you choose a size in Settings › Model, never inside a sentence. It then runs one warm-up decode: 1.25 s of silence, one token long. That step compiles the GPU code the first press would otherwise compile. A press during warm-up waits behind it, on the serial queue from chapter 1.
Before the warm-up, the first press ever took 16,378 ms, the model loading and compiling inside the sentence. On Metal, a new build's first start still costs 12.4 to 13.0 s of compilation, now paid at launch.
The price is memory held all day. Hark can unload an idle model, but the option stays off, since a reload pays the warm-up again.
The price of staying ready
On 23 September, the installed app with Small and the live transcript off measured a 489 MB footprint, the memory macOS charges to the process, and a 579 MB peak, the Neural Engine state unrecorded, most likely on. On a 16 GB Mac, that is about 3 percent. Before a launch fix it peaked at 1.0 GB: the model had loaded twice.
The weights are what keep it small. On disk, Hark's three models are quantized: their weights are stored in 8 bits (q8_0), or 5 for Large v3 (q5_0), instead of 16. They take 264.5 MB for Small, 823.4 MB for Medium and 1,081.1 MB for Large v3. The 16-bit Large v3, 3.1 GB, was left out as too big to keep loaded in a menu bar app. With the Neural Engine switch on, described below, the Core ML encoders add 163.1 to 1,175.7 MB, hence the 427.5 MB shown for Small.
The live transcript costs more. Whisper does not stream, so the HUD's line is a fresh decode of the last 6 s, on a second copy of Small. In a test process with the Core ML encoder installed, that copy added 427 MB, about its weights plus its 163 MB encoder. It delayed the final decode by 5 ms typically, 18 ms at worst over 40 runs.
Two halves, two chips
After key up, two networks run in turn. The encoder reads the whole clip once, at a cost set by the window it is given. The decoder then writes the text token by token, at a cost that grows with the words.
whisper.cpp runs inside Hark: 3.9 MB of a 14 MB app. Both halves run on the GPU by default, through Metal. The encoder can instead run through Core ML, Apple's framework for compiled models. whisper.cpp lets Core ML pick the chip, and the Neural Engine is the one it is meant for. Which chip ran was not checked. The CPU only builds the mel spectrogram, the clip as frequencies over time.
That second path first failed in silence. whisper.cpp derives the encoder's file name from the weights, and the project had the rule backwards. For the first morning of real use, every decode ran on Metal alone, and only whisper.cpp's log said so. Hark now logs at every load whether the encoder is there.
What a short sentence costs
A short sentence should cost less than a long one. Whisper's encoder sees a fixed 30 s window, as 1,500 states, 50 per second. Left alone, a five-second sentence pays for all thirty. audio_ctx, the number of states a decode computes, tells it how much the clip fills.
Hark scales it to the clip: seconds × 50, plus 50, rounded up to a multiple of 256, between 256 and 1,500. The running example, 5 s, needs 300 states, rounded to 512: a third of the window.
The floor of 256 protects quality. Cut shorter, the encoder's output drifts from what the decoder was trained on. Decoding then starts to repeat itself, which is worse than a slow decode.
On this Mac, with Small, one 5.7 s sentence on Metal took a median 76 ms at 512 states, and 107 ms on the full window. That is 29 percent less. On a warm decode, the code calls it the single biggest latency lever.
Clips under about a second came back empty, so each is padded with silence to 1.25 s. The padding costs nothing, since the encoder is billed by audio_ctx, not by the clip.
The Neural Engine, measured
You might expect the Neural Engine to be the fast path. For dictation it is not. The published Core ML encoder is compiled for one shape, the full 1,500 states. Asked for 512, it returns an encoding the decoder cannot read, without an error. The 5.7 s sentence came back as "you", in 9 ms.
One clip, four paths, eight timed decodes each.
Core ML must compute the whole window, and lands at 83 ms: behind Metal at 512 states, ahead of Metal on the full window. Quick, but it cannot skip the silence.
The switch is off for a fresh install, and left on for one that already holds an encoder. On, it should draw less power, which has not been measured, for an extra download per model.
A note on the Neural Engine. The power saving is the reason the switch exists, and it has not been measured on this Mac. The switch also has a cost the Model tab does not show. Core ML keeps its compiled encoders in the app's cache folder: 1.9 GB once all three models had been loaded. Turning the switch off, or deleting all models, clears it.
The decode settings
Every decode uses the same settings, chosen for one short sentence:
- One candidate. The likeliest token at each step, at temperature 0, the setting that removes randomness, with no fallback. A retry pass would double the worst case.
- No memory of the last sentence. Past text would leak the previous command into this one. One segment, no timestamps.
- A language, detected or fixed. Detection costs an extra pass. In the first real use, one take of a one-word French answer came back as an English word, in 422 ms of the log's whole engine call. Another, fixed to French, took 55 ms and was right: one reading each. On a bench of short synthesized requests, a fixed language cut the English median from 75 to 51 ms, over 158 and 150 decodes, encoder setting unrecorded. The default stays automatic, for people who dictate in both languages, with one language per utterance.
- Vocabulary, for the words it gets wrong. Terms go into the prompt, capped at 800 characters, and Whisper reads 224 prompt tokens at most. On 30 synthesized sentences, with the Neural Engine on, a list labelled "Terms:" raised "Hark" from 28 to 36 right out of 48. It cut a name the model already wrote right from 36 of 42 to 25. A prompt helps a word the model has not learned, and hurts one it already writes.
Chapter 4 shows why the product's own name is not left to the vocabulary.
Silence, and thirty minutes of speech
Press the dictation key by accident, and a click or a breath is enough to carry the capture past the gates of chapter 2. Whisper then writes something. Trained on subtitled video, it hallucinates on near-silence: it writes text for audio that holds none. Fed two seconds of digital silence directly, Small writes "you". Its no_speech_prob, Whisper's own estimate that the window holds no speech, reads 0.00000032. The first filter trusted that number, and never fired on the silence it was written for.
Every decode now faces six checks.
A loop counts at four copies of one word, three of a two- or three-word run, and two of a whole clause. "Très très bien" stays speech, since people repeat themselves for emphasis. A weak filler is dropped only on quiet audio, a mean RMS under 0.01, or when no_speech_prob reaches 0.6. The lists are bilingual: 32 silence phrases, 12 credits, 36 fillers. A spoken "oui" survives.
Long speech failed the other way. One call over 72 s of synthesized French returned its first 30 s and two stray words. Clips over 30 s are now cut at the first pause of 2 s or more. Without one, the cut falls at the quietest 20 ms of the last 5 s.
Cut this way, the same 72 s came back whole: in 1.8 s on Small when first measured, 0.97 s in a later run. By the project's estimate, with the Neural Engine on, thirty minutes of speech waits about 35 s.
The fastest model is the one already in memory, computing only the seconds you spoke.
Chapter 4: The decision (text, command or ask)
Chapter 3 ends with a transcript, text in memory and nothing more. This chapter decides what it is for.
Say a sentence and it is typed. Say "Open Safari." and Safari opens. Say "Hark," first and you are asking. One key does all three, so every rule here must catch what you meant and leave the rest alone.
Text unless proven otherwise
In the running example, the sentence is typed into the Mail draft. Nothing opens, nothing is asked: the common case.
Two checks run, in order. First the name, "Hark": a transcript that starts with it goes to the assistant, Ask Hark with nothing selected, unless a command follows at once. Then the command: a sentence made of an opening verb and an app, with nothing after the app, opens that app. Anything else is text.
A password field changes two things. The name is never looked for there. Its text goes to the clipboard, concealed, with raw_text and normalized_text written as null. A command still runs, and its line still hides the words.
The column is the teal Resolve step, opened up.
Both checks compare a normalized form: lowercase, accents dropped, "œ" spelled "oe", Whisper's annotations removed, punctuation turned into spaces. "Ouvre le Finder." becomes ouvre le finder. The same string fills normalized_text, so a log line shows what the rules saw.
A code review found one ordering problem. A transcript that beat the focus probe from chapter 2 was resolved with no focus. A password field's text then reached the log and an unconcealed clipboard. The reducer from chapter 1 now waits in resolving until the focus is known. Each message to AX gives up after 0.25 s, so the wait is bounded.
A grammar, not a guess
"Ouvre le Finder.", open the Finder, opens Finder. "Finder is slow today." is typed. Both name the same app, and only one is a command.
Whisper misspells app names, so the match has to be approximate. On a whole sentence, approximate matching fires on ordinary speech. The rule first specified was measured before any code relied on it. Jaro-Winkler, a string similarity from 0 to 1 that rewards a common start, scored "Finder is slow today." 0.86 against the alias "finder", and "New note for the meeting." 0.867. Both cleared the 0.85 threshold and would have run. "Please open Finder." scored 0.734 and stayed text.
The rule that shipped is a small grammar: an opening verb, skipped words, then an app, then nothing. Verbs and skipped words must be said as written. Only the app name is approximate, compared word by word at 0.85. "Ouvre le Fynder." opens Finder at 0.900. "Ouvre le fichier.", open the file, scores 0.797 and stays text.
The last clause came from a live check on 24 September. "Ouvre le Finder pour demain.", open the Finder for tomorrow, opened Finder. The app must now end the sentence. A polite ending such as "please" may follow it, on main, not yet released.
Each trap found since became a fix. "Notre" scores 0.953 against "note", so determiners became skipped words. Chatty verbs such as "montre", show, left the verb list after "Montre-moi tes notes", show me your notes, opened Notes. The verbs gained their familiar and formal forms, because Whisper hears "affiches-moi" and "ouvrez", then their plural ones, after it heard "Affiche-moi" as "Affichons à".
The specification accepts one cost: a dictation that starts with "ouvre" and an app is a command. That keeps everything else text.
A command does one thing today, open an app. Hark looks for it in six folders and gives it 15 s to come to the front. A miss is named in the log, as app_not_found, app_not_activated, action_timeout and others. Chapter 7 makes every list here yours, and tells why a model does not make this call.
The name the model cannot spell
The detail from the start of this document is a design problem. "Hark, …" has to reach the assistant, and the word is not in Whisper's vocabulary.
A bench measured it before any rule: 300 synthesized requests, 1,216 decodes on the Small model. English voices saying "Hark, …" came back as "Hark" 45 times in 100. French voices, once in 100, and as "arc" 27 times. "Hey Hark" in French: 0 of 50. In a live check, a French accent turned "Hark" into "Arc" even in an English sentence.
A fuzzy rule fails both ways. Against "hark", "arc" scores 0.72 and is missed, while "hard" (0.88) and "ark" (0.92) pass. Against "arc", "marc" and "parc" score 0.92. The vocabulary prompt from chapter 3 did not rescue it. When the prompt failed, Whisper mostly left the word out, and a missing prefix cannot be matched at all.
So the name is a list, matched exactly after normalization. A greeting may come before the name, but a greeting alone does nothing. The name must end where a word ends, so "Arc-en-ciel", rainbow, and "Hark's" stay dictation. No comma is required: of the 28 French requests where Whisper wrote the name at all, 18 had no comma after it. This is the block 0.0.4 ships:
assistant:
prefix: [hark, arc, ark]
greetings: [hey, hello, salut]
"arke" joins the list on main, not yet released, after a live check. A sentence that really starts with "Arc" goes to the assistant, and that cost is accepted.
Text is the default. A command has to prove itself.
Chapter 5: Delivery
The running example is text now. It has to land at the caret, in an app Hark does not control.
macOS offers no general way to type into another app's field and know it worked. This chapter is the coral step, the one that delivers and checks.
Three ways in, tried in order
The sentence appears at the caret in the Mail draft. Half a second later, your clipboard is as you left it. Three routes stand behind that, and the focus read at key down picks the first:
- Accessibility. Hark sets the field's selected text through AX, then reads the field back. An exact new character count, or the caret exactly past the text, confirms it. Any other change rules out a second try, since a field that rewrote "..." as "…" did take the text. Only a field where nothing moved gets a paste. Safari's web text areas are one: they accept the set and ignore it.
- Paste. The text goes on the clipboard and Hark posts Command-V, for fields that Accessibility cannot set, or whose answers cannot be trusted.
- Clipboard. The text stays there for you to paste, with a reason in the log: no field, a password field, or a paste nobody read.
A set that timed out is the opposite risk, since the app may still apply it. That text goes to the clipboard as insertion_timeout, never typed twice.
Some apps always get a paste: terminals, Chromium browsers, Firefox, JetBrains IDEs, Electron apps such as Slack and VS Code, and any app that embeds Chromium.
In Chromium and Electron apps, an unknown focus most likely means a web field, because their Accessibility tree is off. In a native app it means nothing has focus, and a paste would land nowhere, so the text goes to the clipboard. Chapter 7 shows how to override the choice for any app.
The running example carries a late discovery. Mail's draft body is a web area that answers no selected text. Until 0.0.4, Hark counted it as no field, and every dictation into a Mail draft went to the clipboard as no_text_field. Now a web area whose value can be set counts as a field, and gets a paste.
One guard runs last, right before the text is sent. If the app in front changed since key down, the text goes to the clipboard as focus_changed. The route itself is a menu in Settings:
The paste that counts only when it is read
You copied a link before you spoke. After the sentence lands in Mail, the link is back on the clipboard. Keeping that promise took a second design.
No API tells an app when another app has consumed a paste. The first version restored the clipboard on a timer. A code review found the flaw: a slow app could paste your old contents, the text was lost, and the log still said text_inserted.
Hark now keeps a copy of your clipboard. It writes the text as a pasteboard promise, clipboard data supplied only when an app reads it. A transient marker makes clipboard managers skip it. Then Hark posts Command-V. The paste counts only when an app reads the promise, which it does as it handles Command-V, in milliseconds. Your contents come back 500 ms after that read, and only if the clipboard still holds Hark's write. Anything newer is yours to keep.
Hark treats no read within 1 s as no read at all. The line says paste_not_consumed, and the text stays on the clipboard instead of your old contents. The restore waits while the pipeline is already idle, so it costs the next sentence nothing.
Command-V depends on the keyboard. Hark posts it with the key code that the current layout gives V. The risk is real: during testing, a test script's Command-A, built from the US key code for A, pressed Command-Q under AZERTY and quit TextEdit. Local keyboard events are held back while the keys are posted, so a key you still hold does not mix in.
Small courtesies
The rest is detail, and each detail came from a failure:
- Spacing. Two dictations in a row once gave "Hello there.Next sentence." Hark now reads the characters before the caret and adds a space after a letter, a digit or closing punctuation. A Mail draft does not say, so there the text goes in as Whisper wrote it.
- No accidental Return. Trailing line breaks are removed before the text is sent. They would send a chat message or run a terminal line.
- Nothing silent. When text goes to the clipboard, a notification shows its first 40 characters, with sound, silent, or off. For a password field it says the text is hidden.
Two exits, never ambiguous: the field, or the clipboard with a reason. Unless you turn the fallback off, nothing you said is lost.
Chapter 6: Ask Hark
Chapters 2 to 5 never wait on a language model. That rule came before Ask Hark existed, and Ask Hark keeps it: the model runs outside the process.
An ask is one gesture: select text, say what you want done with it, then choose what to keep. A companion example runs through this chapter, in Notes. Select a short paragraph about a meeting, press the Ask key, say "Turn it into a bulleted list.", and press Return.
Three ways to ask
An ask starts in one of three places:
- Services › Ask Hark. On text selected in any app, since 0.0.3.
- The Ask key. Since 0.0.4. On a selection, it asks about that text, with Replace. With nothing selected, it opens Ask Hark as an assistant, with Insert or Copy.
- The name. "Hark," at the start of a sentence on the dictation key, decided in chapter 4.
Services came first. Offered by macOS on selected text in every app, it is the only public route into another app's text menu, and AppKit draws the item itself.
The Ask key reads the selection before the microphone opens. Accessibility answers first, in 0 to 2 ms on this Mac. Where it returns nothing, in web page text, Mail, Chromium and Electron apps, Hark sends Command-C, waits up to 250 ms, then puts your clipboard back. That copy has a cost: in a Chromium-based app with nothing selected, the microphone opened 278 ms after the press, not yet fixed. Never in a password field. Never in editors whose Command-C copies the whole line, such as VS Code, where a question would become an ask about a line of code.
With the Ask key or Services, the words are an instruction from the press, never matched as a command or typed at the caret. The HUD stays hidden, and the Ask panel shows the listening state instead.
A model next door
Whisper lives inside Hark. The language model does not. It runs in a separate server that speaks the OpenAI-compatible chat API, on this Mac by default, at 127.0.0.1:8000/v1. Hark never starts or stops it, and its memory is not Hark's. That boundary is the memory decision behind Ask: the largest thing an ask needs lives in a process you start, size and stop. On this Mac, the server runs a 27-billion-parameter model on port 8002.
While you speak, GET /models checks the server, in about 5 ms on this Mac. A closed port refuses in 0.1 ms, so a stopped server says so before your instruction is spent. Then one streaming request goes out. A hand-written parser reads the reply as server-sent events (SSE), text lines over one HTTP response. Each update carries the whole text so far. Only the newest is kept, so a slow screen drops frames instead of queueing them.
Cancel closes the connection, which makes the server stop writing. After a cancel, the next ask's first word came in 799 to 832 ms, against 806 ms on an idle server, so nothing kept running.
The rules are flat. Plain http goes only to this Mac, https anywhere else, and no redirect is followed. The key comes from the login Keychain on each request. It is never in commands.yaml or the log. Timeouts: 2 s to connect, 15 s of silence before the first word, 60 s in all. A server off this Mac is possible, and the Ask panel then names its host.
http://127.0.0.1:8002/v1, on this Mac, not the default port 8000. The API key, Saved, in the login Keychain and never shown again. The server next door.Waiting, then writing
After Return, the Ask panel says Thinking…, then the answer arrives line by line. The first word, the time to first token (TTFT), waits on the server reading the prompt. The rest arrives at the rate the model writes.
127.0.0.1:8002. Below, the answer arrives, its last line cut short. Two latencies, two states.The numbers come from this Mac and its 27-billion-parameter model, 10 asks run 3 times each, with thinking, the model's reasoning pass, off. The server's first chunk came back in a median 1.8 ms. The first word took 0.7 to 1.0 s for a typical ask, 837 ms as the median of all 30 runs.
The model then wrote 25 to 36 tokens a second, and the median ask took 3.59 s in all. The prompt is read at 263 to 355 tokens a second, so a 3,000-token selection waits about 8 to 11 s before its first word.
The gap between the first chunk and the first word is why Thinking… is a state of its own. For scale, a 5.7 s sentence needs about 100 to 110 ms after key up, a sum of parts never measured end to end.
Two defaults come from the same measurements. Thinking stays off: left on, the first word came at 7.4 s instead of 0.9 s. The temperature is 0.3. At the server's default of 1.0, one politer rewrite invented a request the text never made.
Nothing changes until you choose
The answer ends complete and editable. Cancel, Copy, or Replace with Command-Return. Until then, nothing in Notes has changed.
⌘↩, the only button that touches Notes. Nothing changes until you choose.Replace is guarded. Hark brings the caller back and waits up to 600 ms for its focus to settle, since Safari briefly reports none. It reads the selection again and compares words, not white space, which each route reports differently. If the app or the selection changed, the answer goes to the clipboard as selection_changed. Otherwise it goes in as a dictation would, through the same inserter and fallbacks as chapter 5.
The prompts are rules, fixed in code, and the selection is data, never instructions. The answer keeps its language, its tone, and its tu or vous, and adds or removes nothing unless asked. The assistant says in one sentence when a request needs mail, a calendar, files or the web.
In the Mail draft from the start of this document, with nothing selected, press the Ask key and say "Write an email to decline Thursday's meeting." A text field had focus, so Insert is offered. Without one, only Copy.
A stopped server is one sentence in the Ask panel, with Retry, and Copy Instruction keeps the spoken words.
127.0.0.1:8002, and what to do. Then Cancel, Copy Instruction, or Retry. Dictation never waits on this panel.The model can be slow, wrong or stopped. None of that reaches dictation.
One more detail. The model server on this Mac keeps its own log, and its preview of each request holds the first 23 characters of the message. Hark opens every request with a fixed line longer than that, so the preview never holds a word you said. Hark's own log keeps the spoken instruction, the model's name and its time. It never keeps the selection or the answer.
Chapter 7: commands.yaml
Every chapter so far named a default: a key, a model, a verb list, a server. Here each becomes yours.
Each change has a cost. The same key types your words, runs your commands and reaches Ask Hark, so every new option is also a new way to misfire. Three habits keep that in check: a strict grammar where fuzzy matching would catch ordinary speech, a measurement before each rule, and a gesture wherever a guess would be wrong often enough to hurt.
Where your changes live
You shape Hark in three places. Gestures say what you want before you speak: three keys, each rebindable, and a tap or a hold. One readable file, commands.yaml, holds your rules: verbs, apps and their nicknames, per-app typing rules, the assistant's name, model servers. A few switches in Settings cover the rest.
Behind them sit three stores: the file for rules, the app's defaults for the switches and key chords, one entry each, and the Keychain for API keys alone. For commands and the Ask server, Settings edits the file and does not own the state.
One file, the source of truth
Open commands.yaml in any editor, change a line, save. The next sentence uses it. Hark watches the file and its folder, so an editor that saves by renaming a new file into place is still seen. Changes settle for 100 ms, and a save that changes nothing is ignored.
A file edited by hand will hold a typo one day. It never breaks Hark. The parser is strict: no YAML anchors, which let a small file expand without bound, yes read as text rather than as true, no unknown keys, 256 KiB at most. An error names the line and the column, and for a misspelled key, the one you probably meant. The last good version stays in force, and the menu bar icon shows the error.
A cold start with a broken file uses the last good copy. With none, Hark runs with no commands, never the bundled defaults, which could bring back a command you deleted. Settings cannot overwrite a hand edit either. Each write names the version it was based on, and is refused if the file moved meanwhile.
The Commands tab is the same file, shown as a table.
note, calendrier, musique), then opening verbs, skipped words, polite endings. The endings and app, appli, application are on main, not yet released. Chapter 4's grammar, as a table.The tab shows the verb and word lists but does not edit them. They, and the rest, are edited in the file, as in this excerpt:
version: 3
defaults:
threshold: 0.85
apps:
com.sublimetext.4: { insert: paste }
# on main, not yet released
endings:
en: [please]
fr: ["s'il te plaît", "s'il vous plaît"]
The apps: line sends one editor to paste. Upgrades respect your edits too: only a default file nobody touched, recognized by its hash, is replaced at launch, and a fix on main extends this to the files of 0.0.3 and 0.0.4.
What each option costs
Earlier chapters measured these costs. Vocabulary helps a word the model has not learned and hurts one it already writes, as chapter 3 showed. Each spelling added to the assistant's name is a word that can no longer start a dictation, as chapter 4 showed. The apps: list overrides chapter 5's built-in routes both ways: to a paste, to Accessibility, or to the clipboard. Someone who will not grant Accessibility can choose Clipboard only, and the missing grant becomes a warning, not an error.
What stays fixed, on purpose
Some freedoms were weighed and turned down:
- The prompts. They live in the code, out of the file's reach, so their rules hold for everyone.
- Commands open apps. Nothing else, since 23 September 2026. URL, Shortcuts, shell and AppleScript actions are set aside.
- Every installed app as a command. Declined on 23 September. Hark opens the apps
commands.yamlnames. - A catalog of writing tools. Replaced on 28 September by one entry. The spoken instruction is the tool.
Why a model does not decide
The idea was one key for everything, with a model on the Mac deciding whether a sentence is text, a command or a request. It was probed on 29 September 2026 on this Mac: a small on-device classifier, through Core ML.
Speed was never the problem. It answered in milliseconds, and it was right on most of a set of test sentences, half English and half French.
The replay changed the plan. Over 128 logged dictations into text fields, from two days on this Mac, it would have sent 28 away from typing with a confidence of 0.7 or more, 22 percent. The labels came from what happened, so they are approximate. From the words alone, the same sentence is dictation in one app and a task in another.
The design was set aside the same day. Routing stays an open question, to be rethought from a signal other than the words. A language model in front of every sentence had already been refused, for the 0.3 to 0.6 s it would add to each. Today the gestures route.
Fast is not the same as right. Like the drill from the start of this document, Hark does the job you picked it up for, never one it guessed.
Appendix A: Methodology and measurements
Main tool: one Swift package, in Swift 6 language mode, with strict concurrency and warnings as errors. scripts/bundle.sh builds and signs the app, runs its self-test, and with --install installs it.
- The rig. One MacBook Pro, Apple M5 Pro, 64 GB, on macOS 27.0 for the transcription measurements of 21 September, 27.2 from 24 September. Small
q8_0unless stated, the Neural Engine on or off as each number says. No other chip was measured. - The clocks. Whisper's own clock for a decode.
transcribe_msfor the whole engine call, queue waits included. The physical footprint for memory, the figure Activity Monitor shows. - The speech. Synthesized with
say, in several voices, so runs repeat. Synthesized speech is not a real voice, and the records say so. - Not measured. Key up to text, end to end. Medium and Large v3, in memory or in time. The Neural Engine's power draw. The whole app with the live transcript on.
- Reproduce. Transcription benchmarks run only with
HARK_TEST_MODELandHARK_TEST_BENCHset, the name bench withHARK_TEST_PREFIX_BENCH. The model-server and classifier measurements are in the project's records, not the repository.Hark --self-testchecks the signed app at every build, Whisper with Metal included, and ends one synthetic press in one 13-key line. - Tests. 800 in 122 suites at build 69, written as plain tables, with no network, no microphone and no real Accessibility.
- Signing. Releases are signed ad hoc, so macOS treats each update as a new app. The README says how to allow Accessibility again.
Appendix B: The problems, by date
Between 21 and 29 September, fifteen problems shaped Hark. Here they are in the order they were met:
- 21 September. A filter that never fired. Silence came back as "you". The clip's level now decides. Chapter 3.
- 21 September. A first press of 16 seconds. A cold first decode, now paid at launch. Chapter 3.
- 21 September. The encoder that never loaded. A file name derived backwards. Every load now logs whether the encoder is there. Chapter 3.
- 21 September. A 5.7 s sentence read as "you". Core ML's fixed shape. Metal by default. Chapter 3.
- 22 September. A transcript faster than the focus. A password field's text reached the log.
resolvingnow waits. Chapter 4. - 22 September. A paste on a timer. Lost text, logged as inserted. A paste counts once read. Chapter 5.
- 23 September. Sentences read as commands. Fuzzy matching rewards a common start. A verb-first grammar. Chapter 4.
- 23 September. Every quit a crash. ggml's destructors met live GPU memory. Unload first, then
_exit. Chapter 1. - 24 September. Seventy-two seconds in one pass. Whisper's 30 s window. Long clips cut at pauses. Chapter 3.
- 27 September. The exception Swift cannot catch. An audio change under the engine. HarkObjC, then a capture session per press. Chapter 2.
- 28 September. AirPods left low. Two volumes per headset. No lowering over Bluetooth. Chapter 2.
- 28 September. The name Whisper cannot spell. Fuzzy matching failed both ways. An exact list. Chapter 4.
- 28 September. The Mail draft on the clipboard. No selection in the draft. A paste since 0.0.4. Chapter 5.
- 29 September. Editors that copy a line. Command-C copied the whole line. No Command-C there. Chapter 6.
- 29 September. Routing from the words alone. Fast, but 22 percent of dictations into text fields sent away from typing. Set aside. Chapter 7.
Appendix C: The project's diagrams
These diagrams come from the project's documentation and open full size from their link. The first two and the last are older than the figures above; their captions give their date and what has changed since. The five in between are redrawn from the code of Hark 0.0.4.
Glossary
- whisper.cpp. C and C++ implementation of OpenAI's Whisper speech model, run inside Hark.
- Utterance. One press of a key, from key down to its log line.
- HUD (heads-up display). The small recording window that never takes the keyboard.
- Neural Engine. The part of Apple silicon built for machine learning.
- Metal. Apple's GPU interface, which runs both halves of Whisper by default.
- Quantization (
q8_0,q5_0). Weights stored in 8 or 5 bits instead of 16. - Token. The unit a model reads and writes, a word or part of one.
- Encoder / decoder. Whisper's two halves: audio read once, then text written token by token.
- Reducer. Pure function from a state and an event to the next state and its effects.
- Actor. A Swift type that handles one message at a time.
- RMS (root mean square). A measure of loudness, used by the gate for silent clips.
- Seam. A protocol the core owns, implemented by the app or a test fake.
- Accessibility API (AX). The macOS interface to other apps' interface elements.
- Latch. A tap under 350 ms that keeps recording until the next tap.
- Non-activating panel. A window that shows without bringing its app forward.
- Core ML. Apple's framework for compiled models on the CPU, GPU or Neural Engine.
audio_ctx. How many of the encoder's 1,500 window states a decode computes.- Temperature. How much randomness a model allows in picking the next token.
- Hallucination. Text a speech model writes for audio that holds no speech.
no_speech_prob. Whisper's own estimate that a window holds no speech.- Footprint. The memory macOS charges to a process, as Activity Monitor shows.
- Jaro-Winkler. String similarity from 0 to 1 that rewards a common start.
- Assistant. Ask Hark with nothing selected, reached by the Ask key or by starting a sentence with the name.
- Pasteboard promise. Clipboard data supplied only when another app reads it.
- SSE (server-sent events). A stream of text events over one open HTTP response.
- TTFT (time to first token). The wait before a language model writes its first word.
References
- isitanth/hark: repository, changelog and releases
- ggml-org/whisper.cpp: repository
- Hugging Face: whisper.cpp models
- arXiv: the Whisper paper
- Apple Developer: Core ML
- Apple Developer: Metal
- Apple Developer: AVCaptureSession
- Apple Developer: NSPanel
- Apple Developer: AXUIElement
- Apple Developer: pasteboard promises
- Apple Developer: Keychain services
- Apple Developer Archive: Services
- Apple Human Interface Guidelines: the menu bar
- Apple Human Interface Guidelines: settings
- Apple Human Interface Guidelines: privacy
- Apple Machine Learning Research: Hey Siri
- Apple Machine Learning Research: Transformers on the Neural Engine
- Apple Machine Learning Research: Llama with Core ML
- Apple Machine Learning Research: LLMs with MLX on M5
- The Swift Programming Language: concurrency
- sindresorhus/KeyboardShortcuts: repository
- jpsim/Yams: repository
- WHATWG: server-sent events
- Wikipedia: Jaro-Winkler distance