Problem Statements Analysis

From what to build to how to build it — our platform helps you understand, plan, and solve SIH 2026 problem statements with complete insights into requirements, solution approaches, technology stacks, architecture, AI/ML, and implementation roadmaps.

Scroll down
01 / SIH 2026

PS: SIH26032

Farmers often face long waiting times, lack of information regarding procurement schedules, and uncertainty about procurement status.

Description: Expected Solution: Develop a platform that: • Enables farmer registration and slot booking. • Provides real-time queue management. • Sends SMS/app notifications. • Tracks procurement and payment status. • Reduces congestion and waiting time at procurement centres.
Organization: Ministry of Consumer Affairs, Food & Public Distribution
Department: Department of Consumer Affairs (DoCA)
Category: Software
Theme: Smart Automationtd>
Youtube Link: Not provided
Dataset Link: Not provided
Contact info: Not provided

1. Executive Snapshot

Indian agricultural procurement operates under vast seasonal volume spikes, where millions of farmers transport harvested grains to designated Procurement Centres (PPCs / Mandis) within narrow time windows [KNOWN]. Due to uncoordinated farmer arrivals, manual registration bottlenecks, and opaque queue management, farmers endure multi-day delays at procurement centres, leading to crop degradation, distress sales, high transit costs, and administrative chaos [KNOWN]. This problem dossier presents the comprehensive technical and operational blueprint for Krishi-Queue (Smart Procurement & Real-Time Token Management System), designed specifically for the Ministry of Consumer Affairs, Food & Public Distribution (Department of Consumer Affairs) [PS]. Krishi-Queue combines dynamic capacity-aware slot allocation, real-time queue status tracking, automated multi-channel notifications (SMS/WhatsApp/IVR), and direct integration with Public Financial Management System (PFMS) and AgriStack frameworks to eliminate mandi bottlenecks, guarantee transparent queueing, and deliver end-to-end payment visibility [INFERENCE].

Field Details
PS Number SIH26032 [PS]
Title Farmers often face long waiting times, lack of information regarding procurement schedules, and uncertainty about procurement status. [PS]
Organization Ministry of Consumer Affairs, Food & Public Distribution [PS]
Department Department of Consumer Affairs (DoCA) [PS]
Category Software [PS]
Theme Smart Automation [PS]
Deadline 30 September 2026 [PS]
Ideas Counter 1/500 [PS]
Fundamental System Objective To deliver a dynamic, low-bandwidth-resilient procurement automation platform that schedules farmer arrivals, manages real-time mandi queues, delivers multi-channel notifications, and provides end-to-end transparency from token issuance to PFMS direct bank payment. [INFERENCE]

2. Problem Deconstruction

The explicit problem description provided in the source JSON states:

"Expected Solution: Develop a platform that: • Enables farmer registration and slot booking. • Provides real-time queue management. • Sends SMS/app notifications. • Tracks procurement and payment status. • Reduces congestion and waiting time at procurement centres." [PS]

Below is the atomic breakdown of every explicit requirement, mapped to its interpretation, implementation implications, and confidence tag:

  • Requirement R1: Farmer Registration and Slot Booking

    • Source Text: "Enables farmer registration and slot booking." [PS]
    • Interpretation: The platform must provide an accessible mechanism (web/mobile/assisted CSC) for farmers to verify their identity, submit land/crop details, choose a nearby procurement center, and select a specific date and time slot for bringing their produce. [INFERENCE]
    • Implementation Implication: Requires identity verification (via Mobile OTP/Aadhaar/AgriStack ID), land parcel verification integration, and a dynamic scheduling engine that enforces mandi capacity constraints based on daily handling limits. [INFERENCE]
    • Confidence: [PS]
  • Requirement R2: Real-time Queue Management

    • Source Text: "Provides real-time queue management." [PS]
    • Interpretation: At the procurement center, the system must track incoming vehicles, manage gate entry tokens, track stage-by-stage processing (weighment, quality check, bagging, storage), and dynamically estimate wait times for queuing farmers. [INFERENCE]
    • Implementation Implication: Demands a state machine workflow engine for PPC officers, a real-time queue dashboard for waiting farmers, and a token scanning mechanism (QR code / Numeric Token / Gate Pass ID). [INFERENCE]
    • Confidence: [PS]
  • Requirement R3: Multi-Channel Notifications

    • Source Text: "Sends SMS/app notifications." [PS]
    • Interpretation: The system must proactively inform farmers about slot confirmations, schedule changes, current queue status, gate entry calls, procurement receipt issuance (J-Form equivalent), and payment updates via SMS and push notifications. [INFERENCE]
    • Implementation Implication: Integration with SMS gateways (DLT-registered templates in India), WhatsApp Business API, push notification services (FCM), and automated IVR voice calls for low-literacy users. [INFERENCE]
    • Confidence: [PS]
  • Requirement R4: Procurement and Payment Status Tracking

    • Source Text: "Tracks procurement and payment status." [PS]
    • Interpretation: Farmers must be able to track the exact lifecycle of their produce from sale authorization to weighment certificate, quality grading, receipt generation, and Direct Benefit Transfer (DBT) credit into their bank account. [INFERENCE]
    • Implementation Implication: Requires audit-logged transaction records, digital receipt generation (J-Form / Purchase Slip), and integration/mocking with Public Financial Management System (PFMS) / e-Kharid payment webhooks. [INFERENCE]
    • Confidence: [PS]
  • Requirement R5: Congestion and Waiting Time Reduction

    • Source Text: "Reduces congestion and waiting time at procurement centres." [PS]
    • Interpretation: System must enforce smooth traffic flow into the mandi, prevent unbooked off-turn arrivals, dynamically throttle daily gate passes based on center throughput, and re-route farmers to alternative nearby centers during overflow. [INFERENCE]
    • Implementation Implication: Implement predictive queue load balancing algorithms, gate-pass entry enforcement at mandi gates, and buffer management algorithms. [INFERENCE]
    • Confidence: [PS]

3. Stakeholders & User Needs

