Inspiration
A lot of agricultural produce passes through multiple stages before reaching the final buyer. For perishable crops, delays in finding the right buyer can also contribute to food loss. We wanted to explore whether technology could make this process simpler by helping farmers and buyers discover each other more easily.
What it does
CropConnect AI is a marketplace where farmers can list their available crops and buyers can search for produce based on their requirements.
Instead of filling every field manually, farmers can simply describe what they have in English, Hindi, or Hinglish. For example:
“Mere paas Sonipat me 8 quintal tamatar hai aur ₹20 per kg chahiye.”
How we built it
We built CropConnect as a web application so farmers and buyers can access it easily without installing an app.
The project uses:
- React + TypeScript for the frontend
- Lovable for building and deploying the application
- Supabase / Lovable Cloud for the database and backend
- Gemini API for understanding natural-language input
- GitHub for source-code management
AI is used to understand and structure what the user says, while the actual Match Score is calculated using deterministic logic.
Challenges we ran into
One of our biggest challenges was making natural-language input work reliably while keeping the matching system transparent.
We also faced API quota limits, TypeScript errors, and deployment issues while integrating the AI functionality. Debugging these problems taught us a lot about APIs, server functions, databases, and deploying a complete web application.
Accomplishments that we're proud of
We're proud that we turned our idea into a working end-to-end prototype within the hackathon.
Some key accomplishments include:
- Supporting natural-language input in English, Hindi, and Hinglish
- Converting inputs like “8 quintal tamatar” into structured crop details
- Building a real marketplace with a transparent Match Score
- Successfully integrating the frontend, database, and Gemini API
Most importantly, we built a practical demonstration of how AI can make agricultural trade simpler and more accessible.
What we learned
Building CropConnect taught us that AI doesn't have to control the entire application to be useful. We used AI for what it does well understanding natural language while keeping the matching logic simple and explainable.
We also learned a lot about connecting a frontend to a real database, working with APIs, debugging errors, and taking an idea from a basic concept to a working web prototype.
What's next for CropConnect AI
In the future, CropConnect could include:
- Verified farmer and buyer accounts
- Quality inspection services
- Location-based matching
- Logistics and transportation support
- Real transaction workflows
- More crops and regional languages
The long-term goal is to make agricultural supply chains more efficient while helping reduce avoidable food waste.
Built With
- chatgpt
- css
- gamma
- gemini-api
- github
- html
- javascript
- lovable
- react
- supabase
- tanstack
- typescript
- vite
Log in or sign up for Devpost to join the conversation.