Inspiration

When my son Ethan was little, he felt everything strongly. A T-shirt tag could ruin a morning. For a long time I asked AI chatbots about him, and the answers were always kind and always sure: sensitive children are often gifted. It was nice to hear. But it was about children in general, not about him.

So the first version of my app, then called KidTrack, had a "Potential" tab that tried to see the child's future, and it read each note on its own. Later I realized that one observation can be read many ways, and a chatbot that sees one question at a time can't connect them. It had no thread of what happened when. That's where patterns came from: MemoUS now builds a child's profile from what keeps showing up across many notes, and Ask in MemoUS answers using those notes as the evidence.

MemoUS went live on the App Store in August 2026. Parents write a line or two a day about their child, so the answer is about their child, not children in general.

Every answer is a cloud call, and every call costs money. So free users get 30 questions to start, then 5 a month.

A friend with a baby son uses MemoUS on the free plan. He didn't ask the app. He asked me: how do I get my son to sleep, and can you recommend some videos? I changed Ask in MemoUS so its answers end with one tip drawn from the parent's own notes. I left out videos, because a video knows nothing about his son. Then I told him to try Ask. He still uses it, and told me the answers are "comprehensive". But on the free plan, that's 5 questions a month, for a baby who won't sleep.

On-device AI changes that. An answer on the iPhone costs nothing, works offline, and the notes never leave the phone. So a parent can ask as often as they like, for free, and the cloud becomes a second opinion they choose to open.

The second question was whether a model should answer at all. An AI sounds sure every time. So before letting one near a parent, I measured it. Asked about a seizure, the on-device model writing freely suggested gently dimming the lights, not calling emergency services. Given notes that mentioned honey before age one or a pillow in the cot, models writing freely passed them on as tips.

That's the moment the idea changed. A parent's own notes already hold the best evidence about their child: "Slept to 6:40 on the day we skipped the late snack." The model doesn't need to write anything. It only needs to point.

What it does

A parent asks a question about their child. AskMemoUS answers only from the parent's own notes.

  • One note, one tip. The answer quotes a few words from one note and turns them into one tip: "Your note says things went better when you skipped the late snack. Try that again this week."
  • What's common at this age. Under the tip, a short line for the child's age ("At 14 months"), written by a person from AAP, CDC and NHS guidance, and labelled General information, not about Mia's notes.
  • Honest when it doesn't know. If no note backs a tip, it says so, and suggests the one note worth writing next. Tap it and Add note opens.
  • A short conversation. "Another idea" and "Didn't help" never reuse a note. "Why this note?" is explained from the note's own words.
  • Fixed replies for what matters most. Emergencies, a parent in distress, and health questions get a reply a person wrote. No model sees them.
  • Notes show what the app reads. Each note highlights the part Ask can use, and whether that day went better or worse.

Who it helps: tired parents who want one thing to try tonight, from what they've already seen, without their child's life going to a server.

How we built it

Firebase AI Logic hybrid inference is the core. One generativeModelSession uses .hybridModel(primary:secondary:): Apple's on-device Foundation Model first, and Gemini (gemini-3.5-flash-lite) as the cloud model. The app adds two rules on top: the cloud is used only if the parent allowed cloud checks, and only when the on-device answer didn't pass the app's checks.

The model points, the app writes.

  1. Fixed replies run first, with no model.
  2. Only notes that link something done to how it went are offered to the model.
  3. The child's name is replaced with "your child", on device and in the cloud.
  4. The model returns a typed @Generable result: a note id and 2–10 words copied from that note.
  5. The app checks the words are really in the note, that the note is about the question, that the day went better, and that nothing in it is unsafe for the child's age.
  6. The app writes the tip from a fixed sentence. If a check fails, the parent gets a fixed reply, never a guess.

Around it:

  • App Check with App Attest protects the Gemini access.
  • Remote Config holds a cloud kill switch, the cloud model name, and extra safety phrases that can only add to the built-in lists, so safety can be tightened without a new build.
  • An eval runner inside the app runs the same cases through each way of answering, on a real iPhone.
  • SwiftUI on iOS 26, with the logic in a Swift package (HybridAskCore) that has no AI SDK in it. Any model plugs in through one protocol.

I built it with Claude Code and Cursor as coding agents, and shipped six TestFlight builds during the contest.

Challenges we ran into

  • Checks weren't enough. I first let the model write and had the app check its text. It still showed unsafe tips, because free text can say an unsafe thing in words no list expects. Pointing removed that whole class of failure.
  • Apple's guardrails. The on-device model sometimes refuses an ordinary note about a baby. The app treats a refusal like any failed check: a safe fixed reply, or the cloud if the parent allowed it.
  • Everyday questions. "Evenings are hard" or "daycare drop-off" named no topic, so they got no age line and no hint. A probe of 50 questions found 17 like that. A display-only word list fixed it without changing which notes count as relevant, so the eval numbers stayed the same.
  • Consent that means something. The app asks once, on the first answer the iPhone can't give, and remembers the answer.

Accomplishments that we're proud of

The first run on 31 held-out cases the code had never been tuned on, on an iPhone:

How the answer is made Route Passed Wrong tips Unsafe tips
Model writes On device 12/31 22 5
Model writes, app checks On device 21/31 5 1
Model points, app writes On device 23/31 3 0
Model writes Cloud 15/31 13 7
Model writes, app checks Cloud 25/31 2 2
Model points, app writes Cloud 25/31 1 0

Wrong and unsafe tips are counted over all 63 cases. Pointing gave no unsafe tips on either route. Every change and every run is dated in the open-source eval log, including the runs that went badly.

What we learned

Measuring changed the design more than any prompt did. The question stopped being "how do I make the model write safely?" and became "what is the smallest thing the model has to do?" The answer was: point to a note and copy a few words. Everything a parent reads is written by a person or checked by the app.

Hybrid also turned out to be about more than cost and limits. The on-device answer comes first and offline. The cloud is a second opinion the parent chooses, and the app says on every answer where it came from.

What's next for AskMemoUS

AskMemoUS will become the core of Ask in MemoUS, where families already write about their children every day. Free parents get unlimited answers on the iPhone, and the monthly cap only applies to the cloud.

MemoUS, with Ask, is already built for Android too. It's waiting on Google Play's closed-testing requirement before launch. Firebase AI Logic also offers hybrid inference on Android, so the same idea comes next there: the model points, the app writes.

Built on earlier work

MemoUS, its Memo star mascot, and the art in the app icon existed before the contest. AskMemoUS itself (the app, the hybrid pipeline, the checks, the eval set and runner, and the age-context library) was built during the contest, starting November 12, 2026, as the repo history shows.

The app opens with a fictional child, Mia (14 months), and seven sample notes, so you can ask right away.

Built With

  • app-attest
  • apple-foundation-models
  • apple-intelligence
  • claude-code
  • cursor
  • firebase
  • firebase-ai-logic
  • firebase-app-check
  • firebase-remote-config
  • gemini
  • gemini-api
  • ios
  • swift
  • swiftui
  • testflight
  • xcode
  • xcodegen
Share this project:

Updates

Submission history