KiranaAI
Your Kirana Store, Now Autonomous
The problem KiranaAI solves
The Problem Kirana AI Solves
Indian Kirana stores, over 12 million of them, still operate primarily on handwritten ledgers, paper order slips, and WhatsApp messages that get lost in daily chaos. A customer sends a voice note ordering two kilos of flour, one litre of oil, and three packets of noodles while asking about their outstanding balance. The shopkeeper, busy with ten other customers, scribbles the order on a scrap of paper. By evening, the paper is lost, the customer disputes the order, and the khata balance becomes a source of conflict. This happens daily in thousands of stores, costing shopkeepers time, money, and customer trust.
The khata system itself is a nightmare of manual tracking. A customer named Ramesh owes two thousand five hundred rupees for forty-five days. The shopkeeper must flip through a dog-eared notebook to find Ramesh's page, then remember to ask him for payment. But Ramesh visits only once a week, and the shopkeeper forgets every time. Meanwhile, other customers accumulate debt silently. The average Kirana store loses fifty thousand rupees or more annually to unrecovered credit simply because there is no systematic way to track and recover debts.
Split bills create another layer of chaos. Four friends walk in together. One wants rice, another wants noodles, a third wants milk, and they all want to split the total equally. The shopkeeper spends ten minutes calculating, writing four separate entries in the khata, and still makes a math error that leads to an argument later. Customers argue over who owes what, and the shopkeeper gets caught in the middle, losing goodwill and wasting precious time that could be spent serving other customers.
Stockouts are equally damaging. A customer asks for a popular brand of noodles. The shopkeeper checks the shelf and finds it empty because he forgot to reorder. The customer walks to the competitor across the street. This happens five to ten times daily. Each lost sale is fifty to two hundred rupees, and each lost customer may never return. Shopkeepers have no way of predicting demand or knowing when to reorder beyond gut feeling and memory, both of which fail under the pressure of a busy store.
Handwritten lists and voice notes are impossible to process at scale. A customer sends a photo of a list scribbled in a mix of Hindi, English, and Kannada script. Another sends a thirty-second voice note rattling off twelve items. The shopkeeper must listen or decipher, then type everything into some system manually, inevitably missing items or misinterpreting quantities. What should take seconds ends up taking minutes, and the shopkeeper falls behind on other tasks.
Kirana AI solves all of these problems by creating an autonomous operating system that never loses an order, never forgets a debt, and never misses a reorder. It automatically transcribes voice notes, extracts text from handwritten photos, and parses messy multilingual messages into structured orders. It maintains a digital khata ledger where every transaction is logged instantly, and when a customer's debt exceeds a threshold, it automatically sends escalating voice reminders directly to their phone. It splits bills among multiple customers without math errors and updates each person's ledger individually. It analyzes sales patterns to predict stockouts days in advance and suggests exactly how much to reorder. The shopkeeper does nothing except approve the occasional purchase order. Everything else runs automatically.
Challenges we ran into
Twilio Credit Ran Out During Testing
While testing the end-to-end order pipeline with a batch of fifty simulated WhatsApp messages, I discovered that Twilio's trial account credit had been completely exhausted. Each test order was sending real WhatsApp receipts and generating actual Vasooli voice notes through ElevenLabs, which consumed both Twilio messaging credits and ElevenLabs character quotas. Had to create multiple accounts and request Twilio for permission.
Gemini API Quota Exhaustion During Testing
The free tier allows hundred requests per day, but each complex order required two to three Gemini calls due to retries and fallbacks, meaning ten concurrent orders could exceed the quota within seconds. The service would crash with unhandled exceptions, leaving half the orders unprocessed. I solved this by adding a fallback chain to Groq and the heuristic parser ensures that when Gemini is temporarily unavailable, orders still get processed with lower but acceptable accuracy. This made the test suite reliable and the production service resilient to API rate limits.
Tracks Applied (5)
Gemini
Major League Hacking
ElevenLabs
Major League Hacking
MongoDB
Major League Hacking
Sarvam.ai
Sarvam.ai
Gen AI&ML
HackPrix
Technologies used