Stakeholder Goal Current Pain System Need
Smallholder & Marginal Farmers [KNOWN] Sell harvested crops at MSP without waiting in queues for days or paying unneeded demurrage/transit costs. [KNOWN] Opaque queue order, lack of schedule information, long waiting times in harsh weather, exploitation by middlemen. [PS] [KNOWN] Simple multi-channel slot booking (SMS/WhatsApp/App/CSC), digital token/gate pass, live queue status updates, and clear payment tracking. [INFERENCE]
Procurement Officers / Mandi Managers [KNOWN] Manage daily grain intake smoothly without traffic blockades or weighbridge congestion. [INFERENCE] Unannounced arrival of hundreds of tractor-trolleys simultaneously, physical fights over queue priority, manual paper logs. [INFERENCE] Digital gate entry scanner, real-time queue queue operator dashboard, automated stage transition logging, capacity override controls. [INFERENCE]
Quality Inspectors & Weighmasters [KNOWN] Accurately test moisture/purity and record weighbridge readings swiftly. [KNOWN] Paper-based recording, dispute over tare weight/quality grade, manual data re-entry causing processing backlogs. [INFERENCE] Handheld digital inspection interface, direct weighbridge integration/mock, auto-generation of moisture/quality slips. [INFERENCE]
DoCA / Food & Civil Supplies Admin [KNOWN] Monitor state-wide/district-wide MSP procurement progress and ensure timely payment disbursement. [KNOWN] Lack of real-time visibility into mandi bottlenecks, delayed payment reconciliation, vulnerability to ghost procurement. [INFERENCE] Centralized GIS-enabled analytical dashboard, bottleneck alerts, automated PFMS payout queue monitoring. [INFERENCE]
Common Service Centre (CSC) Operators / VLEs [KNOWN] Assist non-smartphone/illiterate farmers in booking procurement slots. [KNOWN] Complex web portals requiring high bandwidth, frequent timeouts, lack of clear confirmation receipts. [INFERENCE] Fast, low-bandwidth assisted-booking kiosk mode with instant print/SMS receipt generation. [INFERENCE]

4. Requirements Traceability

Proposed Feature Explicit / Derived Requirement Source Text / Justification Confidence Tag
Farmer Self-Registration & AgriStack/Aadhaar Auth Requirement R1 "Enables farmer registration and slot booking." [PS] [PS]
Dynamic Slot Allocation Engine Requirement R1, R5 "slot booking... Reduces congestion and waiting time" [PS] [PS]
Digital Gate Pass & QR Token Generator Requirement R1, R2 "slot booking... Real-time queue management" [PS] [PS]
Mandi Gate Entry & Weighbridge State Machine Dashboard Requirement R2 "Provides real-time queue management." [PS] [PS]
Multi-Lingual SMS, WhatsApp, & Voice IVR Alerts Requirement R3 "Sends SMS/app notifications." [PS] [PS]
End-to-End Procurement & DBT Payment Tracker Requirement R4 "Tracks procurement and payment status." [PS] [PS]
Procurement Centre Congestion Heatmap & Routing Requirement R5 "Reduces congestion and waiting time at procurement centres." [PS] [PS]
Offline-First PWA Kiosk & Local Sync Environmental Constraint Field realities in rural procurement centers with intermittent connectivity. [INFERENCE] [INFERENCE]

5. Constraints & Environment Realities

  • Geography & Field Conditions: Procurement centres (PPCs) are located across varied terrain ranging from plains to hilly and interior rural areas [KNOWN]. Mandi yards are open grounds prone to heavy dust, heat, or unseasonal rains during procurement seasons [KNOWN].
  • Connectivity Limitations: Mobile internet (3G/4G/5G) at rural procurement yards is frequently congested or intermittent due to high crowd density during peak harvest [KNOWN]. The solution cannot rely on continuous high-speed cloud connection for core gate operations [INFERENCE].
  • Power Constraints: Power outages are common in rural yards [KNOWN]. Devices used by field staff must operate on battery power with low CPU overhead [INFERENCE].
  • Digital Literacy & Language Diversity: A significant percentage of smallholder farmers use basic feature phones (2G) and have low digital literacy [KNOWN]. Platform interfaces must support regional languages (Hindi, Punjabi, Odia, Marathi, Telugu, Tamil, etc.) [KNOWN], while offering 2G SMS and IVR voice interaction channels [INFERENCE].
  • Hardware Availability: Mandis may lack specialized industrial hardware [INFERENCE]. Software must run on standard Android smartphones, tablets, or low-cost POS handheld thermal printing devices [INFERENCE].
  • Operating Speed Constraints: Weighbridge entry and quality checks must take under 2–3 minutes per vehicle to prevent physical tailbacks on public access roads [INFERENCE].

6. Research Questions

  1. What is the average operational handling capacity (trolleys per hour) of standard state-level paddy/wheat procurement centers during peak season? [NEEDS VALIDATION]
  2. How do existing state systems like e-Kharid (Haryana) [RESEARCHED] and e-Procurement (UP) handles off-turn or unbooked farmer arrivals at the mandi gate? [NEEDS VALIDATION]
  3. What are the specific PFMS payment state webhooks or API parameters required for real-time tracking of Direct Benefit Transfer (DBT) funds into farmer accounts? [NEEDS VALIDATION]
  4. What is the fallback mechanism when a farmer's registered mobile number is inactive or inaccessible during slot check-in? [NEEDS VALIDATION]
  5. What fraction of farmers in target pilot districts utilize smartphones versus basic feature phones? [NEEDS VALIDATION]
  6. How are moisture content and quality parameters formally recorded and signed off by FCI/State agency quality inspectors in digital systems? [NEEDS VALIDATION]
  7. What is the legal validity of digital J-Forms / digital procurement receipts generated on mobile apps under APMC regulations? [NEEDS VALIDATION]

7. Data Requirements & Sources

