πΎ AI-powered Kenya farmer advisory β crop disease diagnosis, weather alerts, and market prices in Swahili
# πΎ Shamba AI β Kenya Farmer Advisory in Swahili
> *Shamba* (Swahili) = farm, field, agricultural land
AI-powered farming assistant that helps Kenyan farmers with crop disease diagnosis, weather alerts, market prices, and agricultural advice β all in natural Swahili.
## What it does
| Feature | Description |
|---------|-------------|
| π Crop Disease | Describe symptoms in Swahili, get diagnosis and treatment |
| π€ Weather | Daily weather advisory for your county |
| π° Market Prices | Current maize, beans, tomato prices by county |
| π± Planting Calendar | Optimal planting windows by crop and region |
| π Inputs Guide | Fertilizer and pesticide recommendations |
| π± SMS Export | Send summary to your phone via Africa's Talking |
## Research Basis
Built on the cross-lingual RAG methodology validated for agricultural advisory in low-resource languages (arXiv:2601.02065). Native Swahili reasoning produces ~4Γ fewer errors than translation-based approaches (arXiv:2509.04516).
## Architecture
```
User (Swahili) β Gemini REST API β Domain-grounded response (Swahili)
β
Kenya crop knowledge base
County weather API
WFP market price data
```
## Quickstart
```bash
git clone
github.com
cd shamba-ai
pip install -r requirements.txt
# Add GOOGLE_API_KEY to .streamlit/secrets.toml
streamlit run app.py
```
## Data Sources
- Kenya Meteorological Department (public API)
- WFP Market Monitor Kenya (public data)
- KARI/KALRO crop disease documentation
- Kenya Plant Health Inspectorate Service (KEPHIS)
## Part of the East Africa Civic Tech Portfolio
This app is part of a portfolio of 25+ open-source AI tools for East Africa.
See also: mpesa-mcp | DarajaAI | ShuleAI
## Disclaimer
This tool provides AI-generated agricultural guidance for educational purposes only.
Always verify with certified agricultural extension officers. Not liable for crop losses.
---
*Built with β€οΈ for East African farmers | gabrielmahia.ai*
## IP & Collaboration
MI β¦