SMART KHATA
Your Store, Your AI — SmartKhata OS runs 7 intelli
Created on 17th March 2026
•
SMART KHATA
Your Store, Your AI — SmartKhata OS runs 7 intelli
The problem SMART KHATA solves
Small kirana shopkeepers still rely on manual notebooks (khata) to manage credit, billing, and inventory. This leads to frequent calculation errors, lost or damaged records, difficulty in tracking customer dues, and lack of visibility into overall business performance. As a result, daily operations become inefficient and shopkeepers may lose money due to poor record management.
SmartKhata OS helps shopkeepers digitize and automate their entire workflow. It allows them to create bills using voice commands or camera scanning instead of writing manually. It automatically tracks customer credit, updates inventory after each sale, and provides clear insights into sales, products, and customer behavior. It also includes an AI chatbot that can answer questions about the business, such as total sales or pending credit.
This makes tasks easier by replacing manual work with automation, eliminating calculation errors, providing real-time inventory tracking, and enabling automated reminders for pending payments. It also helps shopkeepers make better decisions using data instead of guesswork.
Overall, SmartKhata transforms traditional kirana shops into efficient, organized, and data-driven businesses, helping shopkeepers save time, reduce losses, and improve their operations.

Challenges we ran into
One of the main challenges we faced while building this project was integrating multiple AI components like voice recognition, product detection, and OCR into a single smooth workflow. Each model worked well individually, but combining them in real time created issues such as delays, inconsistent outputs, and difficulty in mapping AI results to actual shop data. For example, the product detection model could identify objects, but converting those detections into meaningful product entries in the database required additional logic and manual mapping.
Another major hurdle was handling natural language input for voice-based billing. The speech-to-text model could convert voice into text, but interpreting that text into structured billing commands (like quantity, product name, and customer name) was tricky. We solved this by creating a simple rule-based parser and limiting commands to a fixed format for the demo, which improved accuracy and reliability.
We also faced challenges while building the chatbot using local models with Ollama. The model sometimes generated generic answers instead of using actual shop data. To fix this, we implemented a basic retrieval approach where we first fetched relevant data from the database and passed it as context to the model, ensuring more accurate and data-driven responses.
Additionally, managing real-time updates between billing, inventory, and khata records required careful handling to avoid inconsistencies. We solved this by centralizing the business logic in backend services so that every transaction updates all related modules together.
Overall, these challenges helped us improve the system design by making it more modular, reliable, and better suited for real-world usage.
Technologies used