Data Type Purpose Ideal Real-World Source Hackathon Substitute Access Method Availability Privacy Sensitivity Confidence
Farmer Identity & Land Records Verify landholding, crop sown area, and prevent ghost registration. AgriStack Farmer Registry API [RESEARCHED], State Bhulekh / PM-KISAN API [KNOWN]. Mock JSON generator seeded with realistic land plot IDs, Aadhaar hashes, and PM-KISAN IDs. REST API / Mock Service. Public sandbox / Mocked. High (PII) [RESEARCHED]
Procurement Centre Master Data Center location, daily handling capacity, weighbridges count, working hours. State Civil Supplies Department / FCI PPC Directory [KNOWN]. Structured JSON configuration file covering 15 pilot mandis across 3 districts. Local Database / JSON File. Fully Available. Low [ASSUMPTION]
Crop Procurement Quota & MSP Rates Calculate eligible quantity and total payable amount based on notified MSP. Ministry of Agriculture CACP / DFPD Notifications [RESEARCHED]. Static SQLite database table pre-loaded with official 2025–26 MSP rates [RESEARCHED]. Internal SQL query. Fully Available. Low [KNOWN]
Real-time Queue & Token State Track stage of each vehicle inside the mandi. System Generated (Mandi Gate & Weighbridge logs). Simulated real-time Redis/PostgreSQL queue event queue. WebSocket / REST API. Generated live. Medium [INFERENCE]
Payment Status Data Track Direct Benefit Transfer state (Pending, Approved, Disbursed, Failed). PFMS (Public Financial Management System) EAT module API [RESEARCHED]. Mock PFMS state machine simulator triggering webhook callbacks. Webhook / Polling. Mocked for Hackathon. High [RESEARCHED]
SMS/Voice Telemetry Data Audit notification delivery rates, delivery receipts, and IVR responses. Telecom Gateway (Exotel/Twilio/BSNL DLT portal) [KNOWN]. Mock SMS service logger with fallback console output. Webhook / API. Fully Available via API. Medium [ASSUMPTION]

8. Existing Solutions & Gap Analysis

Existing System Description Strengths Weaknesses Relevance Remaining Gap Source Confidence
e-Kharid (Haryana) Digital procurement portal for Haryana, generating e-Gate passes and tracking J-Forms & payments [RESEARCHED]. High adoption in Haryana; direct integration with Meri Fasal Mera Byora and DBT payments [RESEARCHED]. Rigid static scheduling; limited real-time dynamic queue adjustments during local delays [INFERENCE]. Highly relevant benchmark for state-level procurement [RESEARCHED]. Lacks dynamic time-slot re-balancing, live wait-time estimation for queueing trucks, and multi-channel IVR fallback [INFERENCE]. Official Haryana IT / e-Kharid [1.1, 1.4] [RESEARCHED]
UP Wheat/Paddy Procurement Portal Online registration and token booking portal operated by UP Food & Civil Supplies Dept [KNOWN]. Centralized farmer database linked with land revenue records [KNOWN]. Token slotting often fills instantly; no real-time mandi yard congestion tracking or dynamic re-routing [INFERENCE]. Standard state token system [KNOWN]. High congestion still occurs at gate entry due to strict fixed-date arrivals without hourly staggered slots [INFERENCE]. UP Food Dept Public Notices [KNOWN] [KNOWN]
Food Odisha PPAS (Paddy Procurement Automation System) Automated token generation system for paddy procurement in Odisha [RESEARCHED]. SMS token distribution to registered farmers with specific delivery windows [RESEARCHED]. Dependent on basic SMS alerts without interactive slot choice or live mandi queue visibility [INFERENCE]. State-scale token deployment [RESEARCHED]. Farmers cannot choose preferred time slots; lack of real-time wait duration feedback [INFERENCE]. Food Odisha Portal [2.6] [RESEARCHED]
e-NAM (National Agriculture Market) Pan-India electronic trading portal networking APMC mandis [RESEARCHED]. Standardized online bidding and trade transaction workflows [RESEARCHED]. Primarily designed for commercial auction trading, not dedicated Government MSP procurement queue management [INFERENCE]. Infrastructure for mandi digitization [RESEARCHED]. Does not manage gate queue dynamics, weighbridge sequence bottlenecks, or MSP allotment quotas [INFERENCE]. e-NAM Official Site [1.4] [RESEARCHED]

9. Candidate Solution Approaches

Approach 1: Static Time-Slot Booking & SMS Gate Pass System

  • Mechanism: Farmers register on a web/mobile portal, pick an available date, and receive a static SMS token with a date assignment. Mandi gatekeepers manually verify the token code against a daily printed sheet.
  • Required Data: Farmer ID, land size, crop type, selected date, gate pass ID.
  • Architecture: Simple Monolithic Web App (Node.js/Django) + MySQL + SMS Gateway.
  • Complexity: Low.
  • Explainability: High.
  • Cost: Very Low.
  • Scalability: High for basic web traffic, but poor for physical traffic management.
  • Hackathon Feasibility: High (Can be built in 2 days).
  • Production Feasibility: Low (Fails during mandi delays because static slots cannot adjust when weighbridges slow down).
  • Risks: Unmanaged congestion inside the yard when processing lags behind scheduled arrivals [INFERENCE].

Approach 2: Dynamic Capacity-Aware Queue & Automated Notification Platform (Selected Approach)

  • Mechanism: Integrates dynamic slot booking with real-time stage-by-stage mandi queue tracking (Gate -> Weighbridge -> Quality Check -> Offloading -> J-Form). The system continuously computes live average processing time per vehicle. If queue length exceeds safety thresholds, it automatically triggers schedule adjustments, notifies upcoming farmers via SMS/WhatsApp/IVR to delay arrival, and provides interactive dynamic slot re-booking.
  • Required Data: Farmer identity, land/crop quota, GPS/Mandi capacity parameters, real-time stage timestamp events, PFMS payment logs.
  • Architecture: Microservices/Modular Monolith + React/PWA Frontend + Node.js/Python Backend + Redis Queue Engine + PostgreSQL + Multi-channel Gateway (SMS/WhatsApp/Bhashini Voice) + Sync Service.
  • Complexity: Moderate-High.
  • Explainability: High (Rule-based queue management + statistical wait-time estimation).
  • Cost: Moderate.
  • Scalability: Excellent (Horizontal scaling of API endpoints and queue processing).
  • Hackathon Feasibility: High (Feasible within hackathon timeframe using mock integration wrappers).
  • Production Feasibility: High (Resilient to real-world mandi operational disruptions).
  • Risks: Requires basic training for mandi gate staff to update state transitions [INFERENCE].

