An AI-Powered Farming Assistant that helps farmers make smarter decisions through crop analysis, weather intelligence, soil insights, market trends, and personalized farming recommendations.
Krishi AI is an intelligent agricultural assistant developed during the NeuralX Hackathon at Sapthagiri NPS University (SNPSU).
The project aims to bridge the gap between Artificial Intelligence and Agriculture by providing farmers with a simple yet powerful platform capable of analyzing crop health, detecting diseases, generating farming roadmaps, and delivering actionable recommendations.
With just a crop image, farmers can receive valuable insights that traditionally require expert consultation, helping improve productivity and reduce losses.
Agriculture remains one of the most important industries worldwide, yet many farmers still lack access to modern technological solutions.
Challenges faced by farmers include:
- Delayed disease detection
- Lack of expert guidance
- Uncertainty in fertilizer usage
- Weather-related crop damage
- Poor crop planning
- Limited access to agricultural intelligence
Krishi AI addresses these challenges through an integrated AI-powered decision support system.
Krishi AI acts as a digital agronomist.
A farmer simply uploads a crop image and the platform:
- Identifies the crop
- Detects diseases
- Calculates crop health score
- Detects nutrient deficiencies
- Analyzes weather conditions
- Provides soil intelligence
- Generates farming roadmaps
- Recommends equipment and fertilizers
- Offers contextual AI assistance
Upload a crop image and receive:
- Crop Identification
- Disease Detection
- Growth Stage Analysis
- Health Score Calculation
- Nutrient Deficiency Detection
Provides:
- Current Weather
- Rainfall Forecast
- Temperature Monitoring
- Humidity Analysis
- Weather-Based Recommendations
Analyzes:
- Soil Fertility
- Nitrogen Levels
- Phosphorus Levels
- Potassium Levels
- Soil Health Indicators
Provides:
- Demand Analysis
- Market Trends
- Price Forecasting
- Selling Recommendations
Generates personalized:
- Weekly Action Plans
- Fertilizer Schedules
- Disease Treatment Plans
- Recovery Strategies
- Replanting Recommendations
Recommends:
- Farming Equipment
- Irrigation Tools
- Crop Protection Equipment
- Harvesting Solutions
Unlike traditional chatbots, Krishi AI understands:
- Crop Condition
- Disease Status
- Weather Context
- Soil Information
- Roadmap Progress
This enables more personalized recommendations.
Farmer Uploads Crop Image
β
AI Crop Analysis
β
Crop Identification
Disease Detection
Health Assessment
β
Automatic Location Detection
β
Weather Analysis
Soil Intelligence
Market Insights
β
AI Recommendation Engine
β
Personalized Farming Roadmap
β
Dashboard & Task Tracking
β
Context-Aware AI Assistant
- HTML5
- CSS3
- JavaScript
- Flask
- REST APIs
- OpenRouter API
- Gemini Vision Models
- Open-Meteo API
- IPAPI
- IPInfo
- Pillow (PIL)
- JSON-Based Storage
The platform includes:
AI-powered crop diagnostics.
Track roadmap activities and farming actions.
Weekly crop improvement plans.
Weather forecasts and alerts.
Soil health and fertilizer recommendations.
Demand and pricing intelligence.
Farming equipment suggestions.
Interactive farming assistant.
git clone <repository-url>
cd krishi-aipython -m venv venvvenv\Scripts\activatesource venv/bin/activatepip install -r requirements.txtCreate a .env file:
OPENROUTER_API_KEY=your_api_keypython app.pyApplication will be available at:
http://localhost:5000
Swagger Documentation:
http://localhost:5000/apidocs
- IoT Sensor Integration
- Drone-Based Crop Monitoring
- Satellite Image Analysis
- Multi-Language Voice Assistant
- Mobile Application
- Real-Time Market Data
- Government Scheme Recommendations
- Yield Prediction Models
- Offline AI Support
Developed as part of:
NeuralX Hackathon Sapthagiri NPS University (SNPSU)
Our vision is to make advanced agricultural intelligence accessible to every farmer through Artificial Intelligence, helping improve crop productivity, reduce losses, and enable data-driven farming practices.