Track: Web (Chrome) (Best Web/Chrome).
Video: https://youtu.be/wiSvH-2ALI0
Type the question the way you'd say it, and Firebase AI Logic turns it into a card the person can point at. On a laptop with Gemini Nano, nothing leaves the computer. On a phone the question goes to the cloud, with the names you listed swapped out.
For judges
| Criterion | Where to look | Proof |
|---|---|---|
| Technological implementation | "How we built it" | one typed question routed by data class in code (ONLY_ON_DEVICE, PREFER_IN_CLOUD with onDeviceParams); the measured table; the AI step at taps 2 and 3 on a phone |
| Design | "What it does" | the person's screen: big pictures, "So: tea. Right?"; the app's own Back goes one step at a time (the phone's Back can still skip a letter step) |
| Potential impact | "Inspiration" | NIDCD, Haley and Hardy 2025; safety lines decided by rules, never by a model |
| Quality of the idea | the tagline, "What it does" | it coaches the partner who asks the questions; the AI is split by data class |
Inspiration
About 2 million people in the United States live with aphasia (NIDCD). The person they talk to most is often family. When speech-language pathologists sent in samples of their therapy goals, fewer than 3% involved any training for the communication partner (Haley and Hardy, AJSLP 2025).
After a stroke, many adults with aphasia know what they want to say but can't find the words. In the Aphasia Institute's words, aphasia "masks a person's inherent competence".
Speech therapists teach a method for this: Supported Conversation for Adults with Aphasia (Aphasia Institute). You show the person you know they're competent and help the message in and out with short questions, written key words, pictures, time, and a check. Our reading: don't guess, don't answer for them, don't quiz them.
We put it in the carer's phone.
What it does
Talk Partner coaches the partner who asks the questions.
The first screen says who it's for ("you ask, hand them the phone, they point"), then shows a field: "Type your question. We make picture answers." Carol types "What do you fancy for lunch today?" as she'd say it to Frank and taps "Make picture answers". Firebase AI Logic turns her sentence into one card with two or three choices and "something else". She turns the phone, says it, and Frank points. The app checks with him ("So: soup. Right?") and his tap confirms the answer. On a crisis question, the crisis line stays whatever he points to.
On a laptop with Chrome's Gemini Nano, the card is made on the computer from the family's own lists: in our run the lunch question gave pot roast, chili and ginger biscuits, and nothing was sent. The video shows this laptop path.
Chrome on a phone has no Gemini Nano for web pages, so a sheet shows the exact line that would go to Google's AI and asks first. On our dev server "Just this once" gave sandwich or soup. If App Check refuses the browser, the rules' card stays, with "Try Google's AI again". The video doesn't show the phone path; JUDGES.md walks it.
Two rules sit around that step. Neither is a model.
The first is a word list: typed words it recognises as pain, the body, a need, feelings, a warning sign or a crisis never reach the AI that makes cards, though the list can miss a wording. The rules then make the card, saying "Your words did not go to any AI". Type "Is your chest tight again?", answer "yes", and you get one red box: "Chest pain or tightness, or trouble breathing: call 911 now, whatever the amount, even if it has happened before", with a call button (the number is guessed from the phone's language) and no green tick.
When the AI can't help (Carol said no, she's offline, or App Check refused the browser), the second rule applies: the rules' nearest card stands in, labelled "Made by the app's rules (no AI)".
The field is typed only. A recording would reach a model before any rule could read it.
Below the field is "Or pick a topic": small trees of ready questions from the rules, offline too. On a topic card with choices, the second button is "Find more choices (Google's AI, after your yes)". It shows the line that would go and is never offered on pain, the body, feelings or anything urgent.
"Read it aloud to them" turns on a calm Gemini voice after one yes and reads the cards you show until you turn it off. Never pain, health or doctor-visit cards; the card's words go to Google's voice model.
If nothing fits, Frank can point to a first letter, then the next. The words stay inside the topic: after "tea or coffee?", "B" gives his ginger biscuits, bread, banana. For two letters or more, when the rules have no word, Gemini Nano on a laptop or, after a yes, Google's AI suggests words. If none fits, "Write it down together" and "Ask them to show you" follow.
A diary counts what was entered; "What stands out" is fixed rules. With chest or head pain, every answer to "How bad is the pain?" says call now, whatever the amount. Three pages are made for printing (speech therapist, new carer, doctor visit). Talk Partner is not a medical device.
No word you type leaves the phone without your yes. When the app opens on a phone, Google's reCAPTCHA checks the browser; your words aren't in that check. There's no account, and no server of ours holds the family's data.
How we built it: one typed question, three legs, measured
Every model call goes through Firebase AI Logic. Who may see what is fixed in code:
| What | Where it may go | Mode |
|---|---|---|
| What the family wrote (lists, photos, health notes, the diary, the answers) | the device only, or no model | ONLY_ON_DEVICE (Gemini Nano in desktop Chrome) |
| The carer's typed question, names you listed swapped out (other names are guessed) | the cloud, after a yes on a sheet that shows the exact line | PREFER_IN_CLOUD with onDeviceParams |
| The words of a card, to be spoken (a name on the card included) | the cloud, after a yes that keeps Read aloud on until turned off | ONLY_IN_CLOUD, Gemini text-to-speech |
On 24 Nov we ran "Ask in your own words" through each leg: the 18 open questions of our labelled set and 10 everyday questions we wrote the way carers talk. The laptop leg ran on this Mac in Chrome with Gemini Nano, on a local production build of our working copy (commit 1972661 plus uncommitted changes), not the live build. The online leg ran on our dev server with the App Check debug provider. One run per leg, our labels, not a trial with people.
| Rules alone | Gemini Nano on this Mac (ONLY_ON_DEVICE) |
Online (PREFER_IN_CLOUD, no Nano) |
|
|---|---|---|---|
| a card, never a blank | 28/28 | 28/28 | 28/28 |
| 18 open questions: matched our label | 0/18 | 15/18 | 13/18 |
| 10 everyday questions: matched our label | 2/10 | 8/10 | 10/10 |
made by the AI (the SDK's inferenceSource) |
0/28 | 24/28 | 25/28 |
| kept from every model (the back-pain question) | 1 | 1 | 1 |
| median time to a card | under 5 ms | 3.7 s (18) / 4.0 s (10) | 1.3 s |
| left the device | nothing | nothing | the question, names swapped out |
A rules card made after a refusal answers the nearest ready question instead of the one typed, so we count it as a miss.
Anything about health (what stands out, when to call) is rules and fixed text. A model may only reword a line, and code rejects wording that changes a number or a call line, or plays it down. We've tested that with scripted engines only. Most pictures were made with Gemini 3.1 Flash Image during the contest and bundled; none is generated at run time.
Stack: TypeScript, Vite, a PWA on Firebase Hosting, App Check (reCAPTCHA Enterprise), Remote Config, IndexedDB.
Challenges
In Chrome, Gemini Nano is desktop-only, and carers hold phones. Splitting by data class, rather than device, keeps the private part off the cloud, and the phone still gets an AI path behind a yes.
Safety was harder. Judge rounds found chest pain "a little" ending on "ask again in an hour", a typed "Is your smile lopsided?" ending on a green tick, and a typed crisis question answered "no" losing its crisis box. Each health line we found now has a worst-case test. The guard in front of the AI is tested with an engine that records every call. It gets none.
Accomplishments
Every answer of every topic tree ends in something the carer can do; a unit test walks them. After a chest-pain answer the screen says call now, whatever the amount. After a crisis question, every answer keeps the crisis line.
What we learned
The model earns its place where rules can't go: a question in someone's own words. Health stays with the rules.
What's next
Planned, not started (24 Nov 2026): a speech therapist and a nurse read every safety line, then carers try it for a week. Q1 2027: an Android app on Firebase AI Logic's on-device inference, so a phone with Gemini Nano keeps the family's data on the phone.
Built with
firebase-ai-logic, gemini-nano, gemini, typescript, vite, pwa, firebase-hosting, app-check, remote-config, indexeddb
Disclosure
Work before the contest period and what changed during it: DISCLOSURE.md in the repository.
Try it
https://talk-partner.web.app. "Try it with the Millers, a sample family" (/#/sample) opens the sample family in the phone view, and /#/demo opens the full judge view. Testing instructions for the live build are in JUDGES.md. App Check may refuse headless browsers, so use your own Chrome. On a phone the AI step is at taps 2 and 3: type a question, tap "Make picture answers", then "Just this once". If your browser is refused, the card says "Made by the app's rules (no AI)" and that nothing was sent.
Built With
- firebase-ai-logic
- firebase-app-check
- firebase-hosting
- firebase-remote-config
- gemini
- gemini-nano
- indexeddb
- typescript
- vite
- vitest