Inspiration
In Dera Ghazi Khan, Pakistan, agriculture is an important source of livelihood for many families. Farmers work hard to grow crops, but much of the farming process is still undocumented.
A farmer may plant a crop, irrigate it, apply fertilizer, manage pests, and finally harvest it, but there is often no simple digital record showing this journey.
When the crop reaches a buyer, the buyer may know very little about where it came from, how it was grown, or what happened during cultivation.
Existing traceability and certification systems can also be too complicated or inaccessible for small farmers with limited technical knowledge.
This inspired us to ask a simple question:
What if every crop could have its own digital passport?
That idea became CropPassport AI.
What It Does
CropPassport AI is a farmer-friendly digital crop traceability platform that turns simple farming records into a shareable Digital Crop Passport.
The system is designed around two users:
👨🌾 Farmer
A farmer creates a harvest record containing basic information such as:
- Crop and variety
- Farmer information
- Farm location
- Planting date
- Expected harvest date
Throughout the crop lifecycle, the farmer can continue documenting activities using:
- 📝 Text farming records
- 📷 Photo evidence
- 🎙️ Voice notes
These activities build a chronological Crop Traceability Timeline.
AI can also help transform simple farmer-written notes into more structured and understandable farming records.
🛒 Buyer
When the crop is ready, CropPassport AI generates a Digital Crop Passport containing:
- Crop identity
- Farm origin
- Cultivation information
- Farming activity timeline
- Photo and voice evidence
- Traceability completeness score
- AI-generated traceability summary
A QR code connects buyers to a read-only version of the passport.
Instead of simply being told where a crop came from, buyers can see its documented journey.
How We Built It
We intentionally kept the application lightweight and accessible.
The frontend was developed using:
HTML, CSS, and Vanilla JavaScript
Local harvest records and activities are managed through browser storage, while Supabase was explored for publishing crop passport information that can be accessed across devices.
We also integrated:
- OpenRouter for LLM-powered activity analysis and traceability summaries
- QR Code generation for buyer access
- Photo documentation
- Voice-note recording
- Vercel for web deployment
- GitHub for collaborative development and version control
Our goal was not to build another complicated agricultural management system. We wanted to create something that could eventually be simple enough for a farmer to use from a phone.
Challenges We Faced
One of our biggest challenges was balancing technology with simplicity.
Adding more features is easy, but farmers with limited digital experience should not have to understand complex software just to maintain crop records.
We also faced technical challenges while integrating AI APIs, securely managing API keys, combining work from multiple Git branches, generating public QR links, and moving crop passport data from device-specific browser storage toward cross-device access.
These challenges helped us better understand that real agricultural technology requires more than just building features—it requires designing around the people who will actually use them.
What We Learned
Building CropPassport AI taught us about:
- Designing technology for non-technical users
- Digital agricultural traceability
- Creating structured records from unstructured farmer input
- Integrating LLM APIs into real applications
- QR-based information sharing
- Browser storage and cloud databases
- Git/GitHub collaboration
- Building and deploying an MVP under hackathon constraints
Most importantly, we learned that AI does not always need to replace existing processes.
Sometimes its most valuable role is simply helping people document, organize, understand, and share information more effectively.
Impact & Future Vision
CropPassport AI is currently an MVP, but the idea can grow much further.
Future versions could include:
- Urdu and local-language support
- Voice-first interaction for farmers
- Offline-first data collection
- Weather and location integration
- Supply-chain tracking
- Laboratory test records
- Certification organization integration
- Export documentation
- Farmer cooperatives and buyer marketplaces
- Secure cloud-based crop passports
Our long-term vision is simple:
Give every harvest a digital identity and every farmer an easier way to tell the trusted story behind their crop.
CropPassport AI aims to transform scattered farming activities into a transparent crop journey — from farm records to trusted crop stories.
Built With
- api
- css
- html5
- javascript
- llm
- openrouter
- supabase
Log in or sign up for Devpost to join the conversation.