Inspiration
Agriculture employs billions globally, yet rural communities face deadly challenges that threaten both lives and food security. Herder-farmer conflicts kill thousands annually across Africa, the Far East, and Latin America, while smallholder farmers remain excluded from financial systems that could transform their livelihoods. We were inspired by the urgent need to prevent these conflicts while democratizing access to agricultural finance and education. The question that drove us: What if technology could prevent deaths, protect livelihoods, and make agricultural investment as transparent as checking your bank account?
What it does
AgroRithm is an AI + IoT + Blockchain platform that prevents livestock conflicts while creating transparent agricultural investment opportunities. Our system:
Prevents Conflicts: Real-time GPS tracking of livestock with AI-powered geofencing that sends early warnings when animals approach farms or restricted zones. Sends immediate alerts offline when cattle is about to stray into a non-grazing area or farm leveraging computer vision YOLO.
Democratizes Investment: PEACE token system enabling micro-investments starting at $1 in specific livestock, land plots, or sustainability actions
Educates Communities: Offline-first AI chatbot (AgroAI) providing agricultural education via mobile apps and Telegram bot
Rewards Sustainability: Blockchain-verified tokens for tree planting, composting, and other green practices
Creates Local Economy: Marketplace connecting herders with buyers for meat/milk, payable in cash or tokens
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 PEACE tokens, and ensures transparent reporting. Investment in livestock can be 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. Getting 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 power of combining multiple technologies (AI, IoT, blockchain, geospatial data) to solve complex real-world problems.
Importance of offline-first design for underserved communities.
How blockchain can create transparency without sacrificing usability.
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: Smart Animal & Earth Sustainability Guardian
Partnerships with NGOs, 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 and then Africa and the world at large. Enhanced prediction models using historical conflict data and climate patterns. Computer vision expansion for crop health monitoring and disease detection
Built With
- ai
- firebase
- iot
- ipfs
- maps
- ollama
- pinata
- pwa
- react
- react-native
Log in or sign up for Devpost to join the conversation.