Skip to content
Kira

Kira

AI for Indian shopkeepers: udhaar, SMS & voice, EN

Created on 15th February 2026

•

Kira

Kira

AI for Indian shopkeepers: udhaar, SMS & voice, EN

The problem Kira solves

Small shopkeepers across India manage udhaar (customer credit), supplier dues, and daily cashflow using notebooks or memory. They receive transaction clues from SMS, UPI alerts, and informal messages in Hinglish or Hindi but have no simple way to log these, track who owes what, or get actionable advice without complex software.

Kira solves this by:

  1. Multiple input modes — (a) Paste or type messages (e.g. "Ravi ko 500 udhaar diya", "2k aaya from Amit"); (b) Incoming SMS: on-device SMS reader sends raw text to the API; Claude parses and stores pending items; user confirms or dismisses from Home/Alerts to create transactions. (c) Voice: tap-to-speak in Add Transaction; recording is sent to OpenAI Whisper (Hindi/English), transcript is fed into the same AI parser.

  2. Structured parsing — Claude parses with a strict JSON schema (type, amount, party_name, confidence, optional clarification_suggestion). Low-confidence parses prompt the user to confirm before saving.

  3. Customer & supplier intelligence — Customers tracked with pending udhaar and total business; suppliers with pending dues. AI assesses customer risk (credit suggestion) and supplier payment priority (negotiation tips). Results stored with lastAssessedAt / lastAnalyzedAt.

  4. Cashflow & recommendations — Cashflow analysis (7-day/30-day projections, stability, warnings, suggestions) is persisted. An orchestrator can call tools (recent transactions, dashboard summary, customers, suppliers, pending recommendations, cashflow, customer transactions) to gather context, then outputs up to 3 recommendations (collect_payment, pay_supplier, reduce_credit, extend_credit, cashflow_warning, general_advice) and optional agent_decisions (approve/reject per contributing agent), stored in agent logs.

  5. India-first — Bilingual UI and AI (English + Hindi/Devanagari). Expo app (Web, iOS, Android); Replit-ready backend with batch rate limiting and SSE for batch analysis.

Challenges we ran into

Parsing informal Indian language — We use Claude with a strict JSON schema and confidence + clarification_suggestion for ambiguous input. Parser accepts Hinglish variants (udhar/udhaar, 2k/aaya/diya) and run-on sentences.

Orchestrator with tools — The orchestrator can call 7 read-only tools (transactions, dashboard, customers, suppliers, recommendations, cashflow, customer transactions). We use the AI SDK (generateText, stepCountIs(5)) with Anthropic; if tooling fails (e.g. baseURL/404), we fall back to context-only and structured parse. Agent decisions (approve/reject per agent) are logged in metadata.

Incoming SMS flow — On-device SMS reader posts rawText to /api/incoming-sms; we parse and store as pending. User confirms (create transaction + update customer/supplier) or dismisses. Home and Alerts show pending SMS with Add/Dismiss; unread count includes pending SMS.

Voice input — expo-av recording → base64 → OpenAI Whisper (gpt-4o-mini-transcribe) with language hi/en → transcript into message field, then same parser. Handles permissions and recording state in the app.

Persistence and batch — Cashflow analyses stored in DB; orchestrator tool get_cashflow reads latest. Batch analysis (all customers/suppliers + cashflow + orchestrator) uses concurrency limits and retries; progress streamed via SSE.

Tracks Applied (1)

Hackathon Prizes

Kira is built for Build India: Indian small businesses and shopkeepers, Claude for Hinglish/UPI parsing and multi-agent ...Read More

Cheer Project

Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.

Discussion

Builders also viewed

See more projects on Devfolio