Approach 3: Fully Decentralized Peer-to-Peer USSD & WhatsApp Queue Bot

  • Mechanism: Operates entirely through WhatsApp Bot and USSD shortcodes without a web/app UI. Queue priority is managed purely via chat/USSD interactions, with offline local mesh sync between gate keepers using local Bluetooth/Wi-Fi Direct.
  • Required Data: Minimal text strings, phone numbers, numeric tokens.
  • Architecture: Serverless Bot API + WhatsApp Business API + Offline Mesh DB sync.
  • Complexity: High (Complex mesh sync, high WhatsApp message unit costs).
  • Explainability: Moderate.
  • Cost: High (WhatsApp messaging API charges at scale).
  • Scalability: High digital access, low administrative control.
  • Hackathon Feasibility: Moderate.
  • Production Feasibility: Low (Lacks comprehensive administrative monitoring, auditability, and official reporting required by DoCA).
  • Risks: High risk of message loss, lack of physical verification, high API cost [INFERENCE].

10. Recommended Approach & Why

The Recommended Solution is Approach 2: Dynamic Capacity-Aware Queue & Automated Notification Platform (Krishi-Queue).

Why Approach 2 Wins:

  1. Solves the Core Problem: Unlike static slot systems (Approach 1) that cause massive physical gridlocks when weighbridge operations slow down, Approach 2 dynamically tracks mandi throughput and proactively halts or delays gate pass dispatch to prevent yard congestion [INFERENCE].
  2. Inclusive Multi-Channel Reach: Combines an offline-first Progressive Web App (PWA) for officers and smart farmers with zero-data SMS/IVR voice channels powered by Bhashini AI for feature phone users [INFERENCE].
  3. End-to-End Transparency: Tracks the full workflow from AgriStack land-verified slot booking to digital gate pass, moisture test, weighment slip, J-Form issuance, and PFMS Direct Benefit Transfer tracking [INFERENCE].
  4. Realistic Hackathon Scope: The core event-driven queue state engine, dynamic scheduling algorithm, and multi-channel notification engine can be fully demonstrated in a hackathon setting using modular mock adapters for PFMS and AgriStack [INFERENCE].

Why Alternatives Were Rejected:

  • Approach 1 Rejected: Static scheduling cannot adapt to real-world delays (e.g., weighbridge mechanical failure, unexpected rain), resulting in massive tractor traffic jams outside mandis [INFERENCE].
  • Approach 3 Rejected: Relying solely on chat/USSD lacks the formal administrative governance, state reporting dashboards, and audit-trail enforcement required by the Ministry of Consumer Affairs [INFERENCE].

11. Technical Architecture

Layered Architecture Diagram

+-----------------------------------------------------------------------------------+
|                                 USER CHANNELS                                     |
|  +--------------------+   +---------------------+   +--------------------------+  |
|  |  Smartphone App    |   | Kiosk / CSC Portal  |   | Feature Phone (SMS/IVR) |  |
|  |   (React PWA)      |   |   (Web Frontend)    |   | (Twilio/Exotel/Bhashini) |  |
|  +---------+----------+   +----------+----------+   +------------+-------------+  |
+------------|-------------------------|---------------------------|----------------+
             |                         |                           |
+------------v-------------------------v---------------------------v----------------+
|                            INHERENT API & GATEWAY LAYER                           |
|  +-----------------------------------------------------------------------------+  |
|  | Node.js / Express API Gateway (Rate Limiting, Auth RBAC, JWT / OTP Validation)  |  |
|  +-------------------------------------+---------------------------------------+  |
+----------------------------------------|------------------------------------------+
                                         |
+----------------------------------------v------------------------------------------+
|                          BUSINESS LOGIC & WORKFLOW SERVICES                       |
|  +--------------------+  +----------------------+  +---------------------------+  |
|  | Registration &     |  | Dynamic Slot &       |  | Real-Time Queue           |  |
|  | AgriStack Adapter  |  | Capacity Engine      |  | State Machine             |  |
|  +--------------------+  +----------------------+  +---------------------------+  |
|  +--------------------+  +----------------------+  +---------------------------+  |
|  | Multi-Channel      |  | Procurement & J-Form |  | PFMS DBT Payment          |  |
|  | Notification Engine|  | Receipts Generator   |  | Tracker Service           |  |
|  +--------------------+  +----------------------+  +---------------------------+  |
+----------------------------------------|------------------------------------------+
                                         |
+----------------------------------------v------------------------------------------+
|                              DATA & EVENT CACHE LAYER                             |
|  +-------------------------------------+---------------------------------------+  |
|  | PostgreSQL DB (Main Store)          | Redis Queue & Pub/Sub (Live Engine)   |  |
|  +-------------------------------------+---------------------------------------+  |
+----------------------------------------|------------------------------------------+
                                         |
+----------------------------------------v------------------------------------------+
|                          EXTERNAL MOCK INTEGRATION LAYER                          |
|  +----------------------+  +--------------------+  +---------------------------+  |
|  | AgriStack/Land API   |  | PFMS Payment Webhk |  | NIC DLT SMS Gateway       |  |
|  +----------------------+  +--------------------+  +---------------------------+  |
+-----------------------------------------------------------------------------------+

