Skip to content
ProjectsWritingAboutCVLinks
Hire me
HomeProjectsWritingAboutCVLinks

Have a useful problem?

Let's make the next
thing worth inspecting.

© 2026 Abdul WahidBuilt around evidence, not hype. Privacy
ABDUL WAHID
Home/Projects/Apna Kiryana

Case study, Applied AI

Apna Kiryana
Hackathon · Conversational commerce

A WhatsApp ordering system for a kiryana and wholesale store, built in one day at HackSphere '26 Round 2. Customers order by WhatsApp text, voice note, or a photo of a handwritten list; the system reads the order, checks live stock, applies bulk pricing and credit limits, and replies on WhatsApp — while risky orders (500 kg of sugar, duplicates, large credit from a new number) are stopped and routed to the owner. The model only reads; every price and rule is computed in code.

Built at HackSphere '26 Round 2, GDG On Campus CUI Attock — 5 Dec 2026. Placed 10th.Applied AI
All projects
Visit

Context

The problem

A kiryana and wholesale shop takes its orders on WhatsApp, in whatever form the customer finds easiest: a typed message, a voice note, or a photo of a handwritten list, in English, Roman Urdu or Urdu. Each order has to be read, matched to real stock, priced at the right bulk rate, and checked against the customer's credit before it is promised. A wrong guess on quantity or price is the shop's money, so the system is not allowed to guess at all.

My role: Team lead, Team AXIONS (with Abdul Moiz), GDG On Campus CUI Attock.

Implementation

How it works

The models read

Three models only read: gpt-oss-20b extracts the order from text, Whisper large-v3 transcribes voice notes, and a vision model reads handwritten list photos. Each returns structured items; none of them touches a price.

The code decides

Matching against the catalogue, live stock, bulk pricing, per-customer credit limits and the final total are computed in deterministic Python, so every figure on the receipt is exact and auditable.

Risk stops at the owner

Quantity sanity checks, duplicate detection within 2 minutes, and the credit gate all run before confirmation. Anything doubtful is not guessed: it is routed to the owner's decision queue with the reason attached.

Implementation highlights

  • WhatsApp orders accepted in three forms: typed text, voice notes transcribed with Whisper, and photos of handwritten lists read by a vision model
  • Local units understood: dedh is 1.5, a paao is 250 g, a darjan is 12; orders can be placed in English, Roman Urdu or Urdu
  • Live stock with exact-price substitutes: when the ordered milk was out of stock, the system offered the alternative and stated the exact Rs 20 saving
  • Risk rules in code: quantity sanity, duplicates within 2 minutes, a credit-limit gate that routes large credit from a new number to the owner, and complaints sent straight to the owner
  • Owner dashboard with a decision queue; a confirmed order can be edited by chat and reissued as invoice v2

Evidence

What can be verified

The points below summarize the public repository and owner-provided CV where noted. Read the source for implementation details and the evaluation setup before drawing further conclusions.

Tests47/47 engine tests

The ordering engine's regression suite passes end to end: extraction, matching, pricing, edits and every risk rule.

Verified orderRs 1,450 confirmed

2 kg Super Kernel Basmati rice plus milk, confirmed live; the out-of-stock milk was substituted with the exact Rs 20 saving stated to the customer.

Verified editRs 1,870, invoice v2

The same order edited by chat (rice raised to 5 kg, eggs removed) and reissued as a second invoice version.

ChannelWhatsApp, live

Orders arrive and are answered on WhatsApp via the Green API; the owner sees them in a dashboard with a decision queue.

Boundaries

Limitations and next questions

  • One store with a small seeded catalogue (6 products, 10 customers); it is a one-day hackathon build, not a multi-store platform.
  • The WhatsApp ordering store is held in memory per session, so a server cold start resets an in-progress WhatsApp conversation.
  • Product-photo recognition is less reliable than handwritten lists; a photo of a list is the dependable input.
Evidence-first note: a live demo demonstrates an interface and workflow; it does not by itself validate model quality, security, or real-world impact.

Technical overview

PythonGroqWhisperNext.jsSupabaseGreen API

Project links

Inspect the original implementation and, where available, the live application.

Repository

Live demo

Last content review: 14 October 2026. Details may change as project repositories evolve.

Continue exploring

Related work.

Applied AI

Plan Banao

An agent system built in one day at MTM Hackathon '26 that reads a pack of scattered messages — emails, WhatsApp texts and notices in English and Roman Urdu — and produces a complete, validated plan for a 4-hour hackathon: venue, schedule, food, judging and budget. The language model only reads; every decision and figure is computed and checked in code.

Machine Learning

WhyRisk

A live explainable healthcare risk platform: a LightGBM diabetes risk model trained on 70,692 health records (BRFSS), with patient‑level SHAP explanations and role‑based access for patients, doctors, and admins.