Inspiration

An offer says "₹999 a month". The 12-month lock-in, the 18% GST and the ₹2,000 cancellation fee sit in the fine print. Expense trackers start after the money is gone, so we wanted a companion that helps before you pay and keeps helping after.

What it does

Meya is a private AI money companion for Android , iOS, and web, built around four money moments:

  • Understand: paste, photograph or import an offer and see the total commitment, hidden conditions and the source quote behind each one. Audit a contract PDF for terms the ad left out.
  • Remember: save subscriptions and get reminders before payments and renewals.
  • Capture: log an expense in a sentence and confirm it before it is saved.
  • See: spending trends, insights and Ask Meya.

You can also hear results read aloud, and talk to Meya Live on iOS and Android.

For the sample gym offer, the real cost is:

12 × ₹999 = ₹11,988.00, plus 18% GST (₹2,157.84) = ₹14,145.84

plus ₹2,000 if you cancel early.

How we built it

  • Web: JavaScript and Vite, with Firebase AI Logic hybrid inference over Chrome's Prompt API (ONLY_ON_DEVICE, PREFER_ON_DEVICE, ONLY_IN_CLOUD).
  • Android: Kotlin and Jetpack Compose, with Gemini Nano on supported devices and Firebase AI Logic in the cloud (ONLY_ON_DEVICE, then ONLY_IN_CLOUD after consent).
  • iOS: SwiftUI, with Apple Foundation Models on device and Firebase AI Logic for cloud requests.
  • Cloud models, in fallback order: gemini-4-hydrogen, gemini-3.8-flash, gemini-3.5-flash-lite.
  • Security: Firebase App Check with App Attest, Play Integrity and reCAPTCHA Enterprise.
  • Trust rule: the model reads, app code calculates in integer paise, and you confirm. Terms that are not stated stay unknown.

Challenges we ran into

  • Not every phone has an on-device model. On our Android test phone, Meya says so and asks before using the cloud, instead of failing or sending data silently.
  • Screenshots on web: on-device reading was less reliable than cloud, so Smart mode sends screenshots to the cloud only when you allow it.
  • Live voice on web: it is not available yet, because the web connection cannot pass our Firebase App Check security. We kept the protection on, and live voice is offered on iOS and Android.

Accomplishments that we're proud of

  • One idea working across iOS, Android and web.
  • Offers read on the device, in airplane mode, in our iOS demo.
  • A source quote behind each extracted term.
  • Speaking an expense in Telugu and confirming it on screen.

What we learned

  • Hybrid AI needs honest fallbacks: show where each result ran and ask before data leaves the device.
  • Language models are good at reading fine print, but money math belongs in code.
  • Device support varies widely, so cloud fallback has to be designed from the start.

What's next for Meya

  • Live voice on web once the SDK supports App Check on live connections.
  • On-device reading on more devices as platform support grows.
  • More Indian languages and more kinds of offers.

Built With

  • android
  • app-attest
  • apple-foundation-models
  • chrome-prompt-api
  • firebase-ai-logic
  • firebase-app-check
  • firebase-hosting
  • gemini
  • gemini-live-api
  • gemini-nano
  • ios
  • javascript
  • jetpack-compose
  • kotlin
  • ml-kit
  • play-integrity
  • recaptcha-enterprise
  • swift
  • swiftui
  • vertex-ai
  • vite
  • web
Share this project:

Updates

Submission history