AgriGuard is an agricultural intelligence system designed to improve food security in Uganda by forecasting crop prices, detecting counterfeit seeds and agro-inputs, and providing market risk insights. It supports farmers and government with data-driven decisions to increase productivity, income stability, and market transparency.
# AgriGuard
### Agricultural Intelligence System for Food Security in Uganda
*Forecasting crop prices · Detecting counterfeit agro-inputs · Delivering market intelligence*
---
**AgriGuard** is an open-source agricultural intelligence platform built to address three of Uganda's most pressing food-system challenges: unpredictable crop markets, counterfeit agro-inputs flooding rural supply chains, and farmers' lack of access to actionable market data. Using machine learning, time-series forecasting, and a mobile-friendly interface, AgriGuard puts decision-grade intelligence directly into the hands of farmers and policymakers.
Quick Start · Architecture · Features · API Docs · Contributing · Roadmap
---
## Table of Contents
- The Problem We Solve
- Core Features
- System Architecture
- Tech Stack
- Project Structure
- Quick Start
- Configuration
- API Reference
- ML Models
- Data Sources
- Deployment
- Roadmap
- Contributing
- Team
- License
---
## The Problem We Solve
Uganda's agricultural sector employs over **70% of the population** and contributes roughly **25% of GDP**, yet farmers face systemic information asymmetry that keeps them vulnerable:
| Challenge | Impact |
|-----------|--------|
| **Volatile crop prices** | Farmers sell at harvest-time lows and miss peak-price windows, earning 30–50% less than possible |
| **Counterfeit agro-inputs** | An estimated 30–40% of seeds and pesticides in rural markets are fake, destroying yields and farmer livelihoods |
| **No market intelligence** | Rural farmers make planting decisions without access to historical pricing, demand forecasts, or peer data |
| **Climate risk blindspot** | Changing rainfall patterns are unaccounted for in planting calendars, increasing crop failure rates |
AgriGuard addresses all four with a unified, data-driven platform.
---
## Core Features
### Crop Price Forecasting
- **LSTM + Prophet ensemble** predicts prices for 15+ Ugandan staple crops (maize, beans, matoke, cas …