InspirationInspiration
Climate change is making farming unpredictable in Kenya. Smallholder farmers depend on one or two crops, and when rains fail or floods hit, income disappears. We wanted to connect climate data to real, local farm decisions.
What it does Farmers select their county, soil type, and current crop. The app shows local weather and a 7-day forecast. It gives a short answer first — whether to keep growing the crop now — then a full resilience plan. The plan includes climate risks, alternative crops, planting timing, seed guidance, and simple mitigation steps. Users can also ask follow-up questions in plain language. All 47 Kenyan counties are supported.
How we built it We used Streamlit for the web app, Google Gemini for generating the resilience plans, and Open-Meteo for weather data. The app collects user inputs, fetches local weather, builds a structured prompt, generates a plan, and displays both a short summary and a full report. No login is required.
Challenges We struggled with accurate county-level weather mapping, prompt tuning for practical advice, API error handling, and keeping responses concise but useful.
Accomplishments We built a working MVP. It combines live weather data with AI reasoning. It supports all counties and works on desktop and mobile.
What we learned Local context matters. Good prompt design improves results. Simplicity improves usability. Reliable error handling is essential.
What’s next Add historical rainfall data, SMS support, soil data integration, offline mode, local language support, and partnerships with seed suppliers and insurers.
Built With
- gemniapi
Log in or sign up for Devpost to join the conversation.