Firebase Hybrid AI Hackathon · Web (Chrome)

Your AI cites the page. Footing actually reads it.

Footing iconfooting.edycu.dev

Gemini Nano on the laptop · gemini-3.5-flash-lite in the cloud · code for every quote

Recorded run · the sample answer, final state

Recorded run · played at 4× speed · 9 citationst = 39.6 s

Question asked: What does the research say about intermittent fasting?

  1. 1[1]csays it (cloud)Research on therapeutic intermittent fasts for treating obesity dates back to at least…ON DEVICE→IN CLOUD
  2. 2[1]csays it (cloud)These early clinical studies investigated short-term starvation periods ranging from 1 to 14…ON DEVICE→IN CLOUD
  3. 3[2]csays it (cloud)In animal studies, calorie restriction has been shown to successfully increase lifespan and…ON DEVICE→IN CLOUD
  4. 4[1]csays it (cloud)In human populations, research has evaluated whether intermittent fasting can lower the risk…ON DEVICE→IN CLOUD
  5. 5[2]dlikely not, on device (device)Although it may improve several health outcomes in overweight or obese adults, its…ON DEVICE
  6. 6[2]csays it (cloud)Additionally, research does not consistently demonstrate that intermittent fasting is superior to continuous…ON DEVICE→IN CLOUD
  7. 7[2]cquote not found (cloud)Specific dietary methods evaluated in research include alternate-day fasting restricting intake to 25%…ON DEVICE→IN CLOUD
  8. 8[1]csays it (cloud)Regarding public safety, the United States National Institute on Aging states that current…ON DEVICE→IN CLOUD
  9. 9[1]csays part (cloud)Meanwhile, the New Zealand Ministry of Health notes that while the practice may…ON DEVICE→IN CLOUD
1 of 7checked citations: the source doesn't say it (or says only part)+ 1 likely not, on device (unconfirmed)

1 settled on this laptop · 7 decided in the cloud · 1 quote not found · run total: 8 cloud calls (cap 8 when recorded; now 10)

d device · c cloud · the 1 = row 9 (says part) · the likely = row 5 (no passage, on device)

Footing · v1.1.0 · figures at 418962a01 / 11

The page never said it.

AI answer [2]

“…its effect on lowering blood pressure appears less pronounced than that of continuous energy restriction.”

Page [2]

“No significant differences in blood pressure, heart rate, fasting glucose, and fasting insulin.”
Footing · v1.1.0 · page [2] re-fetched 2026-11-22 15:03 UTC02 / 11

The problem

Nine citations, checked by hand.

Dewi has an AI answer and an essay due. Checking it means opening every source and hunting for the line.

In the sample answer, 3 of 9 citations need a second look.

[1]en.wikipedia.org
[1]en.wikipedia.org
[2]nutritionsource.hsph.harvard.edu
[1]en.wikipedia.org
[2]nutritionsource.hsph.harvard.edu
[2]nutritionsource.hsph.harvard.edu
[2]nutritionsource.hsph.harvard.edu
[1]en.wikipedia.org
[1]en.wikipedia.org
Footing · v1.1.0 · count from the replayed run (slide 8): says part, likely not, quote not found03 / 11

The product

Every citation, vouched in pencil.

Footing fetches each cited page, finds the passage, and marks the sentence: says it, says part, or doesn't.

footing.edycu.dev
Footing — the live page checking the sample answer: each sentence with its pencil mark and an ON DEVICE then IN CLOUD route badge.

Production run, Nano laptop, 2026-11-22 13:01 UTC

Footing · v1.1.0 · cropped · not the slide 8 run (2026-11-22 12:20 UTC): verdicts vary run to run; here code refused row 3's quote04 / 11

Two places to think.

Fetch

no model

Passages

BM25, top 3

Nano

yes or no

ON DEVICE

Cloud

full or partial

IN CLOUD

Quote gate

verbatim, or ?

NO PASSAGEstays here
ALSOPDFs, JS pages

dashed = code

Footing · v1.1.0 · src/lib/route/router.ts05 / 11

Why not one model?

Nano alone

21/30 on the three-way verdict. Under our 24/30 bar.

Cloud alone

All 20 held-out claims go up. With Nano: 19.

Both

Nano reads readable pages locally; the cloud decides every “supports”.

