How shailesh-sharma369/earthlygen works
EarthlyGen (RUHI) is a conversational voice/text assistant joined to a social-commerce application. The main workflow runs from a user request through the frontend and Python AI server/controller, which interprets intent, resolves context, and either responds or calls application APIs; results return to the interface. The application also supports independent commerce, social/community, identity, and eco-trust workflows. Edges are limited to relationships visible in excerpts, the source index, or README; unsampled subsystem links are omitted rather than inferred.
Main entry points: server.js Application API · controller.py Agent controller · auth.js JWT authentication · orderroutes.js Orders and payments
Components 21
Agent orchestration
- AI request server
AIVS/agentic_ai/server.py - Agent controller
AIVS/agentic_ai/controller.py - Mistral reasoning
AIVS/agentic_ai/brain/mistral_brain.py - Context resolver
AIVS/agentic_ai/resolver/context_resolver.py - Session memory
AIVS/agentic_ai/memory/session_memory.py - Action planner
AIVS/agentic_ai/planner/simple_planner.py
Commerce workflows
- Orders and payments
Nova/EcoSoul-Jarvis/EcoSoul-Jarvis/backend/routes/orderroutes.js - Payment confirmation
Nova/EcoSoul-Jarvis/EcoSoul-Jarvis/backend/routes/paymentRoutes.js - Order records
Nova/EcoSoul-Jarvis/EcoSoul-Jarvis/backend/models/order.js - Product catalog
Nova/EcoSoul-Jarvis/EcoSoul-Jarvis/backend/models/product.js
Social and eco
- Groups and events
Nova/EcoSoul-Jarvis/EcoSoul-Jarvis/backend/routes/groupRoutes.js - Direct messaging
Nova/EcoSoul-Jarvis/EcoSoul-Jarvis/backend/routes/messageRoutes.js - Social and eco posts
Nova/EcoSoul-Jarvis/EcoSoul-Jarvis/backend/routes/postroutes.js - Notifications
Nova/EcoSoul-Jarvis/EcoSoul-Jarvis/backend/utils/notificationService.js - Eco verification
Nova/EcoSoul-Jarvis/EcoSoul-Jarvis/backend/routes/ecoVerificationRoutes.js
Application platform
- Assistant interface
Nova/EcoSoul-Jarvis/EcoSoul-Jarvis/frontend/assistant_logic.py - Application API
Nova/EcoSoul-Jarvis/EcoSoul-Jarvis/backend/server.js - JWT authentication
Nova/EcoSoul-Jarvis/EcoSoul-Jarvis/backend/middleware/auth.js - MongoDB
Nova/EcoSoul-Jarvis/EcoSoul-Jarvis/backend/config/db.js - User accounts
Nova/EcoSoul-Jarvis/EcoSoul-Jarvis/backend/routes/userRoutes.js
Other components
- User
Connections 25
- User → Assistant interface: interacts
- Assistant interface → AI request server: sends request
- AI request server → Agent controller: dispatches
AIVS/agentic_ai/server.py - Agent controller → Mistral reasoning: requests reasoning
- Agent controller → Context resolver: resolves arguments
AIVS/agentic_ai/controller.py - Context resolver → Session memory: reads context
AIVS/agentic_ai/resolver/context_resolver.py - Agent controller → Session memory: stores turns
AIVS/agentic_ai/controller.py - Agent controller → Action planner: plans actions
AIVS/agentic_ai/controller.py - Agent controller → Application API: calls APIs
- Application API → JWT authentication: uses middleware
Nova/EcoSoul-Jarvis/EcoSoul-Jarvis/backend/server.js - Application API → MongoDB: connects database
Nova/EcoSoul-Jarvis/EcoSoul-Jarvis/backend/server.js - Application API → Orders and payments: mounts routes
Nova/EcoSoul-Jarvis/EcoSoul-Jarvis/backend/server.js - Application API → Payment confirmation: mounts routes
Nova/EcoSoul-Jarvis/EcoSoul-Jarvis/backend/server.js - Application API → User accounts: mounts routes
Nova/EcoSoul-Jarvis/EcoSoul-Jarvis/backend/server.js - Application API → Groups and events: mounts routes
Nova/EcoSoul-Jarvis/EcoSoul-Jarvis/backend/server.js - Application API → Direct messaging: mounts routes
Nova/EcoSoul-Jarvis/EcoSoul-Jarvis/backend/server.js - Application API → Social and eco posts: mounts routes
Nova/EcoSoul-Jarvis/EcoSoul-Jarvis/backend/server.js - Application API → Eco verification: mounts routes
Nova/EcoSoul-Jarvis/EcoSoul-Jarvis/backend/server.js - Orders and payments → Order records: reads and writes
Nova/EcoSoul-Jarvis/EcoSoul-Jarvis/backend/routes/orderroutes.js - Orders and payments → Product catalog: reads products
Nova/EcoSoul-Jarvis/EcoSoul-Jarvis/backend/routes/orderroutes.js - Payment confirmation → Order records: creates order
Nova/EcoSoul-Jarvis/EcoSoul-Jarvis/backend/routes/paymentRoutes.js - Social and eco posts → Notifications: notifies activity
Nova/EcoSoul-Jarvis/EcoSoul-Jarvis/backend/routes/postroutes.js - Groups and events → JWT authentication: authenticates requests
Nova/EcoSoul-Jarvis/EcoSoul-Jarvis/backend/routes/groupRoutes.js - Direct messaging → JWT authentication: authenticates requests
Nova/EcoSoul-Jarvis/EcoSoul-Jarvis/backend/routes/messageRoutes.js - User accounts → JWT authentication: authenticates requests
Nova/EcoSoul-Jarvis/EcoSoul-Jarvis/backend/routes/userRoutes.js