Hearth: a household assistant on Ollama, and proving nothing leaves the house
- Hardware
- Measured on an M4 Max with 64 GB
- Models & engines
- Ollama with qwen3.5:4b, qwen3.5:9b (default) or qwen3.8:27b
nomic-embed-text embeddings for search
faster-whisper for speech, Django app under gunicorn - Key gotcha
- Stricter prompt wording made no reliable difference against planted instructions in small models.
What they built
WeekendAiProjects built Hearth, a private assistant for a household. It answers questions from a library of manuals and papers citing source and page, listens and speaks, keeps notes, reads due reminders aloud, and gives each person in the house their own account.
Everything runs on one computer at home: Ollama for the model, nomic-embed-text for search, faster-whisper for speech and Django for the app. The write-up covers how small models did on documents, why prompt wording didn't stop planted instructions, and a leak their own network log missed.
The post is an excerpt from the authors' paid book series on building AI systems.
Setup
- Ollama with qwen3.5:4b, qwen3.5:9b (default) or qwen3.8:27b
- nomic-embed-text embeddings for search
- faster-whisper for speech, Django app under gunicorn
- Measured on an M4 Max with 64 GB
How it works
- Document passages go in the user message, and code removes sentences that address AI assistants when a document is added; the document's page lists what was left out.
- When no passage holds the answer, the model is asked for one exact "not found" sentence.
- Hearth reaches Ollama by IP (127.0.0.1:11434), so it never looks up a host name.
- Whisper gets an initial prompt with the household's own words (names, pets, appliances).
- Audio format comes from the upload's type or file name and is passed to FFmpeg explicitly, never guessed from content.
Results & numbers
- On 11 sample documents and 28 questions asked three times: qwen3.5:4b 100% correct at 0.7 s per answer, qwen3.5:9b 99% at 1.1 s, qwen3.8:27b 100% at 5.8 s; all said "not found" every time they should.
- A planted note in a router guide was followed 5 of 6 times by the 4B with passages in the system message; removing those sentences in code brought it to 0 of 6 for both 4B and 9B.
- A full session logged 14 network entries, all to 127.0.0.1.
- With the household-words hint, Whisper base transcribed all ten clean recordings without error and kept the key words in eight of ten noisy ones.
Gotchas
- Stricter prompt wording made no reliable difference against planted instructions in small models.
- faster-whisper tries to download a tokenizer from Hugging Face if it's missing, even when told to use local files only.
- FFmpeg guessing a file's format let a fake speech.webm open network sockets and a playlist send a web request; the Python-level log saw nothing because it happened in compiled code.
- A review by a fresh coding-assistant session, not the one that wrote the code, found the leak.
“A privacy claim you can't check is marketing.”— WeekendAiProjects
Do it yourself
- Install Ollama and pull a Qwen model sized to your memory (8 GB for 4B, 16 GB for 9B, 32 GB+ for 27B by their estimate) plus nomic-embed-text.
- Keep document text out of the system message and filter assistant-addressed sentences in code.
- Check that the Whisper model folder has both model.bin and tokenizer.json.
- Always pass the container format to FFmpeg/PyAV.
- Verify privacy three ways: a socket-level log via sitecustomize.py, `lsof -nP -i -a -p <pid>`, and airplane mode.
with av.open(upload, mode="r", format=container(upload)) as source:
...Similar setups
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.
A local second brain for Markdown notes with Ollama, Whisper and SQLite
WeekendAiProjects built a phone-to-computer note capture system that tidies, links, searches and answers questions over a Markdown vault with local Qwen models, and graded every answer by hand.
Company Brain: a private consultancy RAG on a 16 GB MacBook Air M4 with Ollama and Open WebUI
Ángeles Hernández Acosta’s KeepCoding final project runs Qwen3.5-4B via Ollama on a 16 GB MacBook Air M4, answers only from local documents with citations, and scored 16/22 on a locked final exam run on 6 November 2026.
Séance: local Whisper and Gemma 4 turn a grandmother's Malayalam voice notes into a searchable family archive
Clivin John built Séance, which transcribes and translates his grandmother's voice notes on his laptop, has Gemma 4 write memory cards, and answers questions only with her exact, verified words.