Skip to main content

MandiShield is an open-source multimodal agro-chemical and seed forensic inspection engine powered by Google Gemma 4 (gemma-4-26b-a4b-it & local edge Ollama), safeguarding India’s 140 million smallholder farmers against the ₹25,000 Cr counterfeit agricultural input crisis.

Key Capabilities:

  1. Real Laboratory & Raid Test Cases: Pre-loaded with authentic high-resolution forensic photos—including an enforcement raid seizure of illicit warehouse containers (Case 1) and laboratory tray seed morphology with cracked dyed grains (Case 1).
  2. Autonomous Vision Forensics: Scrutinizes bottle packaging, micro-typography, dot-matrix vs flat-print batch numbers, and Rule 19 toxicity diamonds (Red/Yellow/Blue/Green) against oral LD50 values under the Insecticides Act 1968.
  3. Seed Coating & Purity Morphological Inspection: Evaluates fungicide coating uniformity (pink Thiram/Captan) vs illegal food dyes, inert matter/chaff %, and non-viable embryos under Seeds Act 1966.
  4. Statutory Gazette Interception: Direct lookup across 27 banned/restricted pesticides in India and instant detection of non-pesticide adulterants (water, chalk, kerosene, textile dye).
  5. Comprehensive Chemical & Sector Dossiers: Details whether compounds are normally dangerous for humans (Extreme / Moderate / Safe Organic), symptoms of toxicity, first-aid antidotes, and approved Indian crops.
  6. Real Multilingual Voice Advisories: In-memory MP3 audio speech players in Tamil (தமிழ்), Hindi (हिन्दी), Telugu (తెలుగు), and English with 1-click WhatsApp voice note download for rural farmers.
  7. Automated District Agricultural Officer (DAO) Complaint Generator: Produces Section 29 formal legal petitions ready for filing with state regulatory bodies.
  8. Dual-Engine Architecture: Works via hosted Google Gemma 4 (26B MoE with Thinking Mode) and 100% offline edge mode on quantized local Gemma 4 via Ollama.
  9. 19/19 Passing Automated Tests: Comprehensive regression suite covering statutory edge cases and chemical dossiers.
  10. Agent Skills Standard: Standard-compliant manifest at skills/mandishield/SKILL.md conforming to agentskills.io.

Built with

pythonstreamlitgoogle-genaigemma-4ollamagttspillowdocker

Prize Categories Entered

  • Deepmind Google

    Best Use of Gemma 4

    Submitted
  • DigitalOcean

    Best Open-Source AI Project

    Submitted