# hasiniravula/agriagent architecture

> Architecture diagram of the GitHub repository hasiniravula/agriagent, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-30). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/hasiniravula/agriagent
- Repository: https://github.com/hasiniravula/agriagent

## Overview

AgriAgent is described as an AI-powered system for farm decision-making. The repository contains three model notebooks covering crop recommendation, crop-yield prediction, and irrigation-water requirement prediction, plus a CSV dataset. These are the identifiable product capabilities, but the README and available source provide no evidence about how the notebooks use the dataset, call one another, or are presented to users. The graph therefore preserves the capabilities without asserting an unsupported workflow.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_farm_models["Farm models"]
  node_crop_recommendation["Crop recommendation"]
  node_yield_prediction["Crop-yield prediction"]
  node_irrigation_prediction["Irrigation requirement"]
end

subgraph group_data["Data"]
  node_dataset[("Dataset<br/>[dataset.csv]")]
end

node_farmer(("Farm decision-maker"))

click node_crop_recommendation "https://github.com/hasiniravula/agriagent/blob/main/Crop_Recommendation_Model.ipynb"
click node_yield_prediction "https://github.com/hasiniravula/agriagent/blob/main/crop-yield-prediction.ipynb"
click node_irrigation_prediction "https://github.com/hasiniravula/agriagent/blob/main/irrigation-water-requirement-prediction-using-ml.ipynb"
click node_dataset "https://github.com/hasiniravula/agriagent/blob/main/dataset.csv"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_crop_recommendation,node_yield_prediction,node_irrigation_prediction toneBlue
class node_dataset toneAmber
class node_farmer toneIndigo
```

## Components

### Farm models

- [Crop recommendation](https://github.com/hasiniravula/agriagent/blob/main/Crop_Recommendation_Model.ipynb): `Crop_Recommendation_Model.ipynb`
- [Crop-yield prediction](https://github.com/hasiniravula/agriagent/blob/main/crop-yield-prediction.ipynb): `crop-yield-prediction.ipynb`
- [Irrigation requirement](https://github.com/hasiniravula/agriagent/blob/main/irrigation-water-requirement-prediction-using-ml.ipynb): `irrigation-water-requirement-prediction-using-ml.ipynb`

### Data

- [Dataset](https://github.com/hasiniravula/agriagent/blob/main/dataset.csv): `dataset.csv`

### Other components

- **Farm decision-maker**
