How ch-dhanush-29/incentmindai works
IncidentMind AI is an SRE incident-response copilot: engineers declare and investigate incidents, compare memory-grounded and baseline diagnosis, then verify resolutions so postmortem knowledge can be retained. The README documents dashboard, incident history, analytics, memory exploration, and postmortem capabilities; sampled code confirms investigation, persistence, retention, Slack dispatch, and event broadcasts. Some UI-to-API and unsampled route wiring is not shown, so those relationships are omitted or limited to the documented architecture.
Main entry points: App.tsx Console app · incident_service.py Incident orchestrator · incident_repo.py Incident repository · main.py FastAPI server
Components 26
Responder experience
- Console app
frontend/src/App.tsx - SRE dashboard
frontend/src/pages/Dashboard.tsx - Incident workspace
frontend/src/pages/IncidentList.tsx - Investigation studio
frontend/src/pages/InvestigationWorkspace.tsx - Memory explorer
frontend/src/pages/MemoryExplorer.tsx - Analytics reports
frontend/src/pages/AnalyticsPage.tsx - Postmortem review
frontend/src/pages/Postmortem.tsx
API and workflows
- FastAPI server
backend/app/main.py - Incident endpoints
backend/app/api/incidents.py - Memory endpoints
backend/app/api/memory.py - Analytics endpoints
backend/app/api/analytics.py - Slack webhooks
backend/app/api/webhooks.py - Incident orchestrator
backend/app/services/incident_service.py - Incident records
backend/app/models/incident.py
Diagnosis and memory
- Hindsight adapter
backend/app/services/hindsight_adapter.py - TEMPR retrieval
- Groq inference
backend/app/services/groq_adapter.py
State and integrations
- Incident repository
backend/app/repositories/incident_repo.py - MongoDB store
- Realtime events
backend/app/core/events.py - Slack dispatcher
backend/app/services/slack_service.py
Other components
- SRE engineer
- Hindsight service
- Groq API
- Slack
- Clerk identity
Connections 31
- SRE engineer → Console app: uses console
- Console app → SRE dashboard: renders
- Console app → Incident workspace: renders
- Console app → Investigation studio: renders
- Console app → Memory explorer: renders
- Console app → Analytics reports: renders
- Console app → Postmortem review: renders
- Console app → FastAPI server: calls API
- FastAPI server → Incident endpoints: dispatches
- FastAPI server → Memory endpoints: dispatches
- FastAPI server → Analytics endpoints: dispatches
- FastAPI server → Slack webhooks: dispatches
- Incident endpoints → Incident orchestrator: orchestrates
- Incident endpoints → Incident repository: accesses incidents
- Memory endpoints → Hindsight adapter: accesses memory
- Analytics endpoints → Incident repository: reads incidents
- Slack webhooks → Incident repository: saves incident
- Slack webhooks → Slack dispatcher: notifies
- Incident orchestrator → Incident repository: reads and saves
- Incident orchestrator → Hindsight adapter: recalls and retains
- Incident orchestrator → Groq inference: requests diagnosis
- Incident orchestrator → Slack dispatcher: dispatches updates
- Incident orchestrator → Realtime events: broadcasts events
- Incident repository → Incident records: stores records
- Incident repository → MongoDB store: reads and writes
- Hindsight adapter → Hindsight service: recalls and retains
- Hindsight service → TEMPR retrieval: retrieves records
- Groq inference → Groq API: runs inference
- Slack dispatcher → Slack: sends messages
- Slack → Slack webhooks: submits events
- Console app → Clerk identity: authenticates