Inspiration

Most AI meeting assistants make you pick between two bad options. Either you stream sensitive customer audio to someone else's servers, or you wait seconds for a cloud answer that breaks your flow in the middle of a call. We wanted to see if one app could do both jobs well: coach you in real time on your own device, and use the cloud only after the call, when it is worth it.

That became PulseBrief, a real time meeting and interview co pilot built on Firebase AI Logic hybrid inference.

What it does

  • You pick a scenario (customer discovery, a technical candidate screen, or a free form call) and PulseBrief gives you a list of goals for the call.
  • During the call it tracks each goal as Pending, Partial or Covered, with the exact quote that proves it.
  • It spots vague answers ("budgets are weird right now") and suggests one sharp follow up question. It stays quiet when answers are clear, because a co pilot that interrupts all the time is worse than none.
  • When you end the call, a privacy gate masks emails, phone numbers, addresses and account IDs on your device first. Only the masked transcript goes to the cloud, where Gemini writes the summary, the CRM fields and a follow up email.
  • A telemetry receipt and a routing log show which model handled every call, so you can check where each step ran instead of trusting a claim.

How we built it

All the routing lives in one file, hybridAI.ts, using Firebase AI Logic inference modes:

  • Live goal tracking and follow up nudges use PREFER_ON_DEVICE. Gemini Nano answers in Chrome when it is ready, and the call falls back to the cloud when it is not.
  • PII redaction uses ONLY_ON_DEVICE. A regex pass runs first. Then Gemini Nano reads the already masked text and lists anything personal that is still readable, such as a phone number spoken digit by digit, and we mask exactly those items. Then regex runs again. If Nano's list would hide more than 40% of the transcript, we ignore it. If Nano does not answer within 1 minute, the regex pass alone masks the text.
  • The post call brief uses ONLY_IN_CLOUD with a Gemini Flash model, and it only sees the masked transcript.
  • You can switch between Auto Hybrid, Force Local and Force Cloud during a call and watch the routing log change.
  • A backup engine (plain keyword matching, not a model) keeps the app working when there is no Firebase config, you are offline, Nano is missing, or the API refuses a call. The app always labels it "Backup engine" so nobody is misled about what answered.

The stack is React 19, TypeScript and Vite, with Firebase AI Logic, Firebase Hosting, Authentication (anonymous and Google), Cloud Firestore with offline persistence, and App Check with reCAPTCHA Enterprise. It also uses Chrome's Prompt API for Gemini Nano and the Web Speech API for the transcript. We test with Vitest, and GitHub Actions runs CI and deploys. It also loads as a Chrome side panel extension.

Challenges we ran into

  • Gemini Nano is slow on some laptops. On ours, a local call took 25 to 40 seconds. So every local step has a time limit (3 minutes for live steps, 1 minute for the privacy check), and the backup engine answers when time runs out. The regex masking runs either way.
  • Nano needs desktop Chrome with the Prompt API turned on and plenty of free disk space. So we built the backup engine and made every screen say which engine answered.
  • Free tier quotas. Each live pass makes two model requests, so a short call can hit the per minute limit. When the API refuses, the backup engine answers that step instead of crashing.
  • Being honest about privacy. Chrome's speech recognition may use Google's speech service, so we do not claim that audio never leaves the machine. What we do claim, and show: PulseBrief never records or stores audio, and the cloud models only ever see masked text.

What the demo shows

In our 3 minute demo we used the built in simulated call, and the telemetry receipt at the end shows exactly what ran: the live steps were answered by the backup engine, and the one cloud call was the post call brief. When we recorded this demo the app waited only 8 seconds for a local step, and Nano on our laptops is slower than that, so the backup engine answered those steps. Our interview demo video shows the live Gemini Nano path.

What we learned

  • Showing the receipt is more convincing than describing the architecture.
  • Hybrid AI is not only "fast local plus smart cloud". It is also about failing gracefully when one side is missing.
  • Deterministic checks (regex) before and after a model make a privacy feature more reliable than a model alone.

What's next

  • Faster on slow laptops. Add a Gemini Nano warm up when the page loads, so the first local call is ready sooner, and show a clear message while a slow local step is still running.
  • Real measurements. Collect latency and accuracy numbers from real devices and real call transcripts, and show them in the app's receipt, so the numbers come from tests and not from estimates.
  • Stronger privacy checks. Mask more kinds of personal details, such as names and company specific IDs, and let each team add its own redaction rules. The regex checks before and after the model stay in place.
  • Speech to text on the device. Today the browser's speech recognition may use Google's speech service. We want to move to fully on device transcription, so that even the audio stays on the machine.
  • More call types. Ready made scenarios for user research interviews, customer support calls, team standups and job interviews, plus saved custom goal templates that a team can share.
  • Send the brief where work happens. One click export of the CRM fields and the follow up email to common tools, so the brief does not have to be copied by hand.
  • More languages. Live goal tracking and briefs in more languages, so teams outside English speaking markets can use it.
  • More devices. Support for more browsers and for mobile as on device models become available there. Gemini Nano is desktop Chrome only today.

Built With

  • chrome
  • chrome-prompt-api
  • cloud-firestore
  • css-modules
  • firebase-ai-logic
  • firebase-app-check
  • firebase-authentication
  • firebase-hosting
  • gemini-api
  • gemini-nano
  • github-actions
  • indexeddb
  • react
  • recaptcha-enterprise
  • typescript
  • vite
  • vitest
  • web-speech-api
Share this project:

Updates

Submission history