Inspiration
Across rural Africa, farmer–herder conflicts destroy crops, human lives, livestock, and livelihoods, worsening poverty and hunger. Climate change intensifies the struggle for grazing land and water, leading to loss of income, displacement, and food insecurity. We were inspired to build AgroRithm Afrique to bridge the divide between communities using AI, IoT, and blockchain, empowering them to live, farm, and herd peacefully while opening Africa’s agriculture to global investment and sustainable markets.
What it does
AgroRithm Afrique is an AI + Geofencing + IoT/GSM/GPS tracker-powered platform that helps farmers and herders manage livestock and prevent conflicts, deaths and loss of livestock and crops. It tracks cattle movements in real time using IoT sensors, GPS, and offline-first mobile and web(PWA) apps, while sending early warnings and alerts when animals approach farms or restricted zones. An AI powered camera can prevent cow intrusion in nongrazing areas. The system uses AI models and maps to give actionable insights. It also integrates blockchain (Hedera) for transparent logging of events, token-based rewards for sustainability actions, and proof of animal wellbeing. AgroRithm Afrique is an AI + IoT + Blockchain ecosystem that tackles food insecurity and poverty by:
🌍 Enabling farmers and herders to upload their arable lands or livestock to a Hedera EVM-powered marketplace, where foreign investors in other countries can buy fractional stakes in their farm products directly via blockchain smart contracts giving rural farmers and herders access to funds to improve their business.
🌾 Minting each land or livestock asset as an on-chain token on Hedera, ensuring full traceability and transparency of origin, ownership, and sustainability practices.
♻️ Rewarding farmers for eco-friendly actions like using cow dung for biogas, tree planting, or adopting low-carbon techniques — through Hedera sustainability tokens.
HEDERA Web3 CHAIN: The Hedera Chain is a very clean web3 chain and its carbon negative, it's very low energy use. They use the Proof of Stake Hashgraph Consensus Mechanism which uses very low energy. They purchase carbon offsets, they also partner with UNDP to improve carbon offset market and registries for a cleaner and sustainable Earth leveraging web3.
🛰️ Using IoT sensors and geofencing to monitor livestock and farmlands offline and detect conflict or disaster zones early. When there is disaster, insurance can be triggered using the smart contract aiding quick fund release for farmers and herders.
🤖 Leveraging TinyLLaMA AI for conflict, drought, and yield risk prediction from NDVI, satellite, and weather data.
🗣️ Providing multilingual AI chatbot access (Pidgin english, hausa).
AgroRithm Afrique thus empowers smallholder farmers and herders with access to global funding, AI intelligence, and sustainability incentives — creating a circular, peace-driven agricultural economy.
How we built it
We started by identifying key challenges faced by farmers and herders in Africa, especially livestock loss, conflict, and grazing management. Using this as a base, we developed AgroRithm as a modular platform:
IoT Layer → GPS trackers for livestock movement data, designed to work even in low-connectivity rural areas.
Mobile & Web Apps (PWA + Telegram bot) → Offline-first apps for farmers, herders, and admins to receive alerts, manage data, and interact with AI.
AI Models (TinyLLaMA ) → Educate farmers and herders via offline chatbot.
Blockchain (Hedera) → Immutable Logs of livestock events, movements, herders and landed agro properties(Grazing and nongrazing) for trust and dispute resolutions ie location, movement, rewards sustainability actions with tokens, and ensures transparent reporting. Investment in livestock can b e easily done via the Hedera chain.
Firebase backend → For real-time data sync, storage of livestock events, herders, farmers, farmlands(grazing and non-grazing lands) and automated trigger via clouds for Hedera blockchain loggings for immutability. Gertting the best of both WEB2.0 and WEB3.0.
We combined open-source tools (YOLOv5, Ollama, ) with custom-built features to deliver a system that works both online and offline, making it scalable and practical in rural settings.
Challenges we ran into
Building AgroRithm came with several challenges:
Connectivity issues → Designing a system that works offline-first in rural areas without stable internet required creative use of PWA technology, SMS/USSD fallback, firebase persistence and storage of geolocation by IoT neo6m on the esp32 if no netowork and sends when there is network. GSM/GPS trackers are used for more stable networks.
Data accuracy → GPS tracking on low-cost devices was sometimes unreliable, so we had to combine cell tower fallback to make livestock movement data more usable.
Blockchain integration → Making Hedera logging lightweight, cost-effective, and automated data trigger from firebase.
AI -> Running Tinyllama on a laptop with not too high RAM and then been able to access it on phone via LAN offline
Challenges in the design of the android app as a result of dependency issues.
Hardware limitations → Testing IoT trackers at times it wont connect due to building interferences or trees, has to have direct line of sight with space satellite, and also running AI locally on modest laptops meant optimizing models for low-power devices.
Accomplishments that we're proud of
Being able to create a solution that solves a critical issue that has led to loss of animals, cattle and human lives as well as destruction of crops and arable farmlands in Africa and beyond.
Successfully built an offline-first IoT + AI livestock tracking system that works even in rural areas with limited internet.
Deployed Hedera blockchain logging for immutable livestock events and token-based incentives, making sustainability, trust, safety and transparency a core feature.
What we learned
The importance of combining multiple technologies (AI, IoT, blockchain, geospatial data) to solve complex, real-world problems.
How cross-domain knowledge (agriculture, conservation, data science, community engagement) enriches tech solutions for animals and humans
What's next for AgroRithm Afrique
Partnerships with NGOs, U.N., GNEC, WAY etc improvement of AI as relates agentic alerts, expand the blockchain use to enable provision of loans and investments for herders and farmers using DEFI, expand in Nigeria, Africa and the world. Partnerships with exchanges to enable conversion of sustainability rewards and carbon credits generated by rural farmer and herders to exchange for rewards or cash.
OUTSIDE SDG 1 AND 2, IT TOUCHES OTHER UN SDG
| SDG | Connection Type | AgroRithm Impact |
|---|---|---|
| 1 – No Poverty | Direct | Protects rural livelihoods |
| 2 – Zero Hunger | Direct | Improves food security |
| 3 – Good Health | Indirect | Reduces conflict injuries & diseases |
| 4 – Quality Education | Indirect | AI-based rural education |
| 5 – Gender Equality | Indirect | Women empowerment via tech access |
| 6 – Clean Water | Indirect | Promotes efficient water use & quality |
| 7 – Clean Energy | Indirect | Uses solar-powered IoT nodes |
| 8 – Decent Work | Indirect | Creates digital rural jobs |
| 9 – Industry & Innovation | Direct | Builds rural AI + IoT infrastructure |
| 10 – Reduced Inequalities | Indirect | Connects digitally excluded groups |
| 11 – Sustainable Communities | Indirect | Supports peaceful rural planning |
| 12 – Responsible Consumption | Indirect | Incentivizes sustainable production |
| 13 – Climate Action | Direct | Predicts & mitigates climate risks |
| 14 – Life Below Water | Weak Indirect | Protects water quality via land mgmt |
| 15 – Life on Land | Direct | Prevents land degradation |
| 16 – Peace & Institutions | Direct | Reduces farmer–herder conflicts |
| 17 – Partnerships | Direct | Builds global/local collaboration |
Built With
- computer-vision
- esp32
- etherium
- firebase
- google-maps
- hedera
- iot
- neo6m
- react
- react-native
- solidity
- tinyllama
Log in or sign up for Devpost to join the conversation.