Smart Farming Agentic AI 🌾 | Crop Prediction + Disease Detection + RAG Q&A | Next.js + Flask

Опубликовано: 13 Июнь 2026
на канале: Junaid Satti
43
0

🌾 Smart Farming Agentic AI — Full-Stack Precision Agriculture System

Welcome to the full demo of Smart Farming Agentic AI, an end-to-end AI system built to support farmers with crop recommendation, plant disease detection, and intelligent farming Q&A — all powered by an agentic routing engine that chooses the best AI tool based on user intent.

🔗 GitHub Repo: https://github.com/juni2003/Smart-Far...

🚀 What This Project Does

Smart Farming Agentic AI is a complete production-ready project that combines:

🌾 1) Crop Recommendation

Predicts the most suitable crop based on:
Soil nutrients (N, P, K)
Temperature
Humidity
pH
Rainfall
Model: Random Forest Classifier
Accuracy: ~99.39%

🍃 2) Plant Disease Detection

Detects diseases from leaf images using deep learning.
Model: ResNet50 (Transfer Learning, pretrained on ImageNet)
Accuracy: ~98.97%

❓ 3) Farming Q&A (RAG System)

Answer natural language farming questions using:
FAISS semantic search
Sentence Transformers embeddings
Optional LLM (Google Gemini Flash)
Performance: 100% hit rate, 1.0 MRR

🤖 4) Agentic Routing

Instead of a single model, an agent routing layer analyzes the user input and dynamically selects the appropriate tool:

Numeric inputs → Crop Predictor
Images → Disease Detector
Text questions → RAG QA Engine

This makes the system agentic, not just a single model.

🧠 Tech Stack

Frontend
Next.js 14 + TypeScript
Tailwind CSS
Axios / Fetch

Backend
Python + Flask
PyTorch (CNN), Scikit-learn (Forest)
FAISS + Sentence Transformers

💡 Why This Project Matters

This project goes beyond a simple AI classifier — it demonstrates:
✅ Multi-modal AI
✅ Tool selection & agentic behavior
✅ Transfer learning for vision
✅ Semantic search and QA
✅ Full-stack production setup

Perfect for portfolios, internships, Final Year Projects, and real-world demos.

🙌 Thanks for Watching!

⭐ Star the GitHub repo
🛠 Try the system locally


#AIProject #FullStackAI #SmartFarming #PrecisionAgriculture
#MachineLearning #DeepLearning #AgenticAI #NextJS #Flask
#CropPrediction #PlantDiseaseDetection #RAG #SemanticSearch