An AI-powered mobile application designed to provide Indian farmers with actionable, step-by-step guidance for farming decisions. The platform integrates weather data, soil health, market prices, government schemes, and agricultural best practices to deliver personalized recommendations through voice and regional languages.
- Offline-First Architecture: Core functionality works without internet connectivity
- AI-Powered Recommendations: Crop, fertilizer, and seed recommendations using AWS Bedrock
- Weather Intelligence: 7-day forecasts with farming advice and severe weather alerts
- Market Intelligence: Real-time mandi prices and selling guidance
- Government Schemes Navigator: Discover and apply for eligible schemes
- Soil Health Insights: Interpret soil test results and get improvement recommendations
- Training & Learning: Short practical lessons in regional languages
- Voice Interface: Complete voice navigation for low-literacy users
- Multilingual Support: 10+ Indian regional languages
- Smart Alerts: Timely reminders for farming activities
- Mobile: React Native 0.84.1 with TypeScript
- Backend: AWS Lambda (Node.js/TypeScript)
- Database: DynamoDB (cloud) + SQLite (local)
- AI/ML: AWS Bedrock
- Storage: Amazon S3
- Testing: Jest + fast-check (property-based testing)
- Code Quality: ESLint + Prettier
- Node.js >= 22.11.0
- npm or yarn
- React Native development environment
- Android Studio (for Android development)
- Xcode (for iOS development, macOS only)
- Clone the repository:
git clone <repository-url>
cd MadhavAI- Set up environment variables:
# Copy example file
cp .env.example .env
# Edit .env and add your values (see docs/secrets/SECRETS_SETUP_GUIDE.md)- Install dependencies:
npm install- Generate Android keystore (for release builds):
cd android
./generate-keystore.sh
cd ..- Install iOS dependencies (macOS only):
cd ios && pod install && cd ..For detailed setup instructions, see Quick Start Guide
npm startnpm run androidnpm run iosnpm testnpm run test:watchnpm run test:coverageProperty-based tests use fast-check library and are included in the test suite. They validate correctness properties across randomized inputs.
npm run lintnpm run lint:fixnpm run formatnpm run format:checknpm run type-checkMadhavAI/
โโโ src/
โ โโโ components/ # Reusable UI components
โ โโโ screens/ # Screen-level components
โ โโโ services/ # Business logic and API services
โ โโโ hooks/ # Custom React hooks
โ โโโ store/ # State management
โ โโโ config/ # Configuration files
โ โโโ types/ # TypeScript type definitions
โ โโโ utils/ # Utility functions
โโโ android/ # Android native code
โโโ ios/ # iOS native code
โโโ __tests__/ # Test files
โโโ docs/ # Project documentation
โโโ .kiro/specs/ # Specification documents
Comprehensive documentation is available in the docs/ folder:
- Quick Start Guide - Get up and running in 10 minutes
- What to Do Next - Post-MVP deployment guide
- Deployment Checklist - Complete deployment guide
- Secrets Setup Guide - Quick secrets setup
- Environment Setup - Complete environment variables guide
- Secret Variables Reference - All variables explained
- Build Optimization - APK optimization guide
- Rollout Strategy - Staged deployment strategy
- Direct Distribution - Distribute without Play Store
- Checkpoint 5 Validation
- Dashboard Implementation
- Document Picker Setup
- Multilanguage Implementation
- Soil Health Upload Guide
- Voice Interface Implementation
- Project Structure
- Test Results - 718 tests, 100% passing โ
- Voice Interface Guide
- Translation Service Guide
- Update Mechanisms - OTA updates & A/B testing
For complete documentation index, see docs/README.md
This project follows a spec-driven development approach. Implementation tasks are defined in .kiro/specs/farmer-decision-support-platform/tasks.md.
โ
Task 1: Project setup and infrastructure foundation - COMPLETE
โ
Task 2: Authentication module implementation
โ
Task 3: User profile module implementation
โ
Task 4: Offline sync module implementation
โ
Task 5: Checkpoint - Core infrastructure validation
โ
Task 6: Weather intelligence module implementation
โ
Task 7: Market intelligence module implementation
โ
Task 8: oil health module implementation
โ
Task 9: Recommendation engine implementation
โ
Task 10: Checkpoint - Core recommendation engine validation
โ
Task 11: Government schemes navigator implementation
โ
Task 12: Training and learning module implementation
โ
Task 13: Alert and reminder system implementation
โ
Task 14: Voice interface module implementation
โ
Task 15: Multilanguage support implementation
โ
Task 16: Dashboard module implementation
โ
Task 17: Checkpoint - Core features integration validation
- Hindi (เคนเคฟเคจเฅเคฆเฅ)
- Tamil (เฎคเฎฎเฎฟเฎดเฏ)
- Telugu (เฐคเฑเฐฒเฑเฐเฑ)
- Kannada (เฒเฒจเณเฒจเฒก)
- Marathi (เคฎเคฐเคพเค เฅ)
- Bengali (เฆฌเฆพเฆเฆฒเฆพ)
- Gujarati (เชเซเชเชฐเชพเชคเซ)
- Punjabi (เจชเฉฐเจเจพเจฌเฉ)
- Malayalam (เดฎเดฒเดฏเดพเดณเด)
- Odia (เฌเฌกเฌผเฌฟเฌ)
- English
- Offline-First: All core features work without internet
- Modular: Clean separation of concerns
- Type-Safe: Strict TypeScript configuration
- Testable: Property-based testing for correctness
- Scalable: Designed for 10M+ users
- Accessible: Voice interface and regional language support
- AES-256 encryption for local data
- TLS 1.3 for network communications
- OTP-based authentication
- Secure session management
- Data privacy compliance
- Dashboard load: < 2 seconds (offline)
- API response: < 3 seconds
- Recommendations: < 5 seconds
- App size: < 50 MB
- Battery usage: < 5% per hour active use
- Minimum device: Android 8.0, 2 GB RAM
- Follow the coding standards (ESLint + Prettier)
- Write tests for new features
- Maintain 80%+ code coverage
- Update documentation
- Follow the spec-driven development workflow
This project is licensed under the MIT License. See the LICENSE file for more information.
Payal Kumari
Team Leader | Full Stack Developer | AI Integration
LinkedIn: https://www.linkedin.com/in/payalkumari10/
Akashdeep
Full Stack Developer | React Native Development
LinkedIn: https://www.linkedin.com/in/akashdeep023/
Prem Rathod
Full Stack Developer | Backend & Cloud Support
LinkedIn: https://www.linkedin.com/in/prem-arun-rathod/
If you have questions, suggestions, or would like to collaborate, feel free to reach out.
Payal Kumari
Team Leader โ Team Madhav
๐ง Email: kumaripayal7488.com
๐ LinkedIn: https://www.linkedin.com/in/payalkumari10/
For technical queries, you can also connect with any of the Team Madhav members listed above.
Built with โค๏ธ to empower Indian farmers with AI-powered decision support.