Footing · v1.1.0 · kill test 2026-11-21, Chrome 157, M1 Max · evidence/p0c/ · src/lib/route/router.ts06 / 11

Three routes, three real screens

Where it ran, on every chip.

Footing — two rows on a Nano laptop, each badged ON DEVICE then IN CLOUD; sentence 5 marked doesn't say this.

1Nano laptop: read on device, decided in the cloud

Footing — with the on-device model ready, two PDF citations are checked IN CLOUD only.

2PDF: cloud only, even with Nano ready

Footing — the on-device model is not downloaded.Footing — without Nano: 1 of 6, all decided in the cloud, and a meter: 9 of 9 citations would be read on-device first on a Nano laptop.

3No Nano: the full check, plus the meter

Footing · v1.1.0 · captures in evidence/check/07 / 11

Recorded run · played 4×

Nano triages. The cloud decides.

Recorded run · played at 4× speed · 9 citationst = 39.6 s

Question asked: What does the research say about intermittent fasting?

  1. 1[1]csays it (cloud)Research on therapeutic intermittent fasts for treating obesity dates back to at least…ON DEVICE→IN CLOUD
  2. 2[1]csays it (cloud)These early clinical studies investigated short-term starvation periods ranging from 1 to 14…ON DEVICE→IN CLOUD
  3. 3[2]csays it (cloud)In animal studies, calorie restriction has been shown to successfully increase lifespan and…ON DEVICE→IN CLOUD
  4. 4[1]csays it (cloud)In human populations, research has evaluated whether intermittent fasting can lower the risk…ON DEVICE→IN CLOUD
  5. 5[2]dlikely not, on device (device)Although it may improve several health outcomes in overweight or obese adults, its…ON DEVICE
  6. 6[2]csays it (cloud)Additionally, research does not consistently demonstrate that intermittent fasting is superior to continuous…ON DEVICE→IN CLOUD
  7. 7[2]cquote not found (cloud)Specific dietary methods evaluated in research include alternate-day fasting restricting intake to 25%…ON DEVICE→IN CLOUD
  8. 8[1]csays it (cloud)Regarding public safety, the United States National Institute on Aging states that current…ON DEVICE→IN CLOUD
  9. 9[1]csays part (cloud)Meanwhile, the New Zealand Ministry of Health notes that while the practice may…ON DEVICE→IN CLOUD
1 of 7checked citations: the source doesn't say it (or says only part)+ 1 likely not, on device (unconfirmed)

1 settled on this laptop · 7 decided in the cloud · 1 quote not found · run total: 8 cloud calls (cap 8 when recorded; now 10)

d device · c cloud · the 1 = row 9 (says part) · the likely = row 5 (no passage, on device)

  1. Nano reads all nine; one stays here.
  2. Eight go up, two at a time.
  3. Footed: 1 of 7.

press → to replay the run

Footing · v1.1.0 · run nano-hero-if, dev server, 2026-11-22 12:20 UTC · slide 4 and the video are later production runs (in the video Nano said supports on row 5; the cloud overruled)08 / 11

Measured, not tuned.

Held-out 20

Nano yes/no13/2065%
Cloud 3-way14/2070%
NOT HELD-OUT

Frozen 30

Nano yes/no24/30
Cloud 3-way23/30
1,699 ms device4,095 ms cloud
Footing · v1.1.0 · evidence/summary.json · bench medians, evidence/bench.json, 40 calls per route, M1 Max · different inputs: the cloud reads a longer window09 / 11

What shipped

Shipped, and checkable.

227unit testsnpm test
12E2E tests, live URLPlaywright
1.00Lighthouse performance, accessibility
80/80calls answered where routed
10automatic cloud checks per answer, set in Remote Config
v1.1.0latest release · Apache-2.0
Footing · v1.1.0 · evidence/vitest-2026-11-26.txt (unit) · ci-local-2026-11-22.txt (E2E) · Lighthouse best practices 0.77 (the reCAPTCHA cookie App Check needs)10 / 11

Try it

Check an answer yourself.

  • No login. No Nano needed.
  • Paste any AI answer with its links.
  • github.com/edycutjong/footing

Judge it on a laptop with Nano and one without: the badges say which route ran.

footing.edycu.dev

Footing · v1.1.0 · Apache-2.011 / 11