Inspiration
Agriculture is the backbone of civilization, yet for millions of smallholder farmers, farming is a constant, silent battle against insurmountable odds. We were inspired by a stark, heartbreaking reality witnessed across headlines: from the recent devastating Nepal floods and Maharashtra's brutal unseasonal cloudbursts, to crushing droughts that baked fertile soil into dust, a farmer can toil fourteen hours under a scorching sun, only for a single climate disaster or market price crash to wipe out an entire year of labor in one night.
Existing agritech tools do little to change this. They hand a tired, overburdened farmer a passive chat screen and expect them to type complex prompts while standing knee-deep in a muddy field. We realized that what farmers need isn't another chatbot they need an autonomous shield. We built AgriSentinel.OS for The Taskmaster track to eradicate passive software, replacing it with a tireless, 24/7 background multi-agent operating system that pre-empts disasters, pools shared transport to slash logistics overhead, and automates government insurance claims before a human even opens their eyes.
What it does
AgriSentinel.OS is a zero-prompting, autonomous multi-agent operating system designed to protect smallholder farmers 24/7 in the background. Unlike passive chat applications that force exhausted farmers to type complex prompts, AgriSentinel runs continuously to preempt disasters and automate economic workflows:
- Sentinel Scout: Polls live IMD Doppler radar and Open-Meteo feeds to track sudden weather anomalies, temperature, and soil moisture variations.
- Macro Scout: Monitors international shipping lane disruptions and fertilizer import tariffs to predict local market price inflation.
- Swarm Freight Engine: Utilizes the Haversine formula with road adjustment factors to calculate geographical distances (d) between neighboring farms within a 5–15 km radius, clustering harvest volume to pool 10-ton commercial trucks:
$$\text{Savings (\%)} = \frac{\text{Individual Freight} - \text{Pooled Share}}{\text{Individual Freight}} \times 100 \approx 39\%$$
- PMFBY Insurance Filer: Automatically cross-references GPS coordinates and Gemini-segmented crop vision pathology scans to compile official disaster insurance claim dossiers.
- Govt Schemes Evaluator: Matches smallholder land profiles and state databases against active Direct Benefit Transfer (DBT) subsidies and MahaDBT drip-irrigation funds.
- Agronomy Mentalist Synthesis Engine: Acts as the central cognitive brain and strategic reasoning hub (
agents/risk_synthesis.py). It ingests telemetry from all other specialized worker agents to synthesize complex weather, market, global supply chain, and logistics data into a zero-prompting, 5-step daily actionable roadmap and net profit verdict in the farmer's native dialect (English, Hindi, Hinglish, or Punjabi). - Live Agent War Room: Provides a real-time crisis simulation dashboard that triggers black-swan flood, storm, and mandi crash responses with microsecond OpenTelemetry tracing.
How we built it
AgriSentinel.OS is engineered as a production-grade cloud-native platform optimized for reliability and speed:
- Backend & Infrastructure: Built with a high-performance FastAPI asynchronous server deployed natively on GCP Cloud Run, backed by Google Cloud Firestore and high-speed in-memory fallbacks.
- Autonomous AI Mesh: Powered by Google Gemini 3.5 Flash and structured using Google ADK principles to coordinate six specialized background worker agents without blocking I/O bottlenecks.
- Observability: Fully instrumented with OpenTelemetry (OTel) distributed tracing for transparent, microsecond execution audits across all background pipelines.
- Frontend Experience: Developed as a mobile-first Single-Page Application using Tailwind CSS, featuring an interactive DAG topology packet-streaming canvas and Web Speech API multilingual support for regional slangs.
Challenges we ran into
- Asynchronous Mesh Synchronization: Orchestrating six independent background agents without creating blocking latency or race conditions required refactoring our execution pipeline into a non-blocking event-driven DAG architecture.
- Deterministic Crisis Simulation: Building the live "War Room" required designing robust branching simulation logic to ensure distinct, scenario-specific telemetry traces and millisecond timestamp markers for cyclones, mandi crashes, and tariff shocks.
- Low-Literacy Multilingual UX: Translating complex meteorological metrics into intuitive, outdoor-friendly regional voice guidance required an adaptive language router tailored to a farmer's immediate cognitive context.
Accomplishments that we're proud of
- Zero-Prompt Autonomy: Successfully shifting the paradigm from reactive user chat wrappers to proactive, 24/7 background intelligence.
- Tangible Economic Impact: Delivering a validated 39% reduction in transport freight costs and automating PMFBY insurance claim filing in seconds.
- Production-Grade Rigor: Integrating full OpenTelemetry distributed tracing and GCP serverless scalability into a cohesive, hackathon-winning architecture.
- Deep Social Empathy: Building a technological shield that addresses real-world climate crises such as unseasonal cloudbursts and droughts to safeguard the livelihoods of millions of smallholder farmers.
What we learned
Multi-agent systems achieve maximum effectiveness when specialized workers operate asynchronously in the background rather than relying on monolithic user prompts.
Production-grade serverless deployment on GCP Cloud Run combined with OpenTelemetry distributed tracing is essential for debugging complex, multi-variable AI workflows.
The most impactful code bridges cutting-edge systems engineering with profound human purpose.
What's next for AgriSentinel
Expanded Regional Coverage: Scaling language support across all 22 scheduled Indian languages with edge-optimized offline synchronization for remote rural areas.
Direct APMC & Insurer APIs: Establishing direct integration pipelines with state agricultural markets and insurance bureaus for instant, one-click claim payouts.
IoT Sensor Mesh Integration: Connecting low-cost soil moisture sensors directly into the Sentinel Scout telemetry loop for hyper-local microclimate forecasting.
Built With
- asynchronous
- cloud-firestore
- cloud-run
- computer-vision
- docker
- fastapi
- gemini-3.5-flash
- geospatial
- google-adk
- google-cloud-platform-(gcp)
- javascript
- leaflet.js
- multi-agent-systems
- opentelemetry
- python
- rest-api
- serverless
- tailwind-css
- vertex-ai
- web-speech-api
Log in or sign up for Devpost to join the conversation.