Home / use case

Private Garmin training briefings on a 16 GB MacBook Air with a local Qwen3 4B

At a glance
Models & engines
macOS app, installed with Homebrew for Ollama and uv for a Python 3.12 environment
qwen3:4b-instruct in Ollama for briefing and chat
Key gotcha
Garmin sync is a network call, and the models have to be downloaded once. The optional unofficial Garmin Connect login is not the official API.

What they built

Garmin Insights is a local macOS app for Garmin and Strong data. It compares each metric with your own baselines and, each morning, writes a briefing and recommendations with a small model running on the Mac. It also has a race planner, a what-if planner, a lifestyle and diet journal, and a chat over your data.

The only network calls go to Garmin to sync data and, once, to Hugging Face and Ollama to download the models. After that, briefing and chat run locally. The local server listens on 127.0.0.1 only, and data lives in ~/.garmin_insights/.

The briefing model is Qwen3 4B Instruct, chosen after evals, with thinking mode off. Every number in the text must already appear in the input facts, and comparisons such as "short of your need" are pre-computed so the model never compares numbers itself. If that check fails, the app shows template text. Chat uses the same model with read-only tools over the database and flags any number that is not in the fetched data.

Setup

  • macOS app, installed with Homebrew for Ollama and uv for a Python 3.12 environment
  • qwen3:4b-instruct in Ollama for briefing and chat
  • Chronos-Bolt-tiny (9M parameters) on CPU for 7-day forecasts
  • A Garmin Personal API key (official, read-only), stored in .env or the macOS Keychain
  • Optional unofficial Garmin Connect login for race predictions, personal records, stress timeline and Body Battery events
  • Optional Strong CSV export for lifting data

How it works

  1. After brew install ollama and uv sync, garmin-app sync pulls history and garmin-app opens a native window. Models can be downloaded from Settings or with ollama pull qwen3:4b-instruct.
  2. Analytics such as HRV, sleep regularity, training load and readiness are computed with methods the README lists, then passed to the model as facts and verdicts.
  3. Chat answers show which data was used. Secrets stay in the Keychain or a git-ignored .env file. Tests and evals use synthetic data.

Results & numbers

  • On the author's briefing eval (8 scenarios, 3 times each), Qwen3 4B Instruct passed 92% of cases with 96% number faithfulness and a 3.9 s median latency. Qwen3 1.7B passed 54% with 100% number faithfulness and 1.9 s. A chat suite of 12 questions, twice each, was 100% correct with 92% number faithfulness and a 5.8 s median.
  • On a MacBook Air M3 with 16 GB, macOS 26.6, on battery, with 77 days of history: the app was ready in 1.6 s, used about 155-205 MB (plus about 300 MB briefly during Chronos), and 0% CPU when idle. Page loads were 0.63 s median and 0.73 s at p90. Recomputing analytics took 0.22 s.
  • A cold morning briefing took 8.3 s including a 2.8 s model load, then 4.4 s when warm, and was cached for the day. Qwen3 4B Instruct ran at about 30 tokens/s generation and 340 tokens/s prompt processing. Chat answers including tool calls took 9.4 s median. Ollama used about 3.0-3.3 GB while the model was loaded and freed it after 10 minutes idle.
  • Whole-system power, including the screen and other apps, was 13.2 W at baseline and while the app was idle, and 33 W while the model was generating. The author estimates one briefing a day plus a few chat questions at well under 1% of the battery. Disk use was 1.2 GB for the Python environment, 2.3 GB for the Ollama model, 66 MB for Chronos and 7 MB of app data.

Gotchas

  • Garmin sync is a network call, and the models have to be downloaded once. The optional unofficial Garmin Connect login is not the official API.
  • Power figures are whole-system battery-gauge readings, so they include the screen and other open apps. Compare them to the baseline, not as the app's isolated draw.
  • The project is not medical advice, and it is not affiliated with Garmin or Strong.
“Each morning it gives you a briefing and recommendations, written by a small AI model running on your Mac.”— Garmin Insights README

Do it yourself

  1. On a Mac, install Ollama with brew install ollama, then uv sync --extra forecast in the repo.
  2. Create a Garmin Personal API key and put it in .env or Settings (Keychain).
  3. Run uv run garmin-app sync, then uv run garmin-app to open the app.
  4. Download qwen3:4b-instruct from Settings, or run ollama pull qwen3:4b-instruct, then read the morning briefing or ask the chat about your data.
brew install ollama
uv sync --extra forecast
uv run garmin-app sync
uv run garmin-app
# or: ollama pull qwen3:4b-instruct
Source: vashqu on GitHub · Published 2026-11-19 · Added 2026-11-19. This write-up summarizes the original source; see it for full details.

Similar setups

A local news-reading agent on Ollama that loses internet access while it thinks

A developer built News Scout, a Qwen3 14B agent on Ollama that picks IT stories from five RSS feeds, then split each run so the model reads the cached feeds inside a macOS sandbox with no internet.

DEV Community (MediBlackSand) · 2026-12-03

A Meshtastic station that sends an honest automatic receipt when nobody answers

A Meshtastic user built a Python monitor that waits 90 seconds for a human to answer a radio check and, if nobody does, sends a clearly labeled automatic receipt, with a small Qwen3 model on Ollama only classifying messages.

X (@thatsatechnique) · 2026-11-20

A read-only Gemma 4 agent on Ollama that explains what fills a Mac's disk

A sysadmin's one-file Python agent lets Gemma 4 on Ollama dig through his home folder and write a Markdown report on disk usage, while code and a four-line macOS sandbox-exec profile make sure it can only look.

DEV Community (MediBlackSand) · 2026-11-30

A mock-interview coach where a local 4B model must quote you to mark you down

Yuva Kunaal built Local AI Interviewer, an open-source app that runs mock interviews on your own computer with qwen3.5:4b through Ollama and only reports a mistake when the model can quote it from your answer.

DEV Community (Yuva Kunaal) · 2026-11-26