{
  "id": 21503555,
  "title": "homie: a local voice agent for macOS, 0.43s commands from a 4B model",
  "url": "https://urgent.news/2026/11/23/homie-a-local-voice-agent-for-macos-0-43s-commands-from-a-4b-model",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-23T23:41:15.000Z",
  "source": {
    "name": "Lobsters",
    "slug": "lobsters",
    "url": "https://homie-mac.vercel.app/fast"
  },
  "original_language": "en",
  "account": "Homie is a voice assistant that operates within the MacBook notch. Users activate it by pressing fn and talking. It can perform various tasks such as setting timers, playing music, reading calendars, pointing to objects on the screen, and responding to inquiries. All these functions run on the Mac itself. The assistant leverages Qwen 3.5 4B through llama.cpp on Metal for its reasoning capabilities, Kokoro-82M on the Neural Engine for speech processing, and Apple's on-device recognizer for speech.\n\nDespite working seamlessly, Homie's major challenge lay in achieving a swift user experience. The 4B model generates approximately 15-30 tokens per second on an M5 with 16 GB RAM, with fluctuations of up to 2x due to memory pressure. A command to ask the model for a timer can take 2-5 seconds, which is unacceptable for most users. To address this, Homie employs two key strategies: minimizing communication with the model and avoiding re-reading previously processed data. Around 600 lines of predefined patterns identify common phrases like timers, adjusting screen settings, launching applications, playing music, and retrieving calendar events. These patterns trigger tool calls almost instantly, within a single millisecond. A comprehensive suite of tests ensures that Homie does not misinterpret user intentions, achieving 87% accuracy initially and 214/214 correct responses currently, with zero false positives.\n\nWhen Homie encounters phrases it doesn't recognize, it delegates these requests to the model for processing. The system prompt, comprising tool definitions, is approximately 3,700 tokens long. However, reading this prompt for each query incurs significant delays, ranging from 7 to 19 seconds on the hardware used. To mitigate this, Homie leverages llama.cpp's ability to persist the model's state after each user command, saving memory and processing time. Instead of re-reading the entire prompt (3,700 tokens), Homie now only passes 45 new tokens per question, significantly reducing the load.\n\nHomie's launch time has been drastically reduced from 5-10 seconds to an impressive 0.12 seconds. This improvement was achieved by optimizing disk cache management. Initially, cache misses occurred due to inconsistent serialization of tool JSON data, which had differing byte sequences across different launches. Sorting the keys in the tool JSON resolved this issue, ensuring prompt consistency and eliminating cache miss delays. Homie also maintains a stable tool list throughout its operation. This stability prevents frequent invalidations of the cache, which would otherwise cause delays of 4-17 seconds. Homie determines when a user has ceased speaking by waiting for 0.35 seconds after a complete command, 0.6 seconds for general utterances, and 1.2 seconds for trailing \"and…\" statements. This approach enables Homie to start responding promptly even while the user continues speaking, minimizing the perceived wait time.\n\nHomie's voice synthesizes responses in segments, cutting off the first segment at a natural pause to provide immediate feedback while the model continues generating the complete response. This technique reduces the time to the first audible response from 1.49 seconds to 0.88 seconds. However, Homie operates within the constraints of a 4B model, which struggles with tasks requiring precise spatial information, such as drawing freehand circles. Instead, Homie describes actions to the user, like \"circle the Send button,\" resulting in a quick and accurate response. The system includes safeguards against the model's occasional misbehavior, such as ensuring that tool calls only proceed if the user's input matches expected keywords. This prevents inappropriate actions, such as trying to play a song using the \"tell me a joke\" command. Additionally, Homie avoids disclosing leaked tool-call text within its responses, redirecting any such inadvertent leaks. These measures collectively ensure Homie provides reliable and efficient assistance without generating embarrassing or incorrect outputs.\n\nHomie requires an Apple silicon Mac running macOS 26 or later. The assistant's code, benchmarking tools, and experiment logs are publicly available on GitHub, along with a signed build for easy installation. Users are encouraged to run the bash Tests/local_eval/bench.sh script to assess Homie's performance on their specific hardware.",
  "summary": null,
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}