Inspiration

In technical schools the manuals exist, but turning them into hands-on practice takes a teacher hours. And workshops, farms and mines often have no signal, so cloud-only AI tutors stop working exactly where trainees practise.

What it does

  • Teacher authoring (cloud): paste a procedure from a manual; Gemini writes an interactive practice (checklists, ordering, dials with tolerances, press-and-hold, critical steps). The teacher reviews it, practises it right away, and it is saved on the device.
  • Trainee coach (on device): when a trainee makes a mistake, the engine decides what is wrong and Gemini Nano on the phone turns those facts into a short hint, in about a second, even in airplane mode. The mistakes never leave the phone.
  • Fallback: on a phone without Nano the same hint comes from the cloud; with no model at all, rule-based text from the engine is always there.

How we built it

  • Kotlin Multiplatform + Compose Multiplatform (~88% shared code): the same engine and UI run on Android, iOS and desktop.
  • Firebase AI Logic hybrid inference on Android: firebase-ai + firebase-ai-ondevice with InferenceMode.PREFER_ON_DEVICE for the coach (Gemini Nano nano-v4-fast on a Galaxy Z Flip7), and gemini-3.5-flash with a JSON response schema for authoring. The app labels where each hint came from.
  • App Check enabled (debug provider in debug builds).
  • Guardrails: the model never grades. A guard rejects hints that don't name what the engine found, copy the panel, praise, or point the wrong way. Authored steps not grounded in the manual are dropped, and every practice is validated by the same engine that runs the bundled kits.

Challenges we ran into

  • Finding Gemini Nano hardware: no emulator, Device Streaming device or our own tablet had Google AICore with Nano. We tested and recorded on a borrowed Galaxy Z Flip7.
  • Small models invent: early hints praised wrong answers or repeated the panel. Giving the model only engine facts plus a guard fixed it.
  • Long structured outputs sometimes loop: we raised the token budget, kept the default temperature, de-duplicate steps and filter garbage units.

Accomplishments that we're proud of

  • On-device hints in ~1–2 s, also in airplane mode.
  • From a pasted manual to a reviewed, playable practice in about a minute.

What we learned

Split the work by what each side does best: long-context authoring in the cloud, short private coaching on the device, deterministic rules for grading.

What's next

Apple Foundation Models for the coach on iOS, sharing authored kits between teachers, and more workshop kits in English and Spanish.

Prior work

Benchmate builds on the author's earlier open-source practice engine (Kotlin Multiplatform). Added during the hackathon: the hybrid coach, cloud authoring with review and on-device saving, a new visual identity and offline workshop kits. In the demo video, Gemini Nano footage is from a real Galaxy Z Flip7; authoring and cloud-fallback footage is from the Android emulator, as labelled on screen.

Built With

  • android
  • compose-multiplatform
  • firebase
  • firebase-ai-logic
  • firebase-app-check
  • gemini
  • gemini-nano
  • kotlin
  • kotlin-multiplatform
  • room
Share this project:

Updates

Submission history