Skip to content

AI-powered agricultural assistant for Kerala farmers with plant disease detection, weather insights, and multilingual chat support (Malayalam/English)

Notifications You must be signed in to change notification settings

ArushRastogi47/AgriSense

Repository files navigation

🌾 AgriSense β€” AI-Powered Agricultural Assistant

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 β€’


React TypeScript Node.js MongoDB Socket.io


πŸš€ Overview

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.


✨ Key Highlights

πŸ€– AI Chat Assistant

  • Context-aware conversations for personalized farming help
  • Real-time communication via Socket.io
  • Speech-to-text for hands-free use
  • Malayalam and English support

🌿 Plant Disease Detection

  • AI vision model to detect and identify plant diseases
  • Camera / image upload integration
  • Remedies and prevention tips customized for Kerala crops

🌀️ Smart Weather Intelligence

  • District-wise weather forecasts across Kerala
  • AI-generated agricultural advice based on weather impact
  • Seasonal planting and irrigation planning suggestions

πŸ§‘β€πŸ’Ό Officer Dashboard

  • Manage and track farmer queries
  • Real-time communication with users
  • Role-based access and analytics

πŸ—ΊοΈ Location Intelligence

  • GPS-based recommendations
  • Soil health & crop suitability analysis
  • Built-in support for all 14 Kerala districts

πŸ› οΈ Tech Stack

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

⚑ Quick Start

πŸ”§ Prerequisites

  • Node.js v18+
  • MongoDB Atlas account
  • Google Gemini API key
  • OpenWeatherMap API key
  • Hugging Face API Key
πŸ“¦ Installation & Setup

Clone the Repository

git clone https://github.com/ArushRastogi47/AgriSense.git
cd AgriSense

Backend Setup

cd backend
npm install
cp .env.example .env
# Add your keys (MONGODB_URI, GEMINI_API_KEY, OPENWEATHER_API_KEY)
npm run dev

Frontend Setup

cd frontend
npm install
cp .env.example .env
# Add your VITE_BACKEND_URL
npm run dev

Access the App


🌍 Environment Variables

πŸ”Ή Backend .env

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_Token

πŸ”Ή Frontend .env

VITE_BACKEND_URL=http://localhost:3001

πŸ’¬ Core Functionalities

πŸ€– AI Chat System

  • Smart contextual understanding
  • Multilingual chat
  • Offline fallback response system
  • Image-based question support

🌾 Agricultural Intelligence

  • Crop management and fertilizer suggestions
  • Pest control (organic & IPM)
  • Water & soil health analysis

πŸ—£οΈ Multilingual Experience

  • Full Malayalam UI and voice commands
  • Region-specific crop insights

🀝 Contributing

We ❀️ open-source contributions!

Steps

  1. Fork this repository

  2. Create your feature branch

    git checkout -b feature/new-feature
  3. Commit your changes

    git commit -m "Add new feature"
  4. Push to your fork and open a PR

Contribution Ideas

  • 🌱 Crop modules for new regions
  • πŸ”¬ Advanced AI model integration
  • πŸ“Š Data visualization dashboards
  • 🌐 New languages (Tamil, Hindi, etc.)
  • 🎨 UI/UX improvements

πŸ“œ License

This project is licensed under the MIT License β€” see the LICENSE file for details.


πŸ™ Acknowledgments

  • Kerala Agricultural University – domain expertise
  • Google Gemini AI – for conversational intelligence
  • OpenWeatherMap – reliable weather data
  • MongoDB Atlas – database hosting
  • shadcn/ui – elegant component library

πŸ“ž Contact & Support

  • πŸ’Ό Connect with Me on LinkedIn: LinkedIn

  • πŸ§‘β€πŸ’» GitHub Profile: Arush Rastogi

  • πŸ’Ό Connect with Abhay on LinkedIn: LinkedIn

  • πŸ§‘β€πŸ’» GitHub Profile: Abhay Choudhary


Built with ❀️ and β˜• by Arush Rastogi & Abhay Choudhary

About

AI-powered agricultural assistant for Kerala farmers with plant disease detection, weather insights, and multilingual chat support (Malayalam/English)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •