Judging criteria at a glance

Signed First is a hybrid AI app for renovation contractors, built with Firebase AI Logic. Gemini Nano drafts on the device in Chrome and on Android, Apple Foundation Models draft on iPhone, and Gemini models in the cloud draft when the device has no model. A different cloud model reads the ask a second time, once you allow the cloud.

Technological Implementation: "How well is the project built, and how effectively does it use Firebase AI Logic hybrid inference as part of the solution?" Signed First turns a client's spoken extra into a priced, signed change order on the job site. Every model call goes through Firebase AI Logic, and each feature has its own mode and reason, the same on web, Android and iPhone. Until you say yes to the cloud, the draft of the extra, the contract clause cards and the job summary run ONLY_ON_DEVICE. After the yes, the draft runs PREFER_ON_DEVICE, because it has to work in a basement, and the clause cards and the job summary run PREFER_IN_CLOUD. The client's contact line and the client note always run ONLY_ON_DEVICE: the details must not leave this device. The second reader runs ONLY_IN_CLOUD, because it is a different model checking the first one. On iPhone, when a draft stays on the device only, the model calls our own price_line function once for each piece of work, and code prices it. Each answer shows which side wrote it, read from the SDK's own inferenceSource on web and Android and modelVersion on iPhone. If the SDK does not say which side answered, the chip says "Source not reported" and never guesses. A draft that runs too long on the device, or comes back in the wrong shape, is tried once more on the same side before the app moves on. Plain code checks every answer against the schema and against the contractor's own words, and code writes every money line the client signs. App Check guards every cloud call: on 18 Nov a call with no token got HTTP 401 and a call with a token got HTTP 200. Sign in is quiet and anonymous, model names live in Remote Config, and Cloud Firestore keeps the job with no signal. Proof: the same note priced at Total +$372.60 with Days added 1 in the cloud, and on the device with the network off. 36 of 36 Firestore rules tests pass, and 22 of them fail against a rules file that allows everything. The 937 web, 1057 Android app, 324 Android kit and 86 browser tests pass (130 browser tests skipped, 0 failed). On iPhone, 174 unit tests and 21 UI tests pass.

Design: "Does the project deliver a complete, coherent product experience, not just a technical proof of concept?" It is a finished tool for one job. Type the ask, read the price card, check the details, hand this device to the client, sign, share the PDF. Around that: a price book, business rates, jobs with their extras, a contract clause, a ledger of each model call and which side answered, model status, a "What goes up" page that shows the exact words sent to the cloud, account linking, and Delete my data. A ready workspace loads a price book and one job so a judge can start at once. On 27 Nov the desktop judge walk followed the steps and passed all 8. The first answer took 8.8 seconds, with 0 console errors. The phone run checked layout only. The signed change order downloaded as a real PDF.

Potential Impact: "Does the project make a credible, specific case for solving a real problem for a real audience, and does the solution address it based on what's demonstrated?" Unsigned extras are where contractors lose money. In a Procore survey of over 500 specialty contractors in the United States, Canada, the United Kingdom, Australia and New Zealand, "Approximately 30 percent of project revenue is lost because of change orders that go unbilled and unpaid" (Procore, 14 Oct 2022). A study commissioned by Clearstory with Dodge Construction Network found that "97% of specialty trade contractors sometimes begin work before a change order is officially approved" (Clearstory, 17 Jun 2026). Those surveys cover commercial trades, not home renovators. The same habit hurts a small renovation crew more, because the extra is agreed out loud on site and argued about at the final invoice. Some places make it the rule: New York City's consumer agency checks that "All change orders to the contract must be in writing and signed by the contractor and the consumer." (NYC DCWP, June 2026). Signed First gets it priced and signed before the work starts, with no signal. We ran it on an extra from a New Zealand Disputes Tribunal decision, where the two sides later disputed whether the extras were in the contract ([2023] NZDT 419, 6 September 2023): "Replace 3 broken windows". The app drafted the line on this device and held the price at "Total not ready" with "Add hours on line 1.", so nothing goes to the client to sign until the contractor's own hours are in.

