In touch, not in sight

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

Hybrid inference with Firebase AI Logic

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 cloud gemini-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's inferenceSource.

  • 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-image draws portraits and Ano's picture. gemini-2.5-flash writes 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.

System architecture

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.

Code: https://github.com/anohini/anohini-letter

Built With

  • android
  • apple-foundation-models
  • apple-vision
  • camerax
  • cloud-firestore
  • firebase
  • firebase-ai-logic
  • firebase-app-check
  • firebase-authentication
  • gemini
  • gemini-2.5-flash
  • gemini-2.5-flash-image
  • gemini-nano
  • ios
  • jetpack-compose
  • kotlin
  • media3
  • ml-kit
  • swift
  • swiftui
Share this project:

Updates

posted an update —

Day 6: Submitted, with the demo video, a public repo and a README for judges

The last day. Anohini Letter has been submitted.

What changed since Day 5:

  • Portraits from the photo and words only. The shared style-reference sheet from Day 5 is gone: the image model copied the people on the sheet, hairstyles included. Each portrait is now drawn from the person's photo and a fixed written description of the style: a fine pen line, soft watercolour, the same simple dot-eyed face, the same framing, on cream paper.
  • The letter keeps its hours. Debug builds now follow the same 19:00 and next-morning rules as release builds: Ano writes the letter once the room has been dark after 19:00, and sends it when the room is light again the next morning.
  • A steadier Family app. On a home's page, the header stays in place while the letter and notes scroll.
  • The demo video is out: https://youtu.be/MqdkGv77nGg
  • The repository is public under Apache-2.0, with a README for judges: what runs on the device, what runs in the cloud and why, the system architecture, and how to try it: https://github.com/anohini/anohini-letter

Thank you for following along. In touch, not in sight.

posted an update —

Day 5: Ano draws the day, and the people in it

Since Day 4, Ano's letter can come with a small picture, and the people of a home have their own illustrated portraits.

What runs today:

  • A picture for the latest letter. After writing the night's letter, the terminal also writes a short scene for it: the place, what is happening, up to three objects and the time of day. It does this on the device where it can. The cloud fallback gets the letter with every registered name replaced by "someone". On Android, an on-device scene can also say which of the home's people are in it, up to three. When the letter has a usable scene, the family app draws one picture-diary drawing with Gemini 2.5 Flash Image through Firebase AI Logic. The image model gets only a fixed template, the checked scene and the illustrated portraits of the people in it, never camera frames, the notes, the full letter or any name. The picture is shared by every family phone and shown on the letter paper with the silver cloud patch.
  • A home's people, each with Ano's portrait. A home keeps one list of up to four people, shared by the terminal and the family phones. A person can be added on the terminal with its camera, or from a family phone by taking or choosing a photo. Consent is asked at the photo, in small text on the screen: on the terminal, taking the photo means the person agrees; on a family phone, the app asks you to use a photo only with the person's OK. The name and photo are stored in Firestore for the home's terminal and family phones, and the photo is sent to the image model so Ano can draw the person's portrait. "Draw again" sends the stored photo once more, and once paired, the terminal also draws any missing portraits when it starts. On Android, the same face lets the terminal name the person in its notes, on the device.
  • One look for every portrait. The portraits kept drifting between styles, so every portrait request now includes the same reference sheet: two portraits with different hairstyles. The prompt asks for its watercolour, simple dot-eyed faces, framing and cream paper, and takes the person's hair, glasses and clothes from their photo.
  • More private captions. Both terminals now ask for captions about what people are doing and the room only. They trim asides about clothing and appearance, and drop any caption that still names something private, such as a bath or a bedroom. When the "did anything change?" check falls back to the cloud, registered names are replaced with "someone" first.
  • Several homes on one phone. The family apps on iOS and Android now show all your paired homes together and let you send a photo to one or more of them.

The demo video was filmed today, on the real devices.

Next: editing the demo video, and the submission.

posted an update —

Day 4: Ano goes to bed with the room, and her letter reaches the family

Since Day 3, Ano's room has gained a daily rhythm, and the home terminal now also runs on iPhone.

What runs today:

  • Night follows the room's light, not the clock. Night mode reads only the brightness of sampled camera frames. When the room stays dark, Ano turns off her desk lamp, smiles sleepily and leaves. When the room is light again, she walks back in and stretches.
  • Ano's daily letter (Android). During the day Ano keeps short notes on the terminal. At night she writes one letter from them with Gemini Nano through Firebase AI Logic, falling back to the cloud with the note text when the device can't. Once the letter is written, the day's notes are deleted. When the room is light the next morning, the letter goes to the family with that time, and Ano posts it into her mailbox for Nihi, the postal cat, to collect. Each letter tries to leave one small thing to talk about, never a task.
  • A family app built around the letter. The app now opens on Ano's latest letter on felt letter paper, with a gold (on device) or silver (cloud) patch, the morning time, up to three moments from today and the family's latest photo. Everything else is folded away.
  • The home terminal on iPhone. A native SwiftUI app brings Ano's room, the felt clock and pairing to iPhone, on the same Firestore data. With Firebase AI Logic and Apple's Foundation Models, captions switch between device and cloud: they are made on the device where Apple Intelligence is available, and with Gemini in the cloud otherwise. On iPhones without it, Apple's Vision first checks on the device whether the scene changed.

