🌾 AgriSense – AI-Powered Smart Farming Platform
🚜 Inspiration
Farmers in India face unpredictable weather, fluctuating market prices, and limited access to expert guidance. We wanted to build something that gives farmers AI-backed insights directly on their phone or browser — no middleman, no jargon — just actionable recommendations.
🌱 What It Does
AgriSense is a full-stack smart farming platform that empowers farmers to:
- Get AI-powered crop recommendations tailored to soil and climate
- Predict crop yields using machine learning models
- Perform real-time weather and soil analysis
- Upload plant photos for disease detection and treatment advice
- Access market price data from Indian agricultural markets
- Interact with a multi-language AI chatbot for instant support
- Track farm assets and sensors via a farmer dashboard
🛠️ How We Built It
- Frontend: React.js (Vite + Tailwind), multi-language support, camera/image upload, dashboard visualizations
- Backend: Node.js/Express.js with MongoDB, JWT authentication, and integrations to weather and Agmarknet APIs
- AI/ML Layer: Python (FastAPI + TensorFlow + HuggingFace Transformers + OpenAI API) for crop prediction and plant disease classification
- APIs & Data: WeatherAPI, Agmarknet, Unsplash, Nominatim for geolocation
- Deployment/DevOps: Docker containers, PM2 process management, Nginx reverse proxy
Auth & Farmer Management
POST /farmer/signup– Register new farmerPOST /farmer/login– Farmer loginGET /farmer/profile– Fetch farmer profilePUT /farmer/update– Update farmer dataGET /admin/farmers– View all farmers (Admin)
Dashboard & Data
GET /farmer/dashboard– Farmer dashboard with weather, soil, and asset dataGET /farmer/crop-prices– Real-time crop price data via Agmarknet API
AI Model Endpoints (Python Service)
POST /farmer/recommend-crop– Calls{PYTHON_API_URL}/m1/crop-recommendationPOST /farmer/predict-yield– Calls{PYTHON_API_URL}/m1/yieldPOST /farmer/voice-query– Calls{PYTHON_API_URL}/m1/voice-queryPOST /farmer/detect-disease– Upload image, calls{PYTHON_API_URL}/m2/plant-diseasePOST /farmer/chat– HuggingFace GPT-OSS modelPOST /farmer/finance-advice– GPT-OSS + Unsplash images
Assets Management
GET /farmer/assets/:farmerId– Get all assets for a farmerPOST /farmer/assets– Create/update farmer assetsGET /farmer/assets/:farmerId/stats– Fetch asset statisticsGET /admin/assets– Admin get all farmer assets
Devices Management (IoT Layer)
GET /farmer/devices– List all devices of a farmerPOST /farmer/devices– Add a new devicePUT /farmer/devices/:deviceId– Update a deviceDELETE /farmer/devices/:deviceId– Delete a devicePATCH /farmer/devices/:deviceId/status– Update device statusGET /farmer/devices/analytics– Device analyticsPOST /devices/:deviceId/data– Simulate incoming device dataGET /admin/devices– Admin view all devices
Python Model Endpoints (Service Side)
POST /m1/crop-recommendation– Internal crop recommendation logicPOST /m1/yield– Internal yield prediction logicPOST /m1/voice-query– Internal handle voice queriesPOST /m2/plant-disease– Internal plant disease detection
⚡ Architecture Diagram
💡 Key Features
- AI Recommendations – crops, yield, soil, disease detection
- Smart Dashboard – analytics, weather, soil health, market prices
- Asset Management – sensors, equipment, and drones
- AI Chatbot with Voice Support – English, Hindi, and Kannada
- Financial Advice – government schemes and microloans suggestions
⚔️ Challenges We Ran Into
- Integrating multiple APIs (weather, Agmarknet, HuggingFace) with rate limits
- Running AI inference quickly enough on low-power servers
- Multi-language support without bloating the frontend bundle
- Ensuring secure auth and location data privacy
🏆 Accomplishments That We’re Proud Of
- Built a fully working microservices platform in the hackathon timeframe
- Successfully deployed an AI model for plant disease detection via web upload
- Integrated real-time crop price data for Indian markets
- Designed a farmer-friendly UI with multilingual support and voice input
📈 What We Learned
- Designing AI pipelines that run on both cloud and edge devices
- Balancing usability with deep analytics for non-technical users
- Leveraging modern dev tools (Vite, Tailwind, PM2, HuggingFace) for fast iteration
🚀 What’s Next for AgriSense
- Mobile app version with offline support
- IoT integration for automatic soil sensor readings
- Expanding to more Indian languages and regional dialects
- Blockchain-based supply chain traceability for crops
👥 Team
| Member | Role | GitHub |
|---|---|---|
| Ravindra | Full Stack Dev & AI Integration | ravindraogg |
| Nitesh Panati | Project Lead & Backend Architecture | PanatiNitesh |
| Pooja CG | Frontend Dev & UI/UX Design | Pooja-CG |
🧑💻 Technologies Used
- Frontend: React.js, Tailwind CSS, Vite, Lucide React
- Backend: Node.js, Express.js, MongoDB, JWT
- AI/ML: Python, FastAPI, HuggingFace Transformers, OpenAI API
- External APIs: WeatherAPI, Agmarknet, Unsplash, Nominatim
- DevOps: Docker, PM2, Nginx
Built With
- gpt-oss
- huggingface
- openai
- react


Log in or sign up for Devpost to join the conversation.