AgriSage is an AI-powered agricultural advisory mobile application built with Flutter. Designed to empower small and marginal farmers, AgriSage provides personalized, real-time recommendations on crop management, resource optimization, and sustainable farming practices using machine learning, remote sensing, and IoT technologies.
The application serves as an intelligent guide for farmers, leveraging satellite imagery (analyzing NDVI, NDWI, etc.) and AI models to provide actionable insights. With a 24/7 AI assistant powered by Google's Gemini API, farmers can get immediate help and answers to their questions.
- AI-driven recommendations for planting, irrigation, fertilization, and pest control
- Tailored advice based on local conditions and crop type
- Sustainable farming practice suggestions
- Hyperlocal weather forecasts
- Climate alerts for extreme weather events
- Seasonal climate predictions
- Monitor soil moisture, temperature, and nutrient levels through IoT sensors
- Access satellite and drone imagery for crop health analysis
- Visual analytics of farm conditions
- Calculate optimal water usage
- Determine fertilizer requirements
- Recommend energy-efficient practices
- Optimal irrigation timing recommendations
- Best sowing windows calculation
- Precise pesticide application guidance
- Crop suitability recommendations
- Estimated yield predictions
- Task management
- Inventory tracking
- Crop lifecycle management
- Financial record keeping
- Instant answers to farming questions
- Powered by Google's Gemini API
- Continuous learning and improvement
Dashboard Crop Analysis Inventory Management
Task Management Advanced Analytics AI Assistant
- Flutter 3.0.0 or higher
- Dart 2.17.0 or higher
- Android Studio / Xcode
- Firebase account
- OpenWeatherMap API key
- Google Cloud account (for Gemini API)
-
Clone the repository
git clone https://github.com/yourusername/AgriSage.git cd AgriSage -
Install dependencies
flutter pub get -
Configure API keys
- Create a
lib/secrets.dartfile with the following structure:
class Secrets { static const apiKey = 'YOUR_GEMINI_API_KEY'; static const weatherApiKey = 'YOUR_OPENWEATHERMAP_API_KEY'; }
- Create a
-
Setup Firebase
- Follow the Firebase setup instructions for Flutter: https://firebase.google.com/docs/flutter/setup
- Add your
google-services.json(Android) andGoogleService-Info.plist(iOS) to the appropriate directories
-
Run the application
flutter run
AgriSage addresses the following UN Sustainable Development Goals:
- SDG 2: Zero Hunger
- SDG 12: Responsible Consumption and Production
- SDG 13: Climate Action
- SDG 15: Life on Land
The application helps improve agricultural productivity while promoting sustainable practices, reducing resource waste, adapting to climate change, and preserving ecosystems.
- Flutter and Dart teams for the amazing framework
- Google for the Gemini API
- OpenWeatherMap for weather data
- All contributors and testers








