Skip to content

macOS

Utter runs natively on macOS alongside Linux. A small platform switch selects native Apple frameworks instead of the Wayland tooling, so push-to-talk, speech, typing and window actions all work on a Mac. Release bundles are built for both Apple Silicon (aarch64) and Intel (x86_64); the settings app is code-signed and notarised when Apple Developer credentials are configured.

ConcernmacOS backend
Push-to-talkQuartz CGEventTap (PyObjC), pynput fallback
Speech-to-textApple Speech.framework on-device with pause chunking (> 50s), then local whisper.cpp fallback
Spoken repliessay or AVSpeechSynthesizer
Decision router / plannerllama.cpp llama-server + GGUF (http://127.0.0.1:8001/v1, qwen3-4b, Metal); Ollama / LM Studio optional
Vision / Groundingtransformers (scripts/serve_vision_transformers.py, http://127.0.0.1:8000/v1, uitars, Metal/MPS); Ollama VLM optional
Typing and key chordsQuartz CGEventPost, AppleScript fallback
Focused app and windowNSWorkspace + Accessibility kAXRaiseAction for per-window raise
Screenshots, clipboard, soundsscreencapture, pbpaste, afplay
Background servicelaunchd user agents (com.utter.assistant, com.utter.runner)
HomebrewFormula/utter.rb (CLI + service) and Casks/utter.rb (app)

On Linux, Utter runs background services assuming NVIDIA GPUs and CUDA. Macs have Apple Silicon with Metal and unified memory. The planner runs on llama.cpp and vision on transformers, both natively, with Ollama and LM Studio available as drop-in alternatives:

  • Planner / Decision Router: llama.cpp (llama-server) over a Qwen3-4B-Instruct-2507 GGUF on http://127.0.0.1:8001/v1 (served name qwen3-4b), with Metal acceleration. Ollama (:11434) and LM Studio (:1234) remain supported drop-ins.
  • Vision / Screen Grounding: scripts/serve_vision_transformers.py serving UI-TARS on http://127.0.0.1:8000/v1 (uitars). Ollama hosting a multimodal model (e.g. llama3.2-vision:11b) is an alternative.
  • STT: Apple Speech.framework (zero-model, on-device) or whisper.cpp (Metal, mandatory model).
  • TTS: macOS say.

python -m assistant inference install downloads the unsloth/Qwen3-4B-Instruct-2507-GGUF Q4_K_M checkpoint and a pinned llama-server build (models/llama.cpp/build.json), then serves it:

Terminal window
scripts/serve_planner_llamacpp.sh
# under the hood:
# llama-server --model <gguf> --alias qwen3-4b --host 127.0.0.1 --port 8001 \
# -c 4096 -ngl auto -fa auto --jinja --reasoning off -np 1 --no-webui

--reasoning off is mandatory — Qwen3-4B-Instruct-2507 is often misdetected as a thinking model and would otherwise emit reasoning tokens. -ngl auto offloads what it can to Metal and falls back to CPU; --alias qwen3-4b is the served name [router] llm_model expects; --jinja applies the model’s chat template. Overrides: UTTER_PLANNER_PORT, UTTER_PLANNER_SERVED_NAME, UTTER_PLANNER_MODEL_PATH, UTTER_PLANNER_CTX, UTTER_LLAMACPP_NGL, UTTER_LLAMACPP_SERVER, UTTER_LLAMACPP_DIR, UTTER_LLAMACPP_TAG.

Optional: installing Ollama & pulling models

Section titled “Optional: installing Ollama & pulling models”

Ollama is not required for the planner/vision lane, but remains a supported provider:

Terminal window
brew install ollama
brew services start ollama
# Pull recommended router and vision models
ollama pull qwen2.5:3b
ollama pull llama3.2-vision:11b

Utter probes the local runtime before requests and reports status in utter doctor and utter capabilities. If Ollama is stopped or a model is missing, Utter returns a clean, structured status rather than hanging or crashing.

Why not Voca? VocaHQ’s macOS app is VocaMac: a compiled Swift menu-bar app with no socket or API for live transcripts, so it cannot be driven from Python. Utter is standalone and therefore uses Apple’s own speech recognition with a whisper.cpp fallback. If you prefer VocaMac’s models, stt_backend = "vocamac" drives its file-transcription CLI.

  1. Download utter-gui_<ver>_aarch64.dmg (Apple Silicon) or utter-gui_<ver>_x86_64.dmg (Intel) from the release page and drag utter to Applications. First launch: clear Gatekeeper once via xattr -cr /Applications/utter.app (or right-click → Open on macOS < 15).
  2. Open it. A mandatory first-run onboarding wizard (language, permissions, keys, apps, model) runs before the settings shell. The Settings tab unpacks the Python runtime and the assistant that ship inside the app into ~/Library/Application Support/utter/, starts the two launchd agents and shows the permissions. No Homebrew, no Python, no terminal.

Updates work the same way: drop in the new app and Settings offers Update.

The recommended path is the official tap:

Terminal window
brew tap sujaisubbanna/utter
brew install utter # CLI + launchd service
brew services start utter # start the background daemon
brew install --cask utter # GUI app

To track the latest main instead of the tagged release, build from a checkout: brew install --build-from-source Formula/utter.rb and brew install --cask Casks/utter.rb.

Developers can run from a checkout instead: macos/setup.sh creates .venv-macos, installs the [macos] extras and the launchd agents.

First run: the onboarding wizard and Settings

Section titled “First run: the onboarding wizard and Settings”

On a Mac the settings app runs a mandatory first-run onboarding wizard before the settings shell appears. It walks through your language, the required permissions, your push-to-talk keys, which apps Utter may act on, and a first model. Every step can be skipped, progress is remembered across launches, and you can re-run the wizard later from Settings.

The Settings tab itself lists each permission with a one-line reason, a Grant access button that triggers the macOS prompt, an Open System Settings button that jumps to the exact pane, and a status badge that re-checks live until everything is granted. The two launchd agents (plugin runner and voice assistant) are shown underneath with a Start button.

The prompts come from the assistant’s own Python, not from the app window, because macOS grants permissions to the process that asks. That is the name you will see in System Settings. The same check works from a terminal:

Terminal window
.venv-macos/bin/python -m assistant macos-permissions --request all

The rest of the app adapts too: Voice edits the [macos] keys and engines, Spoken replies offers the system voices, General controls the launchd agents, and Troubleshooting tails ~/Library/Logs/utter/.

[macos]
stt_backend = "whisper_cpp" # apple_speech | whisper_cpp | faster_whisper | vocamac
stt_fallback = "apple_speech"
speech_locale = "en-US" # fallback when [stt] language does not resolve
on_device_only = true # never send audio to Apple's servers
tts_backend = "say" # say | avspeech | none
tts_voice = "" # `say -v ?` lists voices
tts_rate = 0
hotkey_backend = "quartz" # quartz | pynput
dictation_key = "right_option" # transcript is typed
assistant_key = "right_command" # transcript is run as an action
injection = "quartz" # quartz | applescript
notifications = true
[macos.runtime]
llm_provider = "ollama" # ollama | lm_studio | llamacpp | mlx
llm_base_url = "http://127.0.0.1:11434/v1"
llm_model = "qwen2.5:3b"
vision_provider = "ollama" # ollama | lm_studio | llamacpp
vision_base_url = "http://127.0.0.1:11434/v1"
vision_model = "llama3.2-vision:11b"

Linux ignores this section entirely. On macOS, [router] and [vision] automatically resolve to the Metal-native endpoints configured in [macos.runtime] rather than the Linux CUDA/vLLM endpoints. The shipped planner/vision lane is llama.cpp (http://127.0.0.1:8001/v1, qwen3-4b) plus scripts/serve_vision_transformers.py (http://127.0.0.1:8000/v1, uitars); point [macos.runtime]’s llm_base_url / vision_base_url at those URLs (or leave it on Ollama if you run one).

  • Verified by CI: automated matrix packaging of both Apple Silicon (aarch64) and Intel (x86_64) .dmg/.app bundles, fail-safe codesigning/notarization, platform detection tests.
  • Implemented: push-to-talk with two keys, Metal runtime resolution and graceful degradation, native speech recognition with pause-aware audio chunking (> 50s) and whisper.cpp runtime fallback, dictation typing, app and URL launching, window focus with AX window raising (kAXRaiseAction), clipboard, spoken replies, notifications, screenshots for the vision tier with Retina geometry handling, the plugin runner socket with peer credentials (LOCAL_PEERCRED / LOCAL_PEERPID and proc_pidpath), the Homebrew tap (sujaisubbanna/utter): Formula/utter.rb for the CLI/launchd service and Casks/utter.rb for the .app.
  • Linux-only: niri compositor actions and workspace-aware focusing, AT-SPI accessibility clicks (macOS goes straight to vision), MPRIS media keys, the Noctalia widget and OSD, the sandbox wrapper, the Linux installer wizard, and the settings app’s service controls (they call systemctl).
  • Hardware- and permission-dependent: physical audio input, hardware key-tap edge detection, actual AX synthetic keystrokes, real Screen Recording permission capture, and physical Metal GPU inference under load with Ollama.

The complete matrix, with the per-module status, is in docs/MACOS.md.