Snagproof — punch lists with zero bars, Gemini Nano + Gemini

Inspiration

At the end of every construction job, a superintendent walks each unit and writes the punch list: the defects a trade must fix before the owner releases final payment. The walk happens in basements, stairwells and new builds with no Wi-Fi, so cloud-only tools stop exactly where the defects are. The write-up happens that evening, from notes and a camera roll. Then come the disputes: "outlet in the hall" with no photo, and trades marking items fixed that aren't.

Snagproof puts the whole thing on the wearable or the phone: point, talk, keep walking. Gemini Nano drafts each item on the device with zero bars; Gemini in the cloud checks it against the photo when signal returns.

What it does

An inspector walks a unit with camera glasses or a phone, points at each problem and says what's wrong. On the device, as they speak, the sentence is sorted (defect, room, "it's fixed") and Gemini Nano drafts the punch item — title, trade, room, severity, action — from the words and the clearest camera frame. It works offline.

The PM punch list, grouped by room, with the re-walk flag

When signal returns, queued cloud checks run exactly once per item: Gemini in the cloud verifies each item against its photo and the inspector's words and flags anything that doesn't match. The highlight is the re-walk that catches false fixes — say "the stove top is fixed", and the cloud compares the first-walk photo with the re-walk photo. If the defect is still there, the item goes back to Needs a look: "Marked fixed on the re-walk, but the defect is still visible." The device can flag, but only the cloud clears, and the Firestore rules enforce that a re-walk signs off only when the closure records the cloud's "yes".

The re-walk catch: first-walk vs re-walk, the defect is still visible

For the project manager there's a live punch list on Firestore, an owner update and trade messages written by Gemini Nano on the laptop (client names stay local), a project overview with charts by trade, room and severity, a trade-grouped printable report and CSV export, and a Chrome extension that finds punch items in any email or page.

Project overview: counts and charts by trade, room and severity

You can also ask the punch list in plain language — typed or out loud — answered by the hybrid model, grounded only in that project's own items. A handover-readiness meter shows how close the unit is to sign-off, the moment a phone syncs an item from the field the PM sees a "New from the field" notice, and Ctrl/⌘ K jumps to any tool or item. In the Chrome extension, a PM can select an email from a GC or owner and Gemini Nano drafts the reply in Chrome — without promising a payment or sign-off the facts don't support.

Ask the punch list — answered by the hybrid model, grounded in the project's items

And you can import a whole walk video from smart glasses, a helmet cam or a phone: Gemini in the cloud scans the clip frame by frame and proposes the defects the inspector walked past, each with the moment it appears.

Walk-video sweep: the cloud finds the defects you missed

Built for AI wearables

Snagproof is built for hands-busy work: camera glasses, helmet and body cams, clip-on cameras, or just a phone. The home page has a scroll-driven 3D tour of a walk, and of the many other jobs the same "point, talk, done" pattern fits — home inspections, insurance claims, hotel turnovers, factory QA.

The 3D glasses tour on the home page

How we built it, and how we use Firebase AI Logic

Every AI call goes through Firebase AI Logic's hybrid inference, on three surfaces — a web app (Chrome), an Android field app, and a Chrome extension.

  • Web: getGenerativeModel(ai, { mode, inCloudParams, onDeviceParams }) with a JSON-schema responseConstraint, and initializeDeviceModel() behind a click.
  • Android: generativeModel(..., onDeviceConfig = OnDeviceConfig(mode = ...)) with firebase-ai-ondevice, onDeviceExtension.checkStatus()/download()/warmUp(), and @Generable structured output.

The Android app runs the same router in Kotlin, with Gemini Nano via AICore

A Smart Router — a pure, tested function (15 web tests, 38 Android tests) — picks the InferenceMode per task from Remote Config, connectivity, battery, model status, prompt size and input type:

  • live, private and frequent tasks prefer on-device;
  • photo verification and before/after comparison go to the cloud;
  • anything that needs the cloud while offline waits in a queue that runs each task exactly once;
  • if no model can run, deterministic keyword rules keep the walk going and heal on reconnect.

We read response.inferenceSource on every call and log it to Firestore, so every item shows where each step ran ("On device", "Cloud", "Waiting for signal", "Rules") and why. A Hybrid Console makes the whole routing table visible and testable — flip "No signal" or "Private site" and watch the decisions change.

Firebase products used: Firebase AI Logic (hybrid), App Check (Play Integrity, reCAPTCHA Enterprise, limited-use tokens on every AI call), Authentication, Cloud Firestore (offline persistence + real-time sync, rules covered by 13 emulator tests), Cloud Storage, Remote Config (routing, model names, A/B and kill switches, live updates), Cloud Functions (audit log, counts, trade dispatch), and Hosting. The web app is an installable PWA with a service worker, so it opens with zero bars.

Numbers

From eval/score.py on labelled walks, the same items in every routing mode: Gemini in the cloud found 14 of 14 defects, trade right 10/11, room 11/11, severity 10/11, re-walk "it's fixed" claims read right 12/12, median draft about 2 s, about $0.016 for the whole run. 162 web, 62 Android and 13 security-rules tests.

Challenges we ran into

On-device limits shaped every prompt: about 4,000 tokens and one image on Android, outputs kept short. Each prompt is budgeted, and the router sends anything too long to the cloud with a visible reason. Hybrid also needs honesty in the UI — if a device can't run on-device, the pill says "Cloud" and why, so a judge or a PM always sees exactly what happened.

What's next

  • iOS with Apple Foundation Models.
  • Live glasses streams through the same capture-source adapter the walk-video sweep already uses for imported video.
  • Trade dispatch over Slack and email through Cloud Functions.

Try it: https://snagproof-hybrid.web.app · Code: https://github.com/Prashant-thakur77/Snagproof

Built With

Share this project:

Updates

Submission history