Bringing Markets to the Ugandan farmers straight to their farms.
# SokoAgent AI 🤖🌾
**Built for the Build with Gemma Hackathon – GDG on Campus Makerere**
**AI-Powered Market Access for Ugandan Smallholder Farmers**
SokoAgent AI eliminates middleman exploitation by connecting smallholder farmers directly to fair markets through a simple USSD interface — no smartphone required. Just dial `*347*1#`, get AI-powered price insights, and sell at fair value.
---
## 💡 Inspiration
Millions of Ugandan smallholder farmers are exploited by middlemen who dictate unfair prices — often buying crops at 30-50% below market value. Farmers lack access to real-time market data and cannot easily find competitive buyers. SokoAgent AI solves this by bringing AI-powered market intelligence to **any phone, anywhere** — no internet required. We use USSD (the same protocol used for mobile money) to deliver fair prices and buyer matches directly to farmers' basic feature phones.
---
## 🏗️ How We Built It
We used the **Google Gemma 2 2B model** via the **Hugging Face Inference API**. We utilized advanced prompt engineering to constrain the model's output to fit strict USSD character limits ( Made with ❤️ for Ugandan farmers