An intelligent, localized (English/Hindi/Marathi) farming companion powered by Google ADK & Vertex AI. Features multi-agent orchestration for crop disease visual diagnosis, weather-calibrated watering, soil nutrient split-scheduling, Mandi prices, and Human-in-the-Loop safety guardrails for chemical sprays. Built for capstone.
# FarmGuardian AI - Smart Farming Companion
**FarmGuardian AI** is an intelligent agricultural assistant designed to help smallholder farmers manage crop diseases, weather changes, fertilizer usage, and government subsidies. Rather than a single chatbot, it implements a **Multi-Agent Orchestration** system where specialized agents handle different agricultural domains.
---
## 🏗️ Multi-Agent Architecture
```
Farmer
│
┌──────────────────────┐
│ Coordinator Agent │
└──────────┬───────────┘
│
┌──────────────┬──────────┼──────────┬──────────────┬──────────────┐
│ │ │ │ │ │
┌───────────┐ ┌───────────┐┌───────────┐┌───────────┐ ┌───────────┐ ┌───────────┐
│ Crop │ │ Weather ││ Market ││ Finance & │ │Government │ │ Report & │
│ Doctor │ │ Agent ││ Agent ││Soil Agent │ │ Agent │ │ Reminders │
└───────────┘ └───────────┘└───────────┘└───────────┘ └───────────┘ └───────────┘
```
1. **Coordinator Agent**: Parent router and planner. Detects query intent, manages language settings, and orchestrates multi-step agricultural plans across sub-agents.
2. **Crop Doctor Agent**: Diagnoses crop diseases, pests, and weed issues from uploaded leaf images using Gemini Vision.
3. **Weather Agent**: Retrieves regional weather forecasts and generates rain-adjusted watering recommendations.
4. **Market Agent**: Monitors wholesale market prices (Mandi rates) and recommends selling strategies.
5. **Finance & Soil Agent**: Recommends N-P-K fertilizer schedules based on soil type and land acreage.
6. **Government Agent**: Identifies regional subsidies (e.g. drip irrigation, solar pumps) and insurance programs.
7. **Report & Reminders Agent**: Handles productivity tasks like saving crop plans to Google Drive and scheduling follow-up fertilizer reminders in Google Calendar.
---
## 📚 Agent Skills Directory (`skills/`)
The application features progressive disclosure of capabilities via separate Age …