-
-
Family app: a letter about Miyuki's day with Ano's picture, and today's notes. Every note and letter shows ON DEVICE or ON CLOUD.
-
Home app: Ano's room with a family photo on her wall, and a pairing code for a family phone. The patch shows where notes are written.
-
Miyuki with the Home app on her table. She doesn't have to operate anything, and her family gets words, never the camera image.
-
Hybrid inference with Firebase AI Logic: on-device AI first (Gemini Nano, Apple Foundation Models), Gemini in the cloud when needed.
-
System architecture: Home and Family apps on Android and iOS, with Firebase AI Logic, Cloud Firestore, Anonymous Auth and App Check.
-
In touch, not in sight: the camera image stays home whenever on-device AI can do the job, and one letter a day goes to the family.
-
A day with Ano: notes during the day, one letter at night, sent when the room wakes, read by the family, and photos back home.

Inspiration
Our parents are getting older, and some live alone. We want to know how their day went. A camera seems like an obvious answer, but we don't want them to feel watched. We don't want to spend our time watching, either.
We wanted something we'd feel comfortable putting in a parent's home. An AI could notice small moments, put them into words, and give us something to talk about when we call. That's where Ano started. In touch, not in sight.
What it does
Anohini Letter has a Home app and a Family app, both native on Android and iOS, built on Firebase AI Logic hybrid inference: on-device AI first, Gemini in the cloud when it's needed, and the route shown on every note and letter.
In our demo, Miyuki is a grandmother who lives alone. The Home app runs on a phone on a stand in her living room. On screen, Ano lives in a room made of felt and embroidery. The camera is her eyes.
Motion can prompt Ano to write a note: one sentence about a camera frame, such as "Someone seems to be watering the plants by the window." She uses on-device AI when it's available and working. Otherwise, Gemini processes the frame in the cloud. The Home app discards the frame afterward. The family never sees the camera image.
At night, Ano turns the day's notes into one short letter, using on-device AI when possible. The local notes used for the letter are then deleted. Notes already shared with the family remain in Firestore.
In the morning, the letter goes out when the Home app detects the room becoming light. It includes the time of that change. If the room stays dark, delivery is due at 9 a.m., with no morning time attached. On screen, Ano posts the letter in her mailbox, and Nihi, the postal cat, collects it.
The Family app is where Yuka, Miyuki's daughter, reads the letter. Ano's letter is a picture diary of Miyuki's day. When the letter has a valid scene, the app asks Gemini to draw Ano's picture from that scene and any available portraits of the people it names. The picture never uses the camera frame.
Each letter wears a gold ON DEVICE or silver ON CLOUD patch. Notes show the same route colors as small dots. Yuka taps Call. Kanata, Miyuki's grandson, sends a photo back, and Ano hangs it on her wall.
There's also a weekly digest, a motion-based late wake-up notice, and portraits drawn from photos shared with each person's consent. The notice follows a fixed rule; it isn't an AI judgment about Miyuki's health.
How we built it

We keep camera processing on the home device whenever possible. The cloud handles fallbacks, pictures, and the longer input for the weekly digest.
Why on-device, and why the cloud
- Privacy. The camera image is the sensitive part, so it stays on the home device whenever on-device AI can do the job.
- Offline and cost. When Gemini Nano handles them, notes every few minutes, all day, need no network and no per-call cloud cost.
- Reach. A phone without on-device AI still works through Gemini in the cloud, and the app says so.
- What only the cloud can do. On-device models write text only and take about 4,000 tokens per request, so pictures and a week of notes go to the cloud.
Shown, not hidden. Every letter wears an ON DEVICE or ON CLOUD patch, and every note a matching dot, based on where the words were written.
Android Home app: Kotlin and Jetpack Compose. Firebase AI Logic tries Gemini Nano with
OnDeviceConfig(mode = ONLY_ON_DEVICE), first PREVIEW, then STABLE, then cloudgemini-2.5-flash. Failing on-device tiers normally sit out for 30 minutes. Background-related failures don't start that cooldown, and returning to the foreground clears it. Generated notes and letters record the response'sinferenceSource.Face naming. Android matches registered faces on the device. Cloud requests for notes exclude registered reference photos and names, though the camera frame itself may contain faces. iOS doesn't name people in notes.
iOS Home app: SwiftUI. For camera notes on iOS 27+, it tries Apple's model through Foundation Models when the model is available and accepts images. Gemini through Firebase AI Logic is the fallback. When Apple's model isn't available, Apple Vision helps skip unchanged scenes before cloud captioning.
The letter and its picture scene. The letter comes from the day's notes. A separate text call describes a scene from the finished letter. Both use on-device AI when possible. Before either cloud call, registered names in the input become "someone".
Pictures and the digest.
gemini-2.5-flash-imagedraws portraits and Ano's picture.gemini-2.5-flashwrites the weekly digest from notes already shared with the family.Firebase. All four apps use App Check. Anonymous Auth and a 6-digit code pair the phones. Cloud Firestore stores the shared data, with security rules covered by emulator tests.

Challenges we ran into
- Gemini Nano's PREVIEW model sometimes failed on our Pixel while STABLE worked. We made the tiers explicit so STABLE gets a chance before the cloud.
- Gemini Nano needs the app in the foreground. That helped shape the product into a docked screen that stays open.
- Kind wording takes work. Our prompts ask Ano to describe apparent activities and leave out clothing, private scenes, and health judgments. A filter removes some appearance phrases and drops notes containing listed private-scene terms.
- Portraits drifted in style, and reference images were copied too literally. We settled on each person's photo and a fixed written description of the style.
- Our test iPhone doesn't have Apple Intelligence. We tested its cloud route; the iOS on-device route is implemented but hasn't been tested on hardware.
Accomplishments that we're proud of
- On-device notes verified on a Pixel 10 Pro, including in airplane mode.
- Notes, letters, pictures, and photos back to the home screen working on real Android and iOS devices.
- The family never sees the camera image. Notes and letters show where their words were written.
What we learned
On-device AI gave us a way to keep a camera frame at home. Building the cloud fallback taught us to make the route visible. Families shouldn't have to guess. And the letter needs to give them something worth talking about when they call.
What's next
- Add push notifications for new letters and late wake-up notices.
- Test release builds with Play Integrity and App Attest, and the iOS on-device route on supported hardware.
- Measure face-naming accuracy and tune motion detection.