Quality of the Idea: "Is this a creative, non-obvious use of Firebase AI Logic, and does the team show genuine understanding of the problem space?" Most hybrid apps pick the device for privacy. Here the device is picked because the cloud is not in the room when the price has to be agreed. The model never sets a price or an hour. It only turns the contractor's words into lines. The contractor's own price book supplies the hours and costs, and code does the sums. The cloud is the back office: when signal returns it reads the ask a second time and says "Also asked" if the draft missed something, and it reads the change clause in the contractor's own contract into cards beside each extra.

In short

Signed First is for renovation contractors. The client asks for an extra. You type it the way they said it. A model turns it into lines, code prices them from your own price book and rates, and the client signs on the glass before the work starts. Pricing and signing work with no signal. A draft with no signal needs a device with its own model, or you add the lines by hand.

How we used Firebase AI Logic

Every model call in the app goes through Firebase AI Logic. On web, if the cloud check does not pass, the app says "The cloud check did not pass in this browser. Try another browser."

Feature Mode on web, Android and iPhone Why
Draft the extra PREFER_ON_DEVICE (ONLY_ON_DEVICE until the yes to the cloud) It has to work on site with no signal
Client contact line ONLY_ON_DEVICE Read on this device; saved contact details sync with the job
Client note ONLY_ON_DEVICE Short, and about the client
Second reader ONLY_IN_CLOUD A different model checks the first
Contract clause cards PREFER_IN_CLOUD (ONLY_ON_DEVICE until the yes to the cloud) Long text; this device is the fallback
Job summary PREFER_IN_CLOUD (ONLY_ON_DEVICE until the yes to the cloud) Long text; this device is the fallback

On web and Android the device model is Gemini Nano. On iPhone it is Apple Foundation Models. A draft that stays on the device only calls our price_line function once for each piece of work. Cloud model names come from Remote Config, ordered by the largest free daily limit first: gemini-3.5-flash-lite (500 requests a day), gemini-4-hydrogen (20) and gemini-3.8-flash (20), read from the project's own quota on 17 Nov 2026.

Features and functionality

  • A three card tour, then your business and rates, or a ready workspace.
  • The on device model screen: what this device can do.
  • Home: jobs and New extra.
  • The price card: each line, labour, materials, markup, tax, the Total and Days added.
  • Check the details, then Get it signed: the client ticks "The work has not started." and signs.
  • Share the PDF of the signed change order.
  • A price book, business rates and your contract clause.
  • Ledger: each model call and which side answered; the job ledger as CSV or PDF.
  • Settings: Models, What goes up, Account, Privacy, Delete my data.

The gallery pictures 1 to 5 follow the path from a job to the signed change order. The film shows the client checking the details at 0:32 and signing at 0:47, What goes up at 1:25 and the Ledger at 1:52.

Value proposition

An extra agreed out loud is an extra that is argued about later. Signed First turns it into a priced, signed record in the minute it is asked, from the contractor's own prices, before anyone picks up a tool.

Built during the submission period

All of Signed First was written during the contest, starting 17 Nov 2026. It uses a shared Firebase integration kit (web/kit, android/kit, ios/Kit) that we wrote for our entries in the same period. Open source libraries and their licences are listed in NOTICE.

Check it

Each link opens the exact place in the code.

Honest notes

  • The model drafts lines only. Prices, hours and every money sentence come from code and the contractor's price book.
  • The surveys quoted above are about commercial specialty trades, not home renovation.
  • The cloud is for people 18 and older in 196 countries: the Gemini API regions outside the EEA, Switzerland and the UK.
  • The free cloud allows a small number of requests each day. When it is used up, the app says so and works on the device or by hand.
  • On Android, an on device draft needs a device on Google's Gemini Nano list. Other Android devices draft in the cloud.
  • The privacy policy is at /privacy on the site and behind Privacy in Settings.

Testing

The steps are in docs/JUDGES.md in the repo (see 4.11).

Built With

  • apple-foundation-models
  • cloud-firestore
  • firebase
  • firebase-ai-logic
  • firebase-app-check
  • firebase-authentication
  • firebase-hosting
  • firebase-remote-config
  • gemini
  • gemini-nano
  • jetpack-compose
  • kotlin
  • preact
  • swift
  • swiftui
  • typescript
Share this project:

Updates

Submission history