Transforming traditional farming through AI-driven insights, real-time weather data, and intelligent crop management β built for Keralaβs agricultural community.  
  
  π Live Demo β’ 
  π Demo Video β’ 
AgriSense is an AI-powered agricultural platform designed to empower farmers with intelligent recommendations, hyperlocal weather insights, and smart crop management.
It supports Malayalam and English, offers real-time AI chat,Plant Diesase detection with solution and provides an integrated dashboard for agricultural officers.
- Context-aware conversations for personalized farming help
- Real-time communication via Socket.io
- Speech-to-text for hands-free use
- Malayalam and English support
- AI vision model to detect and identify plant diseases
- Camera / image upload integration
- Remedies and prevention tips customized for Kerala crops
- District-wise weather forecasts across Kerala
- AI-generated agricultural advice based on weather impact
- Seasonal planting and irrigation planning suggestions
- Manage and track farmer queries
- Real-time communication with users
- Role-based access and analytics
- GPS-based recommendations
- Soil health & crop suitability analysis
- Built-in support for all 14 Kerala districts
| Layer | Technology | 
|---|---|
| Frontend | React, TypeScript, TailwindCSS, shadcn/ui | 
| Backend | Node.js, Express.js, Socket.io | 
| Database | MongoDB Atlas | 
| AI & APIs | Hugging Face, Google Gemini 2.0 Flash, OpenWeatherMap | 
| Tools | Vite, Postman, GitHub Actions | 
- Node.js v18+
- MongoDB Atlas account
- Google Gemini API key
- OpenWeatherMap API key
- Hugging Face API Key
π¦ Installation & Setup
git clone https://github.com/ArushRastogi47/AgriSense.git
cd AgriSensecd backend
npm install
cp .env.example .env
# Add your keys (MONGODB_URI, GEMINI_API_KEY, OPENWEATHER_API_KEY)
npm run devcd frontend
npm install
cp .env.example .env
# Add your VITE_BACKEND_URL
npm run dev- Frontend β http://localhost:5173
- Backend β http://localhost:3001
- Officer Dashboard β via Shield icon in the navbar
PORT=3001
MONGODB_URI=your_mongodb_uri
GEMINI_API_KEY=your_gemini_key
OPENWEATHER_API_KEY=your_weather_key
HF_TOKEN=your_Hugging_Face_API_TokenVITE_BACKEND_URL=http://localhost:3001- Smart contextual understanding
- Multilingual chat
- Offline fallback response system
- Image-based question support
- Crop management and fertilizer suggestions
- Pest control (organic & IPM)
- Water & soil health analysis
- Full Malayalam UI and voice commands
- Region-specific crop insights
We β€οΈ open-source contributions!
- 
Fork this repository 
- 
Create your feature branch git checkout -b feature/new-feature 
- 
Commit your changes git commit -m "Add new feature"
- 
Push to your fork and open a PR 
- π± Crop modules for new regions
- π¬ Advanced AI model integration
- π Data visualization dashboards
- π New languages (Tamil, Hindi, etc.)
- π¨ UI/UX improvements
This project is licensed under the MIT License β see the LICENSE file for details.
- Kerala Agricultural University β domain expertise
- Google Gemini AI β for conversational intelligence
- OpenWeatherMap β reliable weather data
- MongoDB Atlas β database hosting
- shadcn/ui β elegant component library
- 
π§βπ» GitHub Profile: Arush Rastogi 
- 
π§βπ» GitHub Profile: Abhay Choudhary 
  Built with β€οΈ and β by Arush Rastogi & Abhay Choudhary