How octo-advisory/kaix works
MarsAIX is a Frappe-based industrial planning and advisory platform with a React chat frontend. Its main workflow takes a user query through intent analysis and validation, then produces feasibility or industrial-search results; separate capabilities cover market trends and mapping. The README describes Management_Class as the orchestration layer connecting AI, analytics, and Redis. Source excerpts confirm parts of the classification and vendor/approval analytics paths; several other documented subsystems are represented at directory level because their implementation was not sampled.
Main entry points: Analytics_management Analytics management · Ai_management AI management · Chatscreen.jsx Chat interface · ResultScreens Results and maps
Components 17
User experience
- Chat interface
frontend/src/components/Chatscreen/Chatscreen.jsx - Results and maps
frontend/src/components/ResultScreens - Frontend state
frontend/src/Redux/Store
AI and orchestration
- Query classification
kaix/Ai_module/Query_Classification_And_Analysis.py - Intent and extraction
kaix/Ai_module - Query validation
kaix/Validations - AI management
kaix/Management_Class/Ai_management - Analytics management
kaix/Management_Class/Analytics_management
Planning and search
- Feasibility analysis
kaix/Ai_module/Feasibility_Universal_Function - Industry planning
kaix/Analytics_module/Industry_form_scratch - Business searches
kaix/Analytics_module - Market trends
kaix/Market_Trends - Location mapping
kaix/Mapping_module
State and records
- Chat state
kaix/Management_Class/Redis_management/Redis_chat.py - Frappe records
kaix/marsaix/doctype
Other components
- Business user
- Frappe database
Connections 19
- Business user → Chat interface: asks
- Chat interface → Frontend state: updates state
- Chat interface → Analytics management: submits queries
- Analytics management → Query classification: classifies
- AI management → Query classification: analyzes
- AI management → Intent and extraction: extracts intent
- Analytics management → Query validation: validates
- Analytics management → Business searches: runs searches
- AI management → Feasibility analysis: assesses feasibility
- Analytics management → Industry planning: plans industry
- Analytics management → Location mapping: uses location
- Market trends → Frappe database: caches trends
- Analytics management → Chat state: manages chat
- Analytics management → Frappe records: records activity
- Frappe records → Frappe database: persists records
- Business searches → Frappe database: queries records
- Industry planning → Frappe database: queries records
- Analytics management → Results and maps: returns results
- Results and maps → Business user: shows findings