Home / use case

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

At a glance
Hardware
8 GB MacBook Air (CI tests also run on Windows and Linux)
Models & engines
Ollama with qwen3.5:4b as the default model
Local Whisper for spoken answers
Key gotcha
It misses one subtle error every time: it grades "a tuple that contains lists can be a dictionary key" as correct

What they built

Local AI Interviewer is an open-source mock-interview coach that runs on your own computer. You give it questions or let it build them from your resume; it asks them out loud, takes typed or spoken answers, asks follow-ups when an answer leaves a gap, and ends with a scored report that explains every mark.

Yuva built and tested it on an 8 GB MacBook Air with qwen3.5:4b through Ollama. The main problem was trust: a small model will happily say you said something you never said, so the app treats the model's output as evidence to check rather than a verdict.

There is an optional Groq cloud mode for machines without enough memory, but it is off until you switch it on; the default runs locally.

Setup

  • 8 GB MacBook Air (CI tests also run on Windows and Linux)
  • Ollama with qwen3.5:4b as the default model
  • Local Whisper for spoken answers
  • FastAPI, SQLite, React and TypeScript
  • Python 3.10+, Chrome or Edge

How it works

  1. The model returns JSON with ratings on dimensions like correctness, depth and clarity, plus points right and points it thinks are wrong
  2. The app turns the ratings into a score using a per-subject profile (SQL, Python, system design and behavioural questions are weighted differently), and a state machine decides what happens next
  3. Every claimed mistake must quote the answer; the app checks the quote really occurs, and unverifiable claims are shown as unverified and left out of the mistakes list and verdict
  4. Resumes are parsed locally into a skills profile linked to the lines they came from

Results & numbers

  • On his benchmark of 56 answers graded three times each: 70/70 answer pairs ranked in the right order and 55/56 answers inside their expected score band
  • 273 of 279 quotes the grader cited were really in the answer
  • Grading the same answer three times varied by a median of 0.2 points, at most 2.0

Gotchas

  • It misses one subtle error every time: it grades "a tuple that contains lists can be a dictionary key" as correct
  • Strong answers top out around 8.3/10, so the top of the scale is compressed
  • The score still comes from the model's ratings, so an invented mistake may pull them down a little; the quote check only stops it being reported
  • He wrote the benchmark labels himself, so it shows ranking, not that a score matches a human interviewer
“So I stopped treating the model's output as the verdict and started treating it as evidence to be checked.”— Yuva Kunaal

Do it yourself

  1. Install Python 3.10+, Chrome or Edge, and Ollama
  2. Download the zip from the project's latest GitHub release and unzip it
  3. Run ./setup-models.sh (it shows the download size and asks before downloading the model)
  4. Run ./start.sh --open (on Windows, setup-models.bat then start.bat)
./setup-models.sh
./start.sh --open
Source: DEV Community (Yuva Kunaal) · Published 2026-11-23 · Added 2026-11-26. This write-up summarizes the original source; see it for full details.

Similar setups

Hearth: a household assistant on Ollama, and proving nothing leaves the house

Hearth answers family questions from manuals and papers with citations, handles voice, notes and reminders, and runs on one home computer; its builders tested small models, prompt injection, and three ways of proving no data leaves.

DEV Community (WeekendAiProjects) · 2026-11-23

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.

DEV Community · 2026-11-08

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.

Clivin John (DEV Community) · 2026-10-31

Couch Commander: an offline voice remote for YouTube that understands Pidgin

Benny built Couch Commander, which chains openWakeWord, Whisper and Gemma 4 E2B in Ollama on a Mac so spoken commands in English or Nigerian Pidgin control YouTube in Chrome with no internet.

Benny (DEV Community) · 2026-10-26