How git-me-harish/krishisethu works
KrishiSetu is a farmer-facing agricultural platform: farmers use the web app to access identity services and agricultural capabilities, with results delivered through its API and, for disease and voice tasks, a separate inference service. Major documented branches include plots, diagnostics, soil and weather, satellite monitoring, insurance, commerce, schemes, privacy, audit, and multilingual voice. The API and ML service connect to shared persistence and external providers. Some domain implementations and runtime wiring were not sampled, so uncertain links are omitted or marked dashed.
Main entry points: main.py API service · integrations External providers · identity/routes.py Identity and e-KYC · disease/routes.py Disease diagnosis
Components 21
Farmer experience
- Web application
apps/web/src/app
API capabilities
- Identity and e-KYC
apps/api/krishisetu/domains/identity/routes.py - Farmer and plots
apps/api/krishisetu/domains/farmer/routes.py - Disease diagnosis
apps/api/krishisetu/domains/disease/routes.py - Soil and weather
apps/api/krishisetu/domains/soil_weather/routes.py - Satellite NDVI
apps/api/krishisetu/domains/ndvi/routes.py - Insurance and claims
apps/api/krishisetu/domains/insurance/routes.py - Marketplace
apps/api/krishisetu/domains/marketplace/routes.py - Payments
apps/api/krishisetu/domains/payment/routes.py - Government schemes
apps/api/krishisetu/domains/schemes/routes.py - Voice assistant
apps/api/krishisetu/domains/voice/routes.py - Privacy and consent
apps/api/krishisetu/domains/privacy/routes.py - Audit records
apps/api/krishisetu/domains/audit/routes.py
Inference and data
- ML inference service
apps/ml-inference/krishisetu_ml/main.py - Disease classifier
apps/ml-inference/krishisetu_ml/api/disease.py - Voice processing
apps/ml-inference/krishisetu_ml/api/voice.py
Shared platform
- API service
apps/api/krishisetu/main.py - PostgreSQL database
apps/api/krishisetu/core/database.py - Object storage
apps/api/krishisetu/core/storage.py - External providers
apps/api/krishisetu/integrations
Other components
- Farmer
Connections 25
- Farmer → Web application: uses
README.md - Web application → API service: requests
- API service → Identity and e-KYC: routes
- API service → Farmer and plots: routes
- API service → Disease diagnosis: routes
- API service → Soil and weather: routes
- API service → Satellite NDVI: routes
- API service → Insurance and claims: routes
- API service → Marketplace: routes
- API service → Payments: routes
- API service → Government schemes: routes
- API service → Voice assistant: routes
- API service → Privacy and consent: routes
- API service → Audit records: routes
- ML inference service → Disease classifier: registers
apps/ml-inference/krishisetu_ml/main.py - ML inference service → Voice processing: registers
apps/ml-inference/krishisetu_ml/main.py - Disease diagnosis → Disease classifier: requests inference
- Voice assistant → Voice processing: requests processing
- Identity and e-KYC → PostgreSQL database: persists identity
- Farmer and plots → PostgreSQL database: persists plots
- Disease diagnosis → Object storage: stores images
- Soil and weather → External providers: fetches data
- Satellite NDVI → External providers: fetches imagery
- Payments → External providers: uses gateway
apps/api/krishisetu/domains/payment/routes.py - Identity and e-KYC → External providers: verifies Aadhaar
apps/api/krishisetu/domains/identity/routes.py