# πΎ NaijaAgri-AI β Smart Farm Assistant for Nigerian Farmers
> **AMD Developer Hackathon: Act II β Track 3, Unicorn (Open Innovation)**
> Built by **Haroon Abubakar**
---
## π What It Does
NaijaAgri-AI is an AI-powered farm assistant that gives Nigerian farmers instant, practical agricultural advice β by text or by photo β in the language they actually speak.
A farmer can:
- **Chat with the AI** in English, Hausa, Yoruba, Igbo, or Pidgin about crop diseases, fertilizer choices, pest control, or farming practices
- **Upload a photo of a sick plant** and get an AI-generated diagnosis and treatment advice, no agronomist required
---
## β‘ AMD / Fireworks AI Usage
| Component | Detail |
|-----------|--------|
| Inference provider | **Fireworks AI**, running on **AMD GPU infrastructure** |
| Text chat model | `accounts/fireworks/models/glm-5p2` β handles conversational farming Q&A in 5 languages |
| Vision diagnosis model | `accounts/fireworks/models/qwen3p7-plus` β handles photo-based crop/livestock diagnosis |
| Cloud credits | AMD Developer Cloud credits used for API access and development/testing |
| Why AMD matters here | Farmers in rural Nigeria often have slow or unreliable connections. Low-latency inference on AMD-backed infrastructure is what makes it feasible to return a usable diagnosis in seconds rather than the request timing out |
Every AI response in this app β both `/api/chat` and `/api/diagnose` β is served through Fireworks AI's inference stack on AMD GPUs. No AI processing happens on-device or through any other provider.
---
## π The Problem
- **70%+ of Nigerians** depend on agriculture for income, yet most farmers have no access to an agronomist when a crop starts failing
- **No smartphone, no help** β most existing agri-tech tools assume a smartphone and stable internet, which excludes a huge share of rural farmers
- **Language is a barrier** β almost no agricultural AI tools support Hausa, Yoruba, Igbo, or Pidgin, the languages farmers ac β¦