cd /news/ai-tools/coldmock-building-an-autonomous-zero… · home › topics › ai-tools › article
[ARTICLE · art-144305] src=dev.to ↗ pub= topic=ai-tools verified=true sentiment=↑ positive

ColdMock: Building an Autonomous, Zero-Cost Voice Interviewer for My College Peer

A developer built ColdMock, an offline voice-based technical interview simulator that runs Google's Gemma 2 (2B) locally via Ollama with a FastAPI backend and a browser frontend using the Web Speech API. The tool reads out backend and systems scenarios, listens to spoken answers, auto-submits after five seconds of silence, and generates unscripted follow-up questions plus a final scorecard with strengths, blind spots, and a hiring verdict. The developer reports a friend was challenged on replication lag after suggesting read replicas, saying "That exact question tripped me up in an interview last month.

by read2 min views2 publishedOct 3, 2026

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend (https://dev.to/challenges/hacktoberfest-weekend-2026-10-01)

What I Built

My college friend has been prepping hard for campus placements. He can solve LeetCode problems easily, but in real interviews he freezes up when he has to explain systems concepts out loud. Existing AI tools charge subscriptions or make you wait seconds for every cloud reply, which ruins the flow.

I built ColdMock so he can do rapid-fire oral technical drills on his laptop without paying anything.

How it works:

The AI reads out a realistic backend/system scenario.

He talks into his laptop mic to explain his approach.

If he stops talking for 5 seconds, it automatically submits his answer. The AI throws an unscripted follow-up question right back at him based on what he just said.

At the end, it shows a scorecard with his strengths, blind spots, and a realistic hiring verdict.

Demo

It runs completely in the browser:

Code

https://github.com/Subhadip956425/ColdMock How I Built It

Model: Google Gemma 2 (2B) running completely offline via Ollama.

Backend: A simple FastAPI service handling the interview state and strict grading prompts. It automatically fails blank or 1-word answers so you can't fake a pass.

Frontend: Vanilla HTML/JS with Tailwind CSS using the browser's built-in Web Speech API for both speaking and listening. No paid voice APIs needed.

Why Open Innovation Matters

Free: Students shouldn't have to pay API fees or subscription costs just to practice talking through code.

Privacy: All audio and interview notes stay right on the laptop instead of hitting third-party servers.

Offline: It runs with zero internet, so spotty campus Wi-Fi won't cut him off mid-answer.

The Hand-Off

I had my friend try a 3-question drill on database locks. When he suggested using read replicas, ColdMock pushed back on how he'd handle replication lag.

His reaction:

"That exact question tripped me up in an interview last month. Most AI bots just say 'great job', but this actually pushed back on my design without me having to touch the keyboard."

Prize Categories

Best Use of Gemma

General / Overall Winner

── more in #ai-tools 4 stories · sorted by recency
── more on @coldmock 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/coldmock-building-an…] indexed:0 read:2min 2026-10-03 · —