-
-
Heard You Say: the prices a contractor says, written down on the homeowner's side of the table. iOS, Firebase AI Logic hybrid inference.
-
During the walkthrough, each finished sentence becomes estimate lines on the homeowner's phone.
-
A rate outside its plausible range never becomes a line: "850 a foot" turns into an Ask-now question, "did you mean $8.50 a foot?"
-
He says 400, then 450 in the same breath: the app keeps one line, Shower valve $450, not two.
-
The contractor confirms the list on screen. Reviewing it is an acknowledgment of what was heard, not a signed contract.
-
With Check prices in the cloud off, a live walkthrough made 0 cloud calls on 15 sentences.
-
Cloud check on: the phone was unsure about the glass door, so Gemini's reading replaced it and the line got a cloud badge.
-
That evening the app lines the two bids up item by item. Every dollar is filled in by code from the confirmed lines.
-
Not priced yet or not mentioned turns into a question for tomorrow; excluded is marked, so you know it's on you.
-
The confirmation email is assembled by code from a template: the confirmed lines, the total and the open questions.
-
Apple Foundation Models on device through Firebase AI Logic first; Gemini re-reads prices and matches the bids in the cloud.
-
What it never does: invent a price, let a model do the math, write the audio anywhere, or store speech or sentence text.
Prize category
Entered for Best iOS. Heard You Say is an iPhone app built on Firebase AI Logic's hybrid inference: speech is recognized on the device, Apple Foundation Models read each sentence of a contractor's walkthrough, and Gemini in the cloud is used only for the price check you switch on. With that check off, a live walkthrough made 0 cloud calls on 15 sentences. Unclear prices become questions while the contractor is still in the room, and in the evening two contractors are compared line by line.
Why it matters
U.S. homeowners are expected to spend around $525 billion a year on improvements and repairs through 2027 (Harvard Joint Center for Housing Studies, October 2026). Heard You Say writes down the prices a contractor says out loud, on the homeowner's side of the table, while there is still time to ask.
Inspiration
I was comparing bids for a bathroom and a kitchen, and the smaller total was the easy part to read. This month a contractor quoted our master bath as one line, $22,900. Only after I asked by email did he price eight items inside it, and seven of them, $3,300 together, could be taken out. What the total included was the hard part, and the best moment to ask was while the contractor was still in the room. Home improvement contractors were the third most common consumer complaint category reported by 41 state and local consumer agencies in 2024, according to the Consumer Federation of America.
I wanted the prices he actually said on my own phone, with the open questions next to them, so the evening comparison could be about the work as well as the bottom line.
What it does
Heard You Say sits on the homeowner's side of the table. It listens to a contractor's walkthrough of a job, turns each finished sentence into estimate lines, and asks the questions that are still open while the contractor is there to answer them. In the evening it compares two contractors line by line. With the price check switched off, a live walkthrough made 0 cloud calls on 15 sentences.
As the contractor talks, each finished sentence becomes estimate lines in the app shortly after it is said, or an Ask-now question when the price is unclear or implausible. A rate outside its plausible range never becomes a line: "eight-fifty a foot" heard as 850 turns into "Baseboards: did you mean $8.50 a foot?" When the contractor corrects himself in the next sentence, the line he just gave is updated instead of a second line appearing. The contractor confirms the list on screen ("Contractor A, is this what you said?"), and reviewing it is an acknowledgment of what was heard, not a signed contract.
In the evening the app lines the two bids up item by item. Not priced yet or not mentioned turns into a question for tomorrow; excluded is marked, so you know it's on you. The confirmation email is assembled by code from a template.
A voice assistant that walks you through a project and generates the estimate is solving a different problem, because Heard You Say never invents a price. It writes down the prices the contractor actually says during the walkthrough, and the contractor confirms the list on the homeowner's screen. Apps that compare quotes once they exist as PDFs, emails or typed text start after the conversation is over; this one captures the bid during the walkthrough itself, before anything is written down, and lines the contractors up item by item that evening. A general assistant suggests the next question in any conversation. Here the prompt is tied to the job: when a checklist item has not come up, an "Ask now" card appears while the contractor is still in the room.
How we built it
Three model calls, all through Firebase AI Logic. Speech recognition is not one of them: speech is recognized with Apple's on-device SpeechAnalyzer and SpeechTranscriber, the system Speech API, and the app works on its text.
With "Check prices in the cloud" off, AI Logic's on-device .systemModel() (Apple Foundation Models) reads each sentence alone. With the cloud check on, the first pass is AI Logic's HybridModel(primary: .systemModel(), secondary: .geminiModel(name:)): Apple Foundation Models first, Gemini only if the on-device model is unavailable. Either way the model copies the item and the price words, and code does the arithmetic: it turns "forty-two hundred" into 4200, checks the unit and the plausible range, and adds up the totals. We landed there after earlier versions duplicated a corrected price and misread spoken numbers, "two-ten" as 20 among them.
With "Check prices in the cloud" on (the default, and the homeowner can turn it off), every sentence with a number, and every questionable one, is read again by Gemini (cloud_model, default gemini-3.5-flash-lite). If the phone's line looked solid and Gemini reads it differently, it becomes an "Ask now" card; if the phone's answer was doubtful, Gemini's answer replaces it and is marked with a cloud badge. The phone's answer is shown first, and the check gives up after its timeout.
With the switch off, the walkthrough sends no AI requests (test: 0 cloud calls on 7 sentences; live run: 0 cloud calls on 15 sentences and no outbound internet connection from the app, while the same log shows 12 cloud calls with the switch on). The evening comparison still makes one Gemini call, with item names and units only.
In the evening comparison, Gemini, through Firebase AI Logic and cloud only, matches items by name and unit. Every dollar in the table and in the email is filled in by code from the confirmed lines. Only confirmed lines, plus the names of items still open, go into that comparison.
App Check uses the debug provider in development builds and is enforced for Firebase AI Logic and Firestore: requests without a valid App Check token are refused. Sign-in is anonymous. Firestore stores only the pairing of line ids and counters, never speech and never sentence text, and the rules refuse unknown fields. On the Spark plan there are no Cloud Functions, so the rules themselves count documents, at most 200 per anonymous user. Remote Config holds the model names, the default of the cloud switch, the thresholds and the timeouts; the code carries the same defaults, and tests check the template against them.
In the app's code, microphone audio goes only to Apple's SpeechAnalyzer; the app never writes it anywhere.
Challenges we ran into
The first models we tried were confident in the wrong places. They copied a corrected price into a second line, and they filled in a materials field the speaker had never answered. The first tool-calling version, where the model wrote the number itself, then misread the numbers. That is why the model now copies the price words and the code does the math, and why a rate outside its range becomes a question instead of a line.
Keeping the two passes honest was the other hard part. A second reading is only useful if you can see which answer won. A doubtful line on the phone is replaced and gets a cloud badge; a confident one that disagrees becomes a question. Either way it shows on the screen.
Accomplishments that we're proud of
We compared tool calling, structured generation and extracted-word approaches, and we tested the chosen parser on synthetic sets written independently of the parser's rules, not only on our own templates. The model copies the words, and the code owns the numbers, the ranges and the sums. In the evening comparison a line carries only item, scope, unit, price, quantity and totals; tests on both the Swift and the TypeScript side fail if sentence text or a sentence id rides along.
In the demo video, speech recognition and Apple Foundation Models run locally, with no cloud.
What we learned
A price that looks right can still belong to the wrong line of work, and a transcript can drop the amount before the parser ever sees it. A homeowner needs the list, the open questions, and a moment to check both while the contractor is still standing there.
What's next for Heard You Say
The walkthrough with the cloud check off, the Ask-now cards, the confirmed list, the evening comparison and the email draft all work today. Next is a measurement of the whole speech-to-line path on real contractor voices.
Pre-existing work
No code from earlier projects is in the repository. Everything here was written during the submission period: the repository history starts on Nov 23, 2026 (ET), inside the submission period. To score speech recognition, the core measurement used a copy of eval/wer.ts from our earlier project Line by Line (PayPal AI Hackathon, November 2026); it stays with the measurement, not in this repository. Our contractor-side product (Foreman+) is a different product; none of its code is used.
How AI was used
Three model calls, all through Firebase AI Logic. With the cloud check off, each sentence is read by Apple Foundation Models on the device (.systemModel()). With it on, the first pass is HybridModel, Apple Foundation Models first and Gemini only if the on-device model is unavailable, and then every sentence with a number, and every questionable one, is read again by Gemini (gemini-3.5-flash-lite by default). The evening comparison is one Gemini call in the cloud, matching items by name and unit. The models read words; code computes every number.
Built With
- apple-foundation-models
- cloud-firestore
- firebase-ai-logic
- firebase-app-check
- firebase-authentication
- firebase-remote-config
- gemini
- speech-framework
- swift
- swiftui
- typescript