An AI-powered smart farming dashboard with voice assistant, crop disease scanner, real-time weather and mandi prices, location-aware agri news, and a farmer community hub featuring peer-to-peer payments, micro-loans, and WebRTC voice calls.
# 🌾 Agri-Voice — AI-Powered Smart Farming Platform
**Agri-Voice** is an AI-powered smart farming platform designed for modern agriculture. It provides farmers with voice-assisted AI guidance, real-time mandi market rates, AI crop disease scanning, weather insights, micro-payments, and a community hub for peer-to-peer collaboration.
---
## ✨ Key Features
- 🎙️ **Multilingual Voice Assistant**: Voice-activated AI powered by Google Gemini for real-time agricultural Q&A in local languages.
- 🔬 **AI Crop Disease Scanner**: Instant vision-based crop disease diagnosis with actionable treatment and prevention plans.
- 📊 **Real-Time Mandi Prices**: Live market price lookup with search, filtering, and Mandi API fallbacks.
- 🌦️ **Location-Aware Weather Insights**: Hyper-local weather forecasting with OpenWeatherMap & Open-Meteo fallbacks.
- 📰 **Agri News & Market Feed**: Geolocation-tailored agricultural news updates.
- 🤝 **Farmer Community Hub**: Peer-to-peer chat, micro-loans, WebRTC voice calls, and secure transaction tracking.
---
## 🛠️ Tech Stack
- **Framework**: Next.js 16 (App Router)
- **AI Core**: Google Gemini API (Text & Vision)
- **UI & Styling**: React 19, Tailwind CSS, Lucide Icons
- **Integrations**: OpenWeatherMap, Open-Meteo, Mandi Data API, WebRTC
---
## 🚦 Quick Start
### 1. Installation
```bash
git clone
github.com
cd Agri-Voice
npm install --legacy-peer-deps
```
### 2. Environment Setup
Create `.env.local` in the project root:
```env
GEMINI_API_KEY=your_gemini_api_key
WEATHER_API_KEY=your_openweathermap_key
DATA_GOV_API_KEY=your_data_gov_key
NEWS_API_KEY=your_news_api_key
```
### 3. Run Locally
```bash
npm run dev
```
Open
localhost in your browser.
---
## 🗺️ Key Application Routes
| Route | Purpose |
|---|---|
| `/` | Main Dashboard & Activity Summary |
| `/voice-assistant` | Multilingual AI Voice Assistant |
| `/disease-scanner` | Visual Crop Disease Diagnostic Tool |
| `/market-prices` …