Uses CrewAI multi-agent LLMs for crop-specific analysis:
- Soil & climate assessment
- Pest & disease recommendations
- Cost-benefit evaluation
- Final PDF report
- Multi-agent system using CrewAI
- Real-time weather integration via OpenWeatherMap
- Custom recommendations for crop health and farm economics
- Auto-generated farmer-friendly report in PDF format
- Clean, interactive Gradio interface
- Crop type (e.g., Maize)
- Region (e.g., Axum)
- Soil data (e.g., pH: 6.2, Nitrogen: medium)
- Farm size (e.g., 400 acres)
- Detailed advisory report in plain text
- Downloadable PDF version
- Python
- Gradio (Web UI)
- FPDF (PDF generation)
- OpenWeatherMap API
- CrewAI (LLM agent framework)
- Groq API (LLM backend)
- Clone the repo:
git clone https://github.com/yaekobB/farming-advisor-multi-agent-system.git
- Add
.envwith your API keysGROQ_API_KEY=your_groq_api_key OPENWEATHER_API_KEY=your_openweather_api_key
- Install requirements:
pip install -r requirements.txt
- Run:
python farming_advisor_agent_code.py