An AI-powered comprehensive farming ecosystem built for Hacktron at Infostav
A complete agricultural management platform featuring voice-enabled AI assistance, mobile applications, and robust backend services to empower farmers with intelligent decision-making tools.
AI-FarmCare DevTree is a multi-platform agricultural solution consisting of:
- ๐ AgroMitraWeb - Next.js web application with voice-powered farm management
- ๐ฑ AgroMitraApp - React Native mobile application for on-the-go farming
- ๐ค AI Voice Agent - Intelligent farming companion with real-time voice interaction
- โก Backend API - Express.js backend with comprehensive farming data management
- Multi-language Support: English, Hindi, Spanish
- Real-time Voice Interaction: Powered by LiveKit and Google AI
- Smart Navigation: Voice commands for seamless app navigation
- Farming Intelligence: Weather updates, crop recommendations, market prices
- Digital Farm Mapping: GPS-based area calculation and field management
- Crop Lifecycle Tracking: From planting to harvest monitoring
- Task Management: Automated scheduling and reminders
- Soil Analysis: Real-time soil health monitoring and recommendations
- Weather Integration: Real-time weather data with farming-specific advice
- Market Prices: Live commodity prices with trend analysis
- Disease Detection: AI-powered plant disease diagnosis using Susya API
- Government Schemes: Access to agricultural subsidies and programs
- Farmer Network: Connect with local farming communities
- Knowledge Sharing: Post questions, share experiences, and learn
- Expert Consultation: Access to agricultural experts and advisors
AI-FarmCare_DevTree/
โโโ ๐ AgroMitraWeb/ # Next.js Web Application
โ โโโ src/app/ # App Router pages
โ โโโ src/components/ # Reusable UI components
โ โโโ src/lib/ # Business logic & utilities
โ โโโ public/ # Static assets
โโโ ๐ฑ AgroMitraApp/ # React Native Mobile App
โ โโโ app/ # Expo Router navigation
โ โโโ components/ # Mobile UI components
โ โโโ assets/ # Mobile assets
โโโ ๐ค AIVoiceAgent/ # Python AI Voice Assistant
โ โโโ agent.py # Main agent logic
โ โโโ tools.py # Farming tools & functions
โ โโโ rag_system.py # Knowledge retrieval system
โโโ โก Backend/ # Express.js API Server
โโโ src/controllers/ # API controllers
โโโ src/models/ # Database models
โโโ src/routes/ # API routes
- Node.js 18+ and npm
- Python 3.8+ (for AI Voice Agent)
- MongoDB (local or cloud)
- Expo CLI (for mobile app)
git clone https://github.com/your-username/AI-FarmCare_DevTree.git
cd AI-FarmCare_DevTreecd Backend
npm install
cp .env.example .env
# Configure your environment variables
npm run devBackend URL: https://ai-farmcare-devtree.onrender.com/
cd AgroMitraWeb
npm install
cp .env.example .env.local
# Add your API keys
npm run devWeb App: http://localhost:3000
cd AgroMitraApp
npm install
npx expo startcd AIVoiceAgent
pip install -r requirements.txt
cp .env.example .env
# Configure LiveKit and API keys
python agent.py- Web: Next.js 14, TypeScript, Tailwind CSS
- Mobile: React Native, Expo, NativeWind
- Voice: Web Speech API, LiveKit Real-time Communication
- API: Express.js, MongoDB, JWT Authentication
- AI: Google Gemini, OpenAI, RAG System
- Voice Agent: Python, LiveKit, SentenceTransformers
- Weather: OpenWeatherMap API
- Soil Data: SoilGrids API
- Disease Detection: Susya API
- Maps: Google Maps API
๐ฃ๏ธ "What's the weather like for my farm?"
๐ฃ๏ธ "Show me crop recommendations for 5 acres"
๐ฃ๏ธ "Check market prices for wheat"
๐ฃ๏ธ "My tomato plants have yellow spots"
๐ฃ๏ธ "Navigate to my tasks"
๐ฃ๏ธ "เคฎเฅเคธเคฎ เคเฅเคธเคพ เคนเฅ?" (Hindi: How's the weather?)
- Authentication:
/api/auth/register,/api/auth/login - Tasks:
/api/tasks(CRUD operations) - Farm Management:
/api/fields(Farm field management) - Community:
/api/posts,/api/community(Social features) - Market Data:
/api/market-prices(Real-time pricing)
- ๐บ๐ธ English: Complete functionality
- ๐ฎ๐ณ Hindi (เคนเคฟเคจเฅเคฆเฅ): Full localization for Indian farmers
- ๐ช๐ธ Spanish (Espaรฑol): Support for Spanish-speaking regions
- Voice-First Interface: Talk to your farming assistant
- Offline Task Management: Work without internet connectivity
- Camera Integration: Plant disease detection via camera
- GPS Integration: Location-based farming recommendations
- Push Notifications: Task reminders and weather alerts
- Crop recommendation based on soil and climate
- Disease diagnosis from symptoms or images
- Weather-based farming advice
- Market price predictions and trends
- 200+ farming topics in RAG system
- Government schemes and subsidies
- Best practices and techniques
- Community-driven knowledge sharing
cd Backend
npm test
# API endpoints testing
node test-api.jscd AgroMitraWeb
npm run test
npm run lintcd AIVoiceAgent
python -m pytest tests/- Backend API: https://ai-farmcare-devtree.onrender.com/
- Web Application: [Deploy on Vercel/Netlify]
- Mobile App: [Deploy via Expo Application Services]
Each component includes .env.example files with required configuration variables.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the individual component LICENSE files for details.
Built with โค๏ธ for farmers worldwide
Empowering agriculture through intelligent voice technology and comprehensive farm management solutions.
- Project: AI-FarmCare DevTree
- Event: Hacktron at Infostav
- Focus: Agricultural Technology & AI Innovation
For questions, issues, or contributions:
- ๐ง Email: [Your contact email]
- ๐ Issues: [GitHub Issues Link]
- ๐ Documentation: See individual component READMEs
- ๐ Demo: [Live demo link if available]
Transforming Agriculture, One Voice Command at a Time ๐พ๐ค


