Inspiration
Agriculture is the backbone of India, yet farmers often face numerous challenges, including unpredictable weather patterns, pest infestations, fluctuating market prices, and limited access to timely, accurate information. Traditional methods of information dissemination are often slow and inaccessible to many, especially those in remote areas or with limited literacy. We were inspired to bridge this gap by leveraging cutting-edge AI and mobile technology to empower Indian farmers, providing them with a smart, accessible, and comprehensive framework to make informed decisions and improve their livelihoods. The goal was to create a "Saarthi" (guide/companion) for every farmer, making advanced agricultural insights available at their fingertips.
What it does
AgriSaarthi is an AI-powered agriculture framework designed to be a comprehensive digital companion for Indian farmers and related stakeholders. It offers:
Multi-language Support: Users can select their preferred language (English, Hindi, Gujarati) for a truly localized experience. Role-Based Access: The application caters to different user types, including Farmers, Agriculture Officers, Vendors, and Administrators, each with tailored functionalities. Intuitive Authentication: Features both traditional phone/password login and an innovative voice-based login system for enhanced accessibility. AI-Powered Voice Assistant: Integrates with Vapi.ai to provide an interactive AI assistant that can answer farming-related queries via voice, making information retrieval effortless. Personalized Dashboard: Offers a quick overview and access to critical features like Crop Health, Weather Forecasts, Live Market Prices, Government Schemes, and Irrigation management. Detailed Weather Information: Provides current weather conditions, hourly forecasts, and a weekly outlook, including alerts for heavy rain or optimal harvesting conditions. Notifications System: Delivers timely alerts on weather changes, market price fluctuations, and government scheme updates. Profile Management: Allows users to manage their personal and farm-related information, including details on land size, crop types, and farming experience. Quick Crop Analysis: Enables farmers to use their device's camera for instant disease and pest detection.
How we built it
AgriSaarthi was built as a modern web application using a robust and scalable technology stack:
Frontend: Developed with React and TypeScript for a dynamic and type-safe user interface. Styling: Utilized Tailwind CSS for rapid and responsive UI development, ensuring a clean and modern aesthetic. Animations: Incorporated Framer Motion to create smooth and engaging transitions and animations, enhancing the user experience. Navigation: Managed routing and navigation within the single-page application using React Router DOM. Icons: Used Lucide React for a consistent and high-quality icon set across the application. State Management: Employed React Context API for managing global states such as user authentication and language preferences. Backend (Authentication & Database): Integrated with Firebase for user authentication and Realtime Database for storing user and farmer-specific data. AI Voice Integration: Leveraged the Vapi.ai Web SDK to enable the AI-powered voice assistant functionality, allowing for natural language interactions.
Challenges we ran into
One of the primary challenges was ensuring the application's accessibility and usability across diverse user groups, particularly those who might be less tech-savvy or prefer local languages. Integrating the voice-based login and AI assistant required careful handling of speech-to-text and text-to-speech functionalities, as well as ensuring the AI could understand and respond accurately to agricultural queries in multiple languages. Another challenge was designing a comprehensive yet intuitive dashboard that could present a large amount of information without overwhelming the user, while also ensuring real-time data updates for weather and market prices.
Accomplishments that we're proud of We are particularly proud of the seamless integration of the AI-powered voice assistant, which significantly enhances accessibility for farmers. The multi-language support, especially for Hindi and Gujarati, is another key accomplishment that makes the application truly inclusive. We are also proud of the clean, modern, and responsive user interface built with Tailwind CSS and Framer Motion, which provides an engaging and user-friendly experience. The comprehensive dashboard and quick action features effectively consolidate vital information, making it easy for farmers to access the insights they need.
What we learned
Through the development of AgriSaarthi, we gained valuable insights into building user-centric applications for specific demographics, emphasizing accessibility and localization. We learned the importance of robust error handling and validation, especially for critical features like login and registration. Furthermore, we deepened our understanding of integrating third-party AI services and managing real-time data flows to provide dynamic and relevant information. The project also reinforced the power of modern frontend frameworks and utility-first CSS in creating efficient and visually appealing applications.
What's next for AgriSarthi For AgriSaarthi, the next steps involve:
Expanding AI Capabilities: Enhancing the AI assistant with more specialized agricultural knowledge and integrating it with image recognition for advanced crop disease diagnosis. Real-time Data Integration: Connecting to live APIs for more accurate and real-time market prices, weather data, and government scheme updates. Advanced Features: Developing more in-depth functionalities for each quick action, such as personalized irrigation schedules based on soil moisture data, detailed pest management plans, and a marketplace for farmers to sell their produce directly. Mobile App Deployment: Packaging the web application into native mobile apps for Android and iOS to ensure wider reach and better performance on mobile devices. Community Features: Implementing forums or chat groups for farmers to connect, share knowledge, and seek advice from peers and experts. Analytics and Reporting: Providing farmers with personalized reports on their farm's performance, yield predictions, and financial insights.
Built With
- csshtml
- firebase
- node.js
- typescript


Log in or sign up for Devpost to join the conversation.