How kaushalye1234/intelligent-pre-cultivation-farm-planning-and-management-system works
AgriAssist is a farm-operations product with a .NET API, React staff console, Flutter farmer app, and a Python AI-service foundation. The user-facing flow spans farm/crop planning, inspections and issue follow-up, resource and weather analysis, and task scheduling/approval; authentication and persisted domain records support those workflows. The README describes the AgenticAI backend client as a disabled placeholder, while the Python service contains workflow endpoints and agent modules. Several frontend and backend subsystem links are documented only at product level; unsampled implementations are represented by their existing directories.
Main entry points: Controllers REST endpoints · AppDbContext.cs Application database · src Staff console · Inspections Inspections
Components 21
User Applications
- Farmer mobile app
mobile/flutter_app - Staff console
frontend/react-app/src - Console routing
frontend/react-app/src/App.tsx - Web API client
frontend/react-app/src/api/client.ts
API and Domain Workflows
- REST endpoints
backend/AgriAssist.Api/Controllers - Authentication
backend/AgriAssist.Api/Services/Shared/AuthService.cs - Crop planning
backend/AgriAssist.Api/Services/CropPlanning - Inspections
backend/AgriAssist.Api/Services/Inspections - Resources and weather
backend/AgriAssist.Api/Services/Resources - Task approval
backend/AgriAssist.Api/Services/TaskApproval - Cultivation guide
backend/AgriAssist.Api/Services/FinalCultivationGuide
AI Analysis Service
- AI workflow API
ai-service/main.py - Analysis agents
ai-service/agents - Backend tool client
ai-service/tools/backend_tool_client.py - LLM provider layer
ai-service/providers/base_llm_provider.py
Persistence and Integrations
- Application database
backend/AgriAssist.Api/Data/AppDbContext.cs - Image storage
backend/AgriAssist.Api/ExternalServices/Cloudinary - Weather provider
backend/AgriAssist.Api/ExternalServices/Weather - AgenticAI client
backend/AgriAssist.Api/ExternalServices/AgenticAI
Other components
- Farmers
- Staff and officers
Connections 23
- Farmers → Farmer mobile app: use
README.md - Staff and officers → Staff console: use
README.md - Staff console → Console routing: renders
frontend/react-app/src/App.tsx - Console routing → Web API client: requests data
- Staff console → REST endpoints: calls API
README.md - Farmer mobile app → REST endpoints: calls API
README.md - REST endpoints → Authentication: delegates
- REST endpoints → Crop planning: delegates
backend/AgriAssist.Api/Controllers/CropPlanning/CropPlanningController.cs - REST endpoints → Inspections: delegates
backend/AgriAssist.Api/Controllers/Inspections/InspectionsController.cs - REST endpoints → Resources and weather: delegates
backend/AgriAssist.Api/Controllers/Resources/ResourcesController.cs - REST endpoints → Task approval: delegates
backend/AgriAssist.Api/Controllers/TaskApproval/TaskApprovalController.cs - REST endpoints → Cultivation guide: delegates
backend/AgriAssist.Api/Controllers/TaskApproval/TaskApprovalController.cs - Crop planning → Application database: reads and writes
- Inspections → Application database: reads and writes
- Resources and weather → Application database: reads and writes
backend/AgriAssist.Api/Services/Resources/ResourceRequirementResearchService.cs - Task approval → Application database: reads and writes
- Inspections → Image storage: stores images
- Resources and weather → Weather provider: gets weather
- AI workflow API → Analysis agents: dispatches
ai-service/main.py - Analysis agents → LLM provider layer: uses provider
ai-service/agents/scheduling_profile_retriever.py - Analysis agents → Backend tool client: uses tools
- Backend tool client → REST endpoints: calls backend
- AgenticAI client → AI workflow API: integration disabled
README.md