Inspiration

Meeting tools produce transcripts, but teams hesitate to send private conversations to a cloud AI, and a transcript can't show when someone's words and tone disagree. Hoovik already analysed meetings with live emotion AI, but its summaries and Q&A ran on server-side providers (Groq and Nomic), so every transcript left the user's control. For #BuildHybridAI we wanted users to decide where inference runs, so sensitive meetings never have to leave the device.

What it does

Hoovik is a video-meeting platform that understands the meeting. It existed before this hackathon. Its core value is unchanged: meetings are transcribed and emotionally analysed automatically.

Existing platform (before the hackathon)

  • Peer-to-peer WebRTC video and audio. Streams never touch the backend.
  • Live multimodal emotion AI. MediaPipe face landmarks plus Wav2Vec2 audio feed an EmotionTransformer + XGBoost ensemble, with anomaly filtering and about 300–500 ms P50 latency (load-tested with 10 concurrent participants).
  • Post-meeting transcription per speaker with Whisper, plus DistilRoBERTa emotion per segment.
  • A distributed Node.js backend: 3 pm2 processes, Socket.IO over a Redis adapter, Redis distributed join locks, MongoDB.
  • JWT auth with refresh rotation, rate limiting and account lockout, plus a transcript-request workflow, meeting history and chat.
  • AI summaries and "Ask this meeting" Q&A, but these ran on a server-side Groq LLM and Nomic embeddings.

Built during the hackathon (PR #96) Hoovik now supports on-device inference using Gemini Nano 4, based on Gemma 4, through Chrome's built-in AI and Firebase AI Logic Hybrid Inference.

  • Hybrid summaries. The application uses Gemini Nano 4 for on-device inference when permitted by the selected privacy policy. Cloud-hosted Gemini is available when the policy allows cloud inference. Summaries include decisions, action items and key points.
  • Four privacy policies. Local only, Local ask-before-cloud, Local fall back to cloud, and Cloud. A single policy gate guards every model call.
  • Redaction and consent. Cloud-bound text is redacted before transmission and restored locally afterward. Under Ask before cloud, users can review the redacted content and explicitly approve cloud inference. If redaction fails, the request is blocked.
  • Privacy receipt. After each run, the app shows the outbound requests it observed, with an on-device or cloud badge on every summary.
  • Confidential meetings. These can never reach a cloud model.
  • Ask this meeting, with policy-controlled inference. Transcripts are chunked in the browser. The model retrieves relevant passages and generates answers grounded in the transcript, with every quoted passage verified against the original transcript. Chat history stays in the browser.
  • Say-vs-feel discrepancy report, now local. Deterministic rules compare speech emotion with live facial and voice emotion. Live readings are never sent to a model.
  • Grounded outputs. Action-item owners and deadlines are kept only if the transcript supports them.
  • Public /demo page. Anyone can try hybrid summaries and Q&A on sample transcripts with no account.
  • Server cleanup. The server no longer calls any AI provider. It only stores the summary the browser produced.

How we built it

  • AI layer: Firebase AI Logic (firebase/ai) with hybrid inference. One module creates a model per mode (on-device only, prefer on-device, cloud only). The on-device path uses Gemini Nano 4 in Chrome, and the cloud path uses gemini-3.5-flash-lite. Firebase App Check is enabled.
  • Policy engine: a single gate (assertModeAllowed) decides which modes each policy may use. After every call, auditSource checks the SDK's reported inference source, so each result is labelled by where it actually ran.
  • Safety layers: redaction with local restore, a consent dialog for the ask-before-cloud policy, schema-constrained JSON output, and a validator that grounds owners and deadlines in the transcript.
  • Privacy receipt: a network witness counts outbound requests during each run, grouped by destination.
  • Platform: React, IndexedDB, Node.js/Express, Socket.IO, Redis, MongoDB, FastAPI services (MediaPipe, Wav2Vec2, PyTorch, XGBoost, Whisper), and vitest test suites.

Challenges we ran into

  • On-device sessions failed when requests overlapped, so we serialised every model call through a queue.
  • On-device input limits are tight, so we chunk by speaker turn and merge results.
  • We wanted proof of where inference ran, so we audit the SDK's reported source rather than trusting the requested mode.
  • Redaction is best effort and not full anonymisation. We say so in the UI.
  • Making Q&A work on-device meant replacing server-side embeddings with a select-then-answer approach: the model reads short excerpts, picks the relevant passages, and answers from them.
  • Platform challenges from before the hackathon still apply: multi-process Socket.IO fan-out, concurrent join races, and CPU-bound inference without blocking.
  • Known limitations: on-device vs cloud quality has not been benchmarked, Whisper is hardcoded to English, and the emotion service keeps in-process state, so it cannot scale horizontally yet.

Accomplishments that we're proud of

  • Removing every server-side AI provider. The server never calls an AI provider; it only stores what the browser produced.
  • Privacy that users can see and control: four policies, redaction, a consent flow, and a receipt of observed network requests on every run.
  • Quote-verified Q&A and grounded action items, so outputs are checked against the transcript instead of trusted blindly.
  • Shipping all of it, about 24,000 lines across 203 files with tests, on top of an established real-time platform with live emotion AI.
  • A public demo anyone can try without an account.

What we learned

Hybrid inference works best when privacy is a product feature the user can see and control, not a hidden setting. We also learned that on-device models need careful engineering around concurrency, input limits and output validation, and that reporting where a result was actually produced builds more trust than claiming it.

What's next for Hoovik

  • Multilingual transcription and summaries.
  • Android and iOS clients using Firebase AI Logic on-device support.

Built With

Share this project:

Updates

Submission history