Kaagazकाग़ज़ Open the app

How Kaagaz works

Kaagaz understands a household paper or message, remembers what it asks for, and protects against the ones that are scams. It is built for a parent who handles the family's papers, and for the son who wants to know before something slips.

The loop

  1. UnderstandA photo of a bill, notice or message screenshot, or a spoken instruction in Hindi, Hinglish or English. Gemma 4 reads it and returns the amount, the last date, what to do and what happens if it's missed, each with the exact words it came from.
  2. ConfirmA card reads it back in English or Hindi. A field the paper's words don't support is outlined for checking. Nothing is saved until the tap.
  3. RememberOne Temporal workflow per paper reminds 30, 7 and 1 days before the date, or on the day he chose with "Later".
  4. Follow throughIf it still isn't done, the son gets an alert. Renewals that come every year are offered again for next year when marked done.
  5. ProtectEvery scan is checked for scam warning signs. A suspicious message gets a red stamp, the words that raised it, and a one-tap "Tell my son".

The rules it never breaks

  1. Never invent a fact. Amount, date and consequence come only from the paper or his words, each with its evidence. No evidence, no value.
  2. Nothing is saved without confirmation. Only the confirm tap writes to the database and starts a workflow.
  3. Real papers stay off the public demo. The public site is for the fictitious sample papers; real family papers use private mode.
  4. Temporal never sees content. Workflows carry IDs and dates only. Titles, amounts and text live in MongoDB.
  5. A scam warning is evidence, never a verdict. Every sign carries the words that triggered it, and the server checks those words before showing it. Kaagaz never says "safe".
  6. Both languages say the same thing. Every message exists in English and Hindi; the model writes its summary and answers in both, in the same call.

The scam check

Scammers send fake "electricity will be cut tonight" SMSs, KYC links and prize messages to exactly the people Kaagaz is for. So every scan is checked, automatically, for seven warning signs:

Gemma proposes the signs and quotes the words for each. The server then checks every quote with plain pattern rules: a "personal payment" sign must actually contain a UPI ID, an account number or a phone number with a pay word, or it's dropped. A strong sign, or a threat plus a phone number, gives a red warning; weaker signs give an amber caution; no signs say nothing. A genuine bill with a due date and a helpline is not a warning sign on its own.

Yearly renewals

Insurance, property tax and certificate renewals come back every year. When one is marked done, Kaagaz offers the same reminder for next year's date. Next year's amount isn't known yet, so the card shows last year's amount instead of guessing; 29 February becomes 28 February, and tapping twice adds it once.

Architecture

Phone to FastAPI to Gemma and ElevenLabs; FastAPI and Temporal workflows share MongoDB; Temporal sends reminders and alerts the son. Phonephoto · voice · tap FastAPIchecks every fact Gemma 426B hosted · E4B on a laptop ElevenLabsHinglish speech in, voice out MongoDB Atlaspapers, history, inbox Temporal workflowstimers for months, retriesIDs and dates only reminders to Papa · alert to the son (web push + inbox)
Temporal holds every timer, so reminders don't depend on the API being awake; a scheduled worker also runs four times an hour.

Privacy and private mode

Public demo (this site)Private mode (family laptop)
GemmaGemma 4 26B via the Gemini APIGemma 4 E4B via Ollama, on the laptop
Speech to textElevenLabs ScribeWhisper, on the laptop
VoiceElevenLabsThe browser's own voice
Photos and voice leave the device?Yes, so use the sample papersNo; only confirmed reminder details sync

Photos and recordings are held temporarily on the processing host, then removed after processing or by cleanup. Demo households expire automatically.

Measured, not assumed

Kaagaz is scored on 26 fictitious documents (6 of them scam messages), each photographed in four simulated conditions (clean, tilted with a shadow, dim and noisy, creased and blurred), plus 20 typed instructions and 8 synthetic-voice clips mixed with room noise. All names and numbers are invented; photo conditions and voices are simulated, not real phone photos or real elderly voices.

Gemma 4 26B (public demo), run on 2 October 2026

100%paper fields exactly right (412 of 412)
0wrong amounts or dates that were not highlighted
24/24scam messages given the red warning
0 of 80genuine papers wrongly given the red warning
Photo condition (simulated)Fields rightSilent errors
Clean103/1030
Tilted on a table, with a shadow103/1030
Dim light, sensor noise, heavy JPEG103/1030
Creased, rotated, blurred103/1030
InstructionsFully right
Typed (Hindi, Hinglish, English)20/20
Spoken (synthetic voice + noise → speech to text → Gemma)8/8
Time per callmedian 9.7 s, 90th percentile 13.4 s

Read these numbers for what they are. The documents are cleanly typeset and the scams are textbook examples, so a 26B model reads them well even through the simulated damage. Real handwriting, faded carbon copies and cleverer scams will be harder. The safety rules (evidence for every fact, highlighting, the confirmation tap) are there because a perfect score on a test set is not a promise.

Gemma 4 E4B on a laptop (private mode)

On the earlier, smaller set (4 clean papers, 4 spoken instructions): 18/20 paper fields right, one silent error (it copied the late-payment amount on the electricity bill), 3/4 instructions fully right ("atharah hazaar" heard as 14,400), 4–18 s per item on a laptop CPU. The full v2 run on the laptop model was not completed.

This is why every amount and date shows the words it came from, why anything unsupported is highlighted, and why nothing is saved without a tap.

Full tables: eval/results-gemini.md, eval/results-ollama.md; method: eval/README.md.

Back to Kaagaz