On-Device AI for Spending Analysis
Akshay Sharma built an Android hackathon prototype to explore whether a phone could turn email text into spending insights without sending the messages to a cloud model. It was a solo entry and one of six finalists at the Edge Deployments & On-Device AI Hackathon at GitHub HQ in San Francisco.
One of six finalists at the Edge AI Hackathon at GitHub HQ
Find useful records in ordinary messages
A purchase confirmation is written for a reader, not an accounting system. The amount, merchant and context might be spread across lines of prose. The project explored two distinct tasks: extracting structured transaction information from message text, then using those records to show categories and spending trends. A successful extraction needed to be useful to the analytics view, not just sound plausible in chat.
The demo provided different entry points for testing models, extracting information from email and reviewing the results. The published screenshot shows those entry points. It is evidence of the prototype interface, not a screenshot of anyone’s inbox or finances.
Make inference fit on a phone
The public extractor repository documents a 1.1-billion-parameter TinyLlama model compressed to four-bit precision, the ExecuTorch runtime, a Qualcomm QNN path and local SQLite storage. Compressing the model is an important practical choice for experimenting within a handset’s memory budget. The repo includes sample emails and scripts to reproduce the extraction demo rather than requiring readers to supply a real inbox.
Running the extraction on-device changes where the message text is handled. It does not, by itself, guarantee that a record is correct or that a future integration would protect every piece of data. The case is about a local inference path, not a promise about unrelated services.
Inside the app
A prototype, not a finance product
This was a solo experiment in mobile AI, with no claim of a production mailbox integration, audited privacy controls or financial accuracy. The organizer’s submission and gallery document the project in the context of the hackathon. The separate implementation repository gives technical readers a way to see how the extraction exercise was put together.
