Farmwise
Farming made Wise with Farmwise
The problem Farmwise solves
🌾 The Problem It Solves
Indian farmers face a simple but serious challenge they have access to information, but not guidance.
Weather forecasts, crop care advice, and subsidy details exist, but they’re scattered across multiple government portals, English-heavy websites, and apps that are hard to use.
FarmWise bridges this gap by acting as a digital farming companion that listens, understands, and helps all in the farmer’s own language.
đźšś What People Can Use It For
Daily Activity Logging
Farmers can simply speak or type what they did today like “Aaj wheat field mein irrigation kiya” and FarmWise logs it automatically, building a complete digital farm diary.
Personalized Farming Advice
Farmers get context-aware guidance based on their land, crop type, soil, and local weather.
For example, based on the weather forecast it will suggest the farmers “Kal baarish aane wali hai, fertilizer kal subah daaliye for best absorption.”
Government Schemes & Subsidies
No more confusion. FarmWise finds all the schemes a farmer is eligible for, explains them in local language or voice, and even helps track applications.
Market Prices & Sales Planning
Farmers can check real-time mandi prices, identify good selling opportunities, and make data-backed decisions to maximize profits.
Timely Alerts & Reminders
Whether it’s pest risks, irrigation windows, or subsidy deadlines, FarmWise sends smart alerts so farmers never miss important actions.
🌱 How It Makes Life Easier
FarmWise simplifies everything from farming decisions to subsidy access.
It saves time, removes guesswork, and helps farmers act smarter using the power of AI.
With support for multiple Indian languages and offline access, even farmers in the most remote areas can use it effortlessly.
In short: FarmWise turns technology into a trusted, everyday partner for farmers, helping them grow better, earn better, and live better.
Challenges we ran into
⚙️ Challenges I Ran Into
While building FarmWise, we faced a few challenges that really tested our problem-solving and teamwork.
đź”” Setting Up Real-Time Notifications
We wanted farmers to get instant alerts like weather changes, irrigation reminders, or scheme deadlines but syncing all of that in real time was tricky.
Different APIs updated at different times, and background jobs sometimes got delayed.
How we solved it:
We used Inngest to handle background event triggers and queue systems efficiently.
This helped us schedule notifications and reminders in near real-time without slowing the app down.
🏛 Fetching Government Schemes in a Usable Format
One of the hardest parts was structuring government scheme data.
The data from portals like myScheme.gov.in wasn’t in a clean, API-friendly format everything came as HTML or PDFs with inconsistent fields.
How we solved it:
We built a custom data parser that extracts key details eligibility, benefits, deadlines and then feeds it into our database in a structured way.
We also plan to connect directly with official APIs once they’re public, to make the process smoother and scalable.
đź—„ Handling Database Migrations
As we kept adding new features like activity logs and scheme data, our database schema kept changing and that led to a few broken tables and mismatched columns.
How we solved it:
We decided to move to Drizzle ORM, which makes versioned migrations much cleaner and rollback-safe.
It helped us maintain consistency across the dev and production databases and avoid accidental data loss.
đź—Ł Building a Multilingual Voice Interface
Making the app truly “farmer-first” meant supporting multiple Indian languages and natural voice commands.
But integrating voice recognition with context understanding was harder than expected.
How we solved it:
We integrated LiveKit AI Voice Agent with our LangChain pipeline so the system can not only transcribe voice but also understand intent whether the farmer is logging an activity, asking for a scheme, or checking prices.
It made the overall experience much smoother and more human.
🌦 Integrating Different APIs
We faced a real challenge while connecting multiple external data sources like weather updates, market prices, and government scheme data.
Each API had its own structure, refresh timing, and reliability issues, which made it tough to sync everything smoothly in real time.
How we solved it:
Instead of forcing everything into one big service, we built separate AI agents each handling a specific data type (weather, market, schemes, etc.).
These agents activate automatically based on the farmer’s voice prompt, and the main AI can switch between them dynamically to fetch the right data when needed.
This modular approach not only made integration easier but also made the system more reliable so even if one service lags, the others still run seamlessly in the background.
đź’¬ In Short
Every challenge we hit from handling messy government data to syncing real-time alerts taught us how to design for simplicity at the surface and intelligence underneath.
Now, FarmWise doesn’t just “work”; it actually feels reliable for the farmer who uses it.