Detailed Data-Flow Narrative

  1. Farmer Registration & Slot Booking:

    • The farmer accesses the system via PWA, CSC Kiosk, or IVR toll-free call [INFERENCE].
    • Enters Mobile Number + Aadhaar / AgriStack ID. System queries the AgriStack Mock API to verify land ownership and maximum permissible crop quota (e.g., 50 Quintals of Wheat) [INFERENCE].
    • System displays available Mandis within a 25 km radius, along with available date/time slots calculated based on daily mandi throughput limits [INFERENCE].
    • Farmer selects a slot. The system generates a Digital Gate Pass containing a unique QR Code and 6-digit numeric token ID, dispatched immediately via SMS/WhatsApp [INFERENCE].
  2. Mandi Gate Arrival & Queue Processing:

    • On the scheduled date, the farmer arrives at the Mandi gate. The Gate Officer scans the QR Code or enters the 6-digit token on the offline-first PWA [INFERENCE].
    • System verifies the slot window. If valid, the vehicle status changes to GATE_ENTERED, assigning a sequential Queue Position (e.g., Position #14) [INFERENCE].
    • An automated SMS is sent to the farmer: "Gate pass verified. Your queue position is #14. Estimated weighbridge call in 25 mins." [INFERENCE]
  3. Weighbridge & Quality Inspection:

    • The weighmaster scans the token, records Tare/Gross Weight, and submits moisture percentage [INFERENCE].
    • System updates status to QUALITY_APPROVED and assigns an Offloading Bay number [INFERENCE].
    • If quality fails, status updates to REJECTED_WITH_REASON, issuing an official digital dispute slip [INFERENCE].
  4. Procurement Receipt (J-Form) & PFMS Payment Trigger:

    • Upon offloading, the system auto-calculates total net weight, applies official MSP rate, generates a digital J-Form Sale Receipt, and signs it digitally [INFERENCE].
    • Procurement details are pushed to the PFMS Payment Gateway Service [INFERENCE].
    • System streams real-time status updates (PAYMENT_INITIATED -> PFMS_BANK_VERIFIED -> CREDITED) directly to the farmer's app dashboard and via SMS [INFERENCE].

12. Technology Stack

Layer Selected Technology Why Chosen Alternative Considered Why Alternative Rejected
Frontend Channel React.js / Vite (Progressive Web App - PWA) Offline capabilities (Service Workers + IndexedDB), cross-platform, responsive on mobile/desktop. Flutter / Native Android Requires native installation; PWA allows instant browser access without Play Store download.
Backend API Node.js (TypeScript) + Express Asynchronous I/O ideal for real-time WebSocket connections and high throughput queue handling. Python Django Higher CPU memory footprint per connection during concurrency spikes.
Real-time Queue Engine Redis (Pub/Sub & In-Memory Data Structure) Sub-millisecond latency for maintaining sorted queue sets and live dynamic slot lookup. RabbitMQ Overkill for simple sorted queue operations; Redis provides both caching and fast data structures.
Primary Database PostgreSQL Robust ACID compliance for audit trails, structured relational schema, geospatial (PostGIS) capabilities. MongoDB Relational data integrity (Farmers, Parcels, Tokens, Receipts, Payments) requires strict ACID compliance.
AI/ML Engine Python (FastAPI + XGBoost / Scikit-Learn) Fast execution for wait-time estimation and mandi throughput prediction models. TensorFlow / PyTorch Deep learning models add unnecessary latency and complexity for tabular queue time estimation.
Multi-Channel Comms Twilio / Exotel API + Bhashini AI API Bhashini enables voice translation in Indian regional languages; Twilio/Exotel handles fallback SMS/IVR. Bare SMS Gateway Lacks natural voice processing and automated regional language translation.
Hosting & Container Docker + Google Cloud Run / Render Containerized deployment, automatic autoscaling during peak hackathon demo evaluation. Traditional VPS (EC2) Manual server configuration and scaling bottlenecks during load evaluation.

13. AI/ML Justification

AI Component 1: Mandi Congestion & Processing Time Predictor

  • Purpose: Dynamically predict expected wait times per vehicle and calculate maximum optimal slot allowances per hour based on historical mandi speed, crop volume, weather, and labor availability [INFERENCE].
  • Model Type: XGBoost / Random Forest Regression [INFERENCE].
  • Input: Mandi ID, time of day, active weighbridges count, vehicle type (Tractor vs Small Truck), total crop volume queued, current weather condition [INFERENCE].
  • Output: Predicted processing time per vehicle (in minutes) and estimated wait time [INFERENCE].
  • Data Required: Historical mandi log records of gate entry to offload completion times [INFERENCE].
  • Why AI is Preferable: Static averages fail because offloading speed varies dynamically based on crop moisture, labor crew size, and vehicle type [INFERENCE].
  • Evaluation: Mean Absolute Error (MAE) in minutes [INFERENCE].
  • Failure Mode: If prediction fails, system defaults to a deterministic moving-average formula based on the last 5 offloaded vehicles [INFERENCE].
  • Human Oversight: Mandi manager can manually override daily slot capacity if physical disruptions occur [INFERENCE].

AI Component 2: Multilingual Voice & Speech Assistant (Bhashini API Integration)

  • Purpose: Enable low-literacy farmers to register, check queue status, and receive updates in their local dialect via voice IVR [RESEARCHED].
  • Model Type: Bhashini Neural Speech Recognition (ASR) & Text-to-Speech (TTS) models [RESEARCHED].
  • Input: Audio stream from phone call / app voice button [INFERENCE].
  • Output: Synthesized speech response in regional language (Hindi, Punjabi, Odia, etc.) [INFERENCE].
  • Data Required: Pre-trained Bhashini Indian language speech corpora [RESEARCHED].
  • Why AI is Preferable: Rule-based keypad IVR (DTMF) is confusing and difficult for non-literate farmers [INFERENCE].
  • Evaluation: Word Error Rate (WER) and Task Completion Rate [INFERENCE].
  • Failure Mode: Falls back to human CSC operator or simple DTMF keypad options ("Press 1 for Queue Status") [INFERENCE].
  • Human Oversight: High-value transactions (e.g., slot cancellation) require explicit OTP confirmation [INFERENCE].

Where AI Should NOT Be Used:

  • Slot Allocation & Priority Order: AI MUST NOT be used to decide which farmer gets priority or slot eligibility. Queue ordering and eligibility MUST remain 100% deterministic, rule-based (First-Come, First-Served within booked windows), and transparent to prevent bias, corruption, or legal disputes [INFERENCE].

14. Data Architecture & Offline/Low-Network Design

Database Schema (Core Tables)

-- Farmers Master Table
CREATE TABLE farmers (
    farmer_id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
    agristack_id VARCHAR(50) UNIQUE NOT NULL,
    full_name VARCHAR(100) NOT NULL,
    mobile_number VARCHAR(15) NOT NULL,
    district VARCHAR(50) NOT NULL,
    bank_account_hash VARCHAR(64) NOT NULL,
    created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);

-- Land & Crop Eligibility
CREATE TABLE land_parcels (
    parcel_id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
    farmer_id UUID REFERENCES farmers(farmer_id),
    khasra_number VARCHAR(50) NOT NULL,
    crop_type VARCHAR(30) NOT NULL,
    verified_area_hectares DECIMAL(5,2) NOT NULL,
    max_procurement_quota_qtl DECIMAL(8,2) NOT NULL
);

-- Procurement Centres (Mandis)
CREATE TABLE procurement_centres (
    centre_id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
    centre_name VARCHAR(100) NOT NULL,
    district VARCHAR(50) NOT NULL,
    weighbridge_count INT DEFAULT 2,
    max_hourly_capacity_qtl DECIMAL(8,2) NOT NULL,
    is_active BOOLEAN DEFAULT TRUE
);

-- Slot Bookings & Tokens
CREATE TABLE slot_bookings (
    booking_id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
    farmer_id UUID REFERENCES farmers(farmer_id),
    centre_id UUID REFERENCES procurement_centres(centre_id),
    token_number VARCHAR(20) UNIQUE NOT NULL,
    booking_date DATE NOT NULL,
    time_slot_start TIME NOT NULL,
    time_slot_end TIME NOT NULL,
    estimated_quantity_qtl DECIMAL(8,2) NOT NULL,
    status VARCHAR(20) DEFAULT 'BOOKED' -- BOOKED, CHECKED_IN, WEIGHED, COMPLETED, CANCELLED
);

-- Real-time Queue Events
CREATE TABLE queue_events (
    event_id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
    booking_id UUID REFERENCES slot_bookings(booking_id),
    stage VARCHAR(30) NOT NULL, -- GATE_ENTRY, WEIGHBRIDGE_TARE, QUALITY_CHECK, WEIGHBRIDGE_GROSS, JFORM_ISSUED
    recorded_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
    recorded_by_user VARCHAR(50) NOT NULL
);

-- Procurement Receipts (J-Forms) & Payment
CREATE TABLE procurement_transactions (
    transaction_id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
    booking_id UUID REFERENCES slot_bookings(booking_id),
    net_weight_qtl DECIMAL(8,2) NOT NULL,
    moisture_percentage DECIMAL(4,2) NOT NULL,
    msp_rate_per_qtl DECIMAL(8,2) NOT NULL,
    total_amount DECIMAL(10,2) NOT NULL,
    jform_pdf_url VARCHAR(255),
    pfms_ref_number VARCHAR(50),
    payment_status VARCHAR(20) DEFAULT 'PENDING' -- PENDING, INITIATED, SUCCESS, FAILED
);

Offline & Low-Network Synchronization

  • Local Storage: The PWA uses IndexedDB via Dexie.js to store local scan logs, gate verification lists, and offline queue events [INFERENCE].
  • Synchronization Flow: When mandi connection drops, the gate entry application queues state transition records locally. A background Service Worker monitors navigator.onLine and automatically syncs batch records to backend /api/v1/queue/sync upon reconnection [INFERENCE].
  • Conflict Handling: Server-authoritative timestamping. If two officers log an entry offline, the server orders events based on cryptographically signed local device sequence counters [INFERENCE].
  • Bandwidth Reduction: API payloads utilize lightweight JSON compression (gzip/brotli), and images (quality certificates) are compressed on-device before upload [INFERENCE].

15. Security, Privacy & Governance

  • Personal Identifiable Information (PII) Protection: Farmer phone numbers are masked in public dashboards (98****3210). Bank details are stored as SHA-256 hashes with salt; unencrypted numbers are transmitted only to PFMS via secure TLS 1.3 channels [INFERENCE].
  • Location Data: GPS coordinates of mandis and gate check-ins are verified to prevent fraudulent remote check-ins. No continuous tracking of farmers is performed [INFERENCE].
  • Authentication & Role-Based Access Control (RBAC):
    • Farmers: OTP-based mobile authentication.
    • Mandi Officers: Multi-Factor Authentication (MFA) linked with government employee credentials.
  • Auditability & Non-Repudiation: Every state transition (Gate entry, quality grade, weighment reading) is cryptographically signed with the officer's session key, creating an unalterable audit log [INFERENCE].
  • Regulatory Compliance: Compliant with India's Digital Personal Data Protection Act (DPDP Act) 2023 [KNOWN] and CERT-In cybersecurity guidelines [RESEARCHED]. Data resides exclusively on MeitY-empaneled cloud servers within India [KNOWN].

16. MVP Scope (Hackathon Build)

In Scope

  • Farmer Registration & Slot Booking Engine: Full web/mobile flow allowing farmers to register, pick mandis, select dynamic time slots, and receive digital tokens [INFERENCE].
  • Mandi Gate Keeper App: PWA interface for scanning QR code tokens, verifying eligibility, and updating queue states (Arrived, Weighbridge, Offloaded) [INFERENCE].
  • Live Mandi Queue Dashboard: Real-time visual view displaying current token being processed, total vehicles in queue, and estimated wait duration [INFERENCE].
  • Multi-Channel SMS/WhatsApp Simulator: Real-time dispatch of SMS alerts and WhatsApp notifications upon slot booking and gate entry [INFERENCE].
  • Procurement & PFMS Payment Status Tracker: Interface showing produce weighment, auto-generated digital J-Form, and step-by-step payment credit status [INFERENCE].
  • AgriStack & PFMS Mock Integrations: Simulated external APIs returning realistic land verification and direct payment webhook updates [INFERENCE].

Described Only / Out of Scope

  • Physical automated weighbridge IoT sensor hardware integration (Simulated via software slider in MVP) [INFERENCE].
  • Full national integration with live state revenue databases across all 28 states [INFERENCE].
  • Telecom carrier-level DLT SMS template approvals (Simulated via Twilio Sandbox / Local Gateway) [INFERENCE].

17. Live Demo Simulation Plan

To deliver a compelling, flawless live presentation without relying on external government APIs during the hackathon evaluation:

  1. AgriStack Land Registry Simulator: A pre-seeded mock service providing realistic land plot data for sample farmers across 3 districts [INFERENCE].
  2. Interactive Weighbridge & Queue Simulator: A dedicated "Mandi Control Panel" tab where judges can click buttons to simulate vehicles arriving at the gate, driving onto weighbridges, passing moisture tests, and completing offloading [INFERENCE].
  3. Live SMS/WhatsApp Delivery: The demo will trigger real-time SMS/WhatsApp messages directly to the evaluators' mobile phones upon booking a slot or advancing queue states [INFERENCE].
  4. PFMS Payment Pipeline Simulator: A step-by-step visual animation showing a mock payment progressing from Submitted to Treasury -> Bank Processing -> Credit Successful (UTR Number Generated) [INFERENCE].
  5. Transparency Disclaimer: Clear labels will explicitly distinguish live simulated interfaces from the production-ready architectural endpoints [INFERENCE].

18. Implementation Roadmap

Target Completion Date: 30 September 2026 [PS]

Phase 1: Foundation & Architecture (Sep 2025 - Nov 2025)
├── Finalize DB Schema & API Specification
├── Setup CI/CD Pipeline & Cloud Sandbox
└── Develop AgriStack & PFMS Mock Adapter Services

Phase 2: Core Queue & Booking Engines (Dec 2025 - Mar 2026)
├── Implement Dynamic Slot Allocation Engine
├── Build React PWA Frontend for Farmers & Mandi Staff
└── Develop Redis-powered Real-time Queue Event Manager

Phase 3: Multi-Channel Communication & AI Integration (Apr 2026 - Jun 2026)
├── Integrate SMS / WhatsApp Notification Gateway
├── Integrate Bhashini Speech-to-Text / IVR Module
└── Build Mandi Congestion & Wait-Time Prediction Model

Phase 4: Testing, Security Audit & Field Trial (Jul 2026 - Aug 2026)
├── Perform Load Testing (10,000 Concurrent Requests)
├── Conduct CERT-In Security Vulnerability Audit
└── Pilot Testing in 2 Selected Model Mandis

Phase 5: Hackathon Presentation & Final Deployment (Sep 2026)
├── Freeze Code Base & Run Final End-to-End Simulation Tests
└── Present Completed Dossier & Working MVP at SIH (Deadline: 30 Sep 2026) [PS]

19. Testing & Validation Plan

  • Functional Testing: Unit testing (Jest) covering slot validation rules, daily capacity overflow checks, and token generation algorithms [INFERENCE].
  • Performance & Stress Testing: K6 load testing to ensure API gateway handles 5,000+ simultaneous slot requests during peak morning booking hours with < 200ms response time [INFERENCE].
  • Usability Testing: Conduct trials with non-tech-savvy users to ensure slot booking via PWA or IVR takes under 3 minutes [INFERENCE].
  • AI Model Evaluation: Evaluate wait-time regression model on synthetic mandi event logs, targeting Mean Absolute Error (MAE) under ±8 minutes [INFERENCE].
  • False Positive / Negative Testing: Verify system blocks unbooked vehicles attempting gate bypass while ensuring legitimate delayed farmers are offered instant re-slotting [INFERENCE].
  • Offline Resilience Testing: Disconnect Wi-Fi/Cellular on Mandi Gate PWA, perform 50 gate entry scans, reconnect network, and verify zero data loss during background sync [INFERENCE].

20. Risk Register

Risk Likelihood Impact Severity Mitigation Strategy
Mandi Gate Network Blackout High High Critical Offline-first PWA caching on IndexedDB with automatic background sync upon network restoration. [INFERENCE]
Off-Turn / Unbooked Farmer Mass Arrivals High High High Physical buffer zone staging outside mandi gate; automated priority re-slotting kiosk at entry. [INFERENCE]
SMS Delivery Failures / Telecom Congestion Medium Medium Medium Multi-channel redundancy (SMS + WhatsApp + Automated IVR Voice call fallback). [INFERENCE]
Weighbridge Hardware Failure Low High Medium Manual weighment entry override mode with Mandatory Officer MFA re-authentication. [INFERENCE]
Ghost Registration / Fake Land Claims Medium High High Mandatory Aadhaar-seeded AgriStack land record cross-verification before slot generation. [RESEARCHED]

21. Cost & Scalability

Hackathon

  • Hosting & Compute: Cloud Run / Render free tier ($0) [INFERENCE].
  • Database & Cache: Managed PostgreSQL & Redis free tier ($0) [INFERENCE].
  • Communications: Twilio / Exotel free trial credits for live evaluator SMS/WhatsApp ($0 - $15) [INFERENCE].
  • Total Hackathon Cost: ₹0 - ₹1,500 ($0 - $20) [INFERENCE].

Production

  • Cloud Infrastructure: Multi-AZ Kubernetes Cluster (GCP / AWS / NIC Cloud) scaling dynamically during peak 2-month harvest procurement seasons [INFERENCE].
  • Telecom & Comms: Bulk government DLT SMS rate (~₹0.12 per SMS) and Bhashini AI compute resources [KNOWN].
  • Scalability Bottlenecks: Primary database write bottlenecks during peak slot opening hours, mitigated by Redis slot caching and asynchronous DB writes via Kafka/RabbitMQ [INFERENCE].

22. Differentiation

Dimension Generic Hackathon Submission Krishi-Queue (Our Solution)
Queue Management Static time slots that fail during real-world mandi delays. Dynamic capacity-aware queue engine that adjusts slots based on live weighbridge throughput [INFERENCE].
Accessibility English/Hindi smartphone app only. Multi-channel accessibility: Progressive Web App, CSC Kiosk mode, SMS, and Bhashini-powered IVR voice bot [RESEARCHED].
Verification Unverified user registration. Land-verified quota checks integrated with AgriStack registry [RESEARCHED].
Payment Tracking Static status text ("In Progress"). End-to-end lifecycle integration tracking PFMS Direct Benefit Transfer webhooks with UTR numbers [RESEARCHED].
Offline Resilience App crashes without internet. Full offline-first IndexedDB PWA state machine for mandi gatekeepers [INFERENCE].

23. Future Scope

  1. ANPR (Automatic Number Plate Recognition) Gate Cameras: Integration with low-cost AI cameras at mandi gates to automatically log vehicle entry without manual QR scanning [INFERENCE].
  2. Moisture & Quality AI Testing: Computer vision analysis of grain samples combined with IoT moisture sensor Bluetooth auto-logging to prevent quality manual tampering [INFERENCE].
  3. Inter-Mandi Dynamic Logistics Routing: System-wide AI that suggests alternative nearby procurement centers with shorter wait times to farmers before they leave home [INFERENCE].

24. Assumptions & Open Items Log

Consolidated Assumptions [ASSUMPTION]

  • [ASSUMPTION] Standard state procurement centers operate 2 functional weighbridges with an average throughput of 12-15 vehicles per hour.
  • [ASSUMPTION] Mandi gate staff will be provided with basic Android smartphones/tablets by the district administration.
  • [ASSUMPTION] Farmers are willing to receive notifications on WhatsApp or SMS.
  • [ASSUMPTION] Mock API endpoints accurately mirror the operational workflows of PFMS and AgriStack.

Consolidated Open Items [NEEDS VALIDATION]

  • [NEEDS VALIDATION] Exact official API contract for state-level PFMS payment tracking webhooks.
  • [NEEDS VALIDATION] Legal framework governing digital J-Form issuance across different APMC state acts.
  • [NEEDS VALIDATION] Field tolerance levels for off-turn unbooked arrivals during emergency crop harvests.
  • [NEEDS VALIDATION] Exact proportion of feature phone users in target pilot districts.

Final Recommendation

Adopt Approach 2 (Krishi-Queue: Dynamic Capacity-Aware Queue & Automated Notification Platform) as the primary architecture for the SIH submission. It combines strong software engineering principles, offline resilience, multi-channel accessibility, and direct alignment with all 5 requirements in the SIH problem statement.

Recommended Stack

  • Frontend: React.js + Vite (PWA) + Dexie.js (Offline IndexedDB).
  • Backend: Node.js + TypeScript + Express.
  • Database & Caching: PostgreSQL + Redis.
  • AI & Voice: Python (FastAPI + XGBoost) + Bhashini API.
  • Comms: Twilio / Exotel API (SMS/WhatsApp/IVR).

Biggest Dependency

Availability of verified farmer land records (AgriStack / State Land Records DB) to prevent unauthorized or ghost slot bookings.

Biggest Risk

Cellular network outages at rural procurement yards during peak harvest crowd density, causing gate entry synchronization stalls.

Biggest Technical Challenge

Designing a real-time, low-latency dynamic queue state engine that re-allocates time slots seamlessly when mandi processing experiences unexpected physical delays.

First 5 Actions

  1. Seed the PostgreSQL database with mock AgriStack land data and 15 pilot Mandi master profiles.
  2. Build the core Redis-backed dynamic slot allocation and booking API.
  3. Develop the React PWA offline-first gatekeeper scanning interface with Dexie.js.
  4. Integrate Twilio/SMS sandbox and test live notification triggers on mobile devices.
  5. Construct the interactive Mandi Weighbridge Queue Simulator for evaluation demos.

Validation Before Coding

  • Validate that slot booking logic correctly caps hourly quota to 100% of mandi capacity.
  • Verify that offline gate pass scans correctly sync with server upon simulated network restoration.
  • Confirm live SMS messages land on target phones within 5 seconds of state updates.

Buildability Score /100

92/100 (Highly feasible for a 4-6 student team using standard Web technologies and mock integration layers).

Confidence

High (90%) - All explicitly stated requirements are fully addressed with concrete, technically proven architectural components.

Research Sources

  1. Title: Haryana farmers can now generate their own Mandi Gate pass from home

    • URL: https://www.babushahi.com/full-news.php?id=191750
    • Source Type: Reputable News / Government Press Release [1.1]
    • Supported Claim: Validates real-world e-Kharid gate pass workflows, digital J-Form usage, and slot booking in Haryana.
    • Reliability: High.
  2. Title: Official Website of Department of Food and Public Distribution (DFPD)

    • URL: https://dfpd.gov.in/procurement/en
    • Source Type: Official Government Portal [2.3]
    • Supported Claim: Confirms Ministry of Consumer Affairs, Food & Public Distribution MSP procurement guidelines and DFPD mandates.
    • Reliability: Official Government Source.
  3. Title: Implementation of AgriStack and Digital Agriculture Mission - PIB

    • URL: https://www.pib.gov.in/PressReleasePage.aspx?PRID=2296209
    • Source Type: Official Press Information Bureau (PIB), Govt of India [4.1]
    • Supported Claim: Confirms AgriStack rollout, Farmer Registry creation (>10.31 Crore Farmer IDs), and integration with MSP procurement.
    • Reliability: Official Government Source.
  4. Title: Government releases funds & directs PFMS EAT module integration for MSP payments - PIB

    • URL: https://www.pib.gov.in/PressReleasePage.aspx?PRID=1699361
    • Source Type: Press Information Bureau (PIB), Govt of India [3.4]
    • Supported Claim: Confirms mandate for Direct Online Payment to farmers using PFMS Expenditure Advance Transfer (EAT) module.
    • Reliability: Official Government Source.
02 / What our

DEVELOPERS SAY

" 30M+ Google Gemini tokens went into researching, analyzing, and understanding all 233 SIH problem statements to make them easier to explore and solve. "
Satyam Kumar
Satyam Kumar
CEO , Full Stack Developer
" The platform makes SIH problem statements much easier to understand. Having everything from the problem details to the procedure in one place. "
Rishabh Ranjan
Rishabh Ranjan
COO , Content Writer
" Oh, you got ads? Well, we need to make money too! But, you can use our platform to help you win SIH and take home the prize money. "
Himanshu Kumar
Himanshu Kumar
CMO , Product Reviewer
03 / Are You

READY TO
BUILD?

Get in touch if you need help bringing your ideas to life, or simply have an interesting idea you'd like to talk through. I'm always open to a conversation and exploring new possibilities together.