Next: a small picture-diary drawing for each letter, made in the cloud from the letter's words (never from camera images), and the demo video.

posted an update —

Day 3: Personas, a story, and Ano moves in

Before adding more features, we built the story. We wrote synthetic personas for one fictional family: Teruko (78), who lives alone and refuses to be watched; her son Kenichi, who opens the app for ten seconds on the morning train and really wants a reason to call; his wife Miho, for whom knowing turns into responsibility; and their grandson Haruto, who hates read receipts. We role-played interviews with them and wrote down what we learned. Teruko's fear is not being seen; it is not choosing who sees what. And "as usual today" is itself the news the family wants.

That led to a third presence between them: Ano, an AI mediator that lives in the home terminal. Until now there were only two sides, the parent and the family, and the parent refuses to be watched. Ano stands between them. The camera is Ano's eyes, not a feed. Ano writes to the family in words, and carries photos and words back to Teruko. We turned this into a set of promises (Teruko is not watched, she lives alongside Ano; her privacy stays with her; the usual takes one line; no worrying words; no obligations; every letter leaves something to talk about) and a day in Ano's life that the app will follow.

The heart of that day is Ano's letter. During the day Ano will keep short notes on the terminal. After Teruko goes to bed, Ano will write one letter to the family about the day with the on-device model, and delete the notes; only the finished letter leaves the device. A letter may also carry a small hand-drawn illustration of the day. The on-device model will pick the scene from the letter's words, and Gemini in the cloud will draw it from that scene and Teruko's illustrated character. No camera image will be used for the illustration, and it will carry the cloud route badge like any other cloud result.

Then Ano moved in. Running on our Pixel today: her small room on the home terminal (a desk by the window, a cup of tea, a plant) as a portrait video with 26 motion clips. Each clip starts and ends on a fixed pose, so the clips form a graph; a request takes the shortest chain of clips and switches only at clip boundaries, so nothing cuts mid-motion. Between events she rests on the last frame, with a small movement about once a minute. An embroidered clock and the latest note on a stitched felt card give the screen the room's texture.

Ano is not decoration. We are now connecting app events to her motions, so the key states of the app can be read at a glance:

  • While the terminal writes a note, Ano takes her pen and writes (working on the Pixel today).
  • When a photo arrives from the family, she will lift it up to show it.
  • When Teruko asks Ano to rest, she will sleep at the desk: she is not looking.
  • When the room goes dark, she will switch off her lamp and leave; in the morning she will walk back in and stretch.

The photo and night clips are being generated now.

posted an update —

Progress update: Anohini Letter's hybrid captioning loop now runs on a Pixel 10 Pro, sending families sentences about home instead of video.

  • Captioning: Firebase AI Logic tries Gemini Nano on-device (PREVIEW model, then STABLE), then falls back to Gemini 2.5 Flash in the cloud. The home terminal discards each frame after captioning, and every note shows its route: gold for on-device, silver for cloud.
  • Sending: at most one note every 10 minutes, an on-device check that skips a note when nothing meaningful changed, and an hourly heartbeat note.
  • Family app: a live timeline, a weekly summary written by Gemini in the cloud from the text notes only, and family photos sent back home, where they appear as a photo frame. Photos are downscaled and stripped of location data before upload.
  • Optional names (experimental): family members can be registered on the home terminal itself, and their reference faces stay there. An on-device step compares the camera view with them, so a note can read "[name] seems to be relaxing at home". Cloud captioning never receives the reference faces or names; anyone not registered stays "someone".
  • Several family phones can pair with one home using a 6-digit code. App Check is integrated.
  • Tested by hand on one device so far; accuracy has not been measured yet.

Next: polishing the experience and UI, then recording the demo video.

posted an update —

Day 1: on-device captioning works on a real phone

Today we answered the question the whole project depends on: can the home terminal describe a room without any image leaving the device?

On a Pixel 10 Pro, Firebase AI Logic with ONLY_ON_DEVICE and the PREVIEW on-device model returned a one-sentence caption with inferenceSource ON_DEVICE. We then repeated it in airplane mode with Wi-Fi and cellular off, and still got a caption (about 6.5 s).

The first piece of the home terminal app is also running: the front camera watches for motion without AI, and when something moves, one frame is captioned on-device and then discarded. The screen shows the sentence with a gold "on-device" badge. Next up: syncing captions to Firestore and pairing a family phone with a 6-digit code.

Submission history