Skip to content

Repository files navigation

AgriFlux

AgriFlux is an AI-powered agricultural intelligence platform that transforms raw farm data into real-time, actionable decisions.

It acts as a virtual agronomist, combining weather, soil, and crop data to guide farmers with precise recommendations.


🌍 Overview

AgriFlux reimagines farming as a data-driven system — helping farmers monitor, analyze, and optimize their fields through an intuitive dashboard.

From mapping farm plots to generating AI-based insights, AgriFlux delivers a complete farm management experience.


🚀 Core Features

🗺 Smart Farm Mapping

  • Interactive plot selection using maps
  • Polygon-based field creation
  • Location-aware analysis

🌦 Weather Intelligence

  • 7-day weather forecasts
  • Evapotranspiration (ET₀) insights
  • Soil moisture tracking

🧪 Soil Analysis

  • Soil composition (pH, nitrogen, organic carbon, etc.)
  • Hyper-local soil intelligence
  • Nutrient-based recommendations

🤖 AI Agronomist

  • Action-focused farming guidance
  • Risk alerts (pests, diseases, weather)
  • Structured, easy-to-understand reports

📊 Analytics Dashboard

  • Crop progress tracking
  • Yield and income projections
  • Growth stage visualization

🧠 Tech Stack

  • Frontend: Next.js (App Router), TypeScript
  • UI: Tailwind CSS, Shadcn UI
  • State Management: Zustand
  • Maps: React-Leaflet
  • Charts: Recharts
  • Animations: Framer Motion
  • AI: OpenAI API / compatible LLMs
  • Data APIs: Open-Meteo, SoilGrids

⚡ Getting Started

1. Clone the Repository

git clone https://github.com/roshanthm/AgriFlux
cd agriflux

2. Install Dependencies

npm install

3. Run Development Server

npm run dev

🔑 Environment Variables

Create a .env.local file:

OPENAI_API_KEY=your_api_key_here

🌱 Future Enhancements

  • 📸 AI-based crop disease detection
  • 📡 Satellite data integration (NDVI)
  • 📲 WhatsApp/SMS alert system
  • 🌐 Multi-language & voice interface
  • 🤖 Autonomous irrigation recommendations

📄 License

This project is licensed under the MIT License.


🤝 Contribution

Contributions are welcome. Feel free to fork the repository, open issues, or submit pull requests.


💡 Vision

AgriFlux is more than a dashboard.

It is a step toward building a Farm Operating System — where agriculture becomes intelligent, predictive, and scalable.


🧑‍💻 Author

Roshan

About

AI-powered farm intelligence platform for real-time crop insights, mapping, and decision-making

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages