How ruthwikreddy14/supportmind works
SupportMind is a customer-support application whose central workflow is a customer conversation: the frontend sends a message to the FastAPI chat route, the agent looks up the customer and recalls relevant memory, generates a contextual response, and retains new interaction facts. Separate customer and memory APIs support profiles and the Memory Inspector’s retain, recall, reflection, and bank-inspection features. The README documents Hindsight Cloud as the memory layer. Edges reflect shown calls or documented relationships; unsampled details are not inferred.
Main entry points: App.jsx Application shell · client.js HTTP API client · agent_service.py Support agent · memory_service.py Memory service
Components 22
Support interface
- Application shell
frontend/src/App.jsx - Support dashboard
frontend/src/components/DashboardView.jsx - Customer list
frontend/src/components/CustomersView.jsx - Customer profile
frontend/src/components/CustomerDetailView.jsx - Support chat
frontend/src/components/ChatView.jsx - Memory inspector
frontend/src/components/MemoryInspectorView.jsx - System settings
frontend/src/components/SettingsView.jsx - Navigation and header
frontend/src/components/Sidebar.jsx - Status badges
frontend/src/components/StatusBadge.jsx - HTTP API client
frontend/src/api/client.js
Backend API
- FastAPI application
backend/main.py - Chat routes
backend/routers/chat.py - Customer routes
backend/routers/customers.py - Memory routes
backend/routers/memory.py - API schemas
backend/models/schemas.py - Runtime configuration
backend/config.py
Support domain
- Support agent
backend/services/agent_service.py - Customer profiles and seeds
backend/models/customer.py
Memory system
- Memory service
backend/services/memory_service.py
External services
- Hindsight Cloud
- Gemini / OpenAI
Other components
- Customer / operator
Connections 41
- Customer / operator → Application shell: uses
frontend/src/App.jsx - Application shell → HTTP API client: checks and loads
frontend/src/App.jsx - Application shell → Support dashboard: renders
frontend/src/App.jsx - Application shell → Customer list: renders
frontend/src/App.jsx - Application shell → Customer profile: renders
frontend/src/App.jsx - Application shell → Support chat: renders
frontend/src/App.jsx - Application shell → Memory inspector: renders
frontend/src/App.jsx - Application shell → System settings: renders
frontend/src/App.jsx - Application shell → Navigation and header: renders
frontend/src/App.jsx - Support chat → HTTP API client: sends messages
frontend/src/components/ChatView.jsx - Customer profile → HTTP API client: loads details
frontend/src/components/CustomerDetailView.jsx - Memory inspector → HTTP API client: manages memory
frontend/src/components/MemoryInspectorView.jsx - System settings → HTTP API client: loads status
frontend/src/components/SettingsView.jsx - Support chat → Status badges: displays status
frontend/src/components/ChatView.jsx - Customer profile → Status badges: displays status
frontend/src/components/CustomerDetailView.jsx - Customer list → Status badges: displays status
frontend/src/components/CustomersView.jsx - Support dashboard → Status badges: displays status
frontend/src/components/DashboardView.jsx - Memory inspector → Status badges: displays status
frontend/src/components/MemoryInspectorView.jsx - System settings → Status badges: displays status
frontend/src/components/SettingsView.jsx - HTTP API client → Chat routes: posts chat
frontend/src/api/client.js - HTTP API client → Customer routes: requests profiles
frontend/src/api/client.js - HTTP API client → Memory routes: requests memory
frontend/src/api/client.js - FastAPI application → Chat routes: mounts routes
backend/main.py - FastAPI application → Customer routes: mounts routes
backend/main.py - FastAPI application → Memory routes: mounts routes
backend/main.py - FastAPI application → Runtime configuration: loads CORS settings
backend/main.py - FastAPI application → Memory service: checks connection
backend/main.py - Chat routes → Support agent: dispatches chat
backend/routers/chat.py - Chat routes → API schemas: uses chat schemas
backend/routers/chat.py - Customer routes → Customer profiles and seeds: reads profiles
backend/routers/customers.py - Customer routes → Memory service: lists memories
backend/routers/customers.py - Customer routes → API schemas: uses memory schema
backend/routers/customers.py - Memory routes → Memory service: dispatches operations
backend/routers/memory.py - Memory routes → API schemas: uses memory schemas
backend/routers/memory.py - Support agent → Customer profiles and seeds: identifies customer
backend/services/agent_service.py - Support agent → Memory service: recalls and retains
backend/services/agent_service.py - Support agent → API schemas: returns chat response
backend/services/agent_service.py - Support agent → Runtime configuration: loads model settings
backend/services/agent_service.py - Support agent → Gemini / OpenAI: generates response
backend/services/agent_service.py - Memory service → Runtime configuration: loads credentials
backend/services/memory_service.py - Memory service → Hindsight Cloud: retains, recalls, reflects
README.md