How emanisaikumar01/incidence-respose-agent works
RecallOps is an AI-assisted incident-response application: engineers submit incidents, review recommendations informed by similar historical cases, and record verified outcomes for future recall. The Django dashboard calls the FastAPI backend over HTTP; the backend persists incident records locally and coordinates memory recall and recommendation generation. The documented memory explorer is also represented. Edges reflect shown calls or README-documented behavior; the excerpts do not show every template/API wiring detail or provider implementation.
Main entry points: incidents.py Incident API · services.py Backend HTTP client · incident_service.py Incident workflows · incident_agent.py Incident response agent
Components 19
Engineer dashboard
- Dashboard views
app/dashboard/views.py - Backend HTTP client
app/dashboard/services.py - Dashboard and incident pages
app/templates
Incident backend
- Incident API
Backend/api/incidents.py - Memory search API
Backend/api/memory.py - FastAPI app
Backend/main.py - Incident workflows
Backend/services/incident_service.py - Incident JSON store
data/incidents.json - Incident models
Backend/models/incident.py - Outcome model
Backend/models/outcome.py - Recommendation model
Backend/models/recommendation.py
Analysis and recommendation
- Recommendation formatting
Backend/services/recommendation_service.py - Incident response agent
agent/incident_agent.py - Analysis prompt
agent/prompts.py
Incident memory
- Memory service
Backend/services/memory_service.py - Hindsight adapter
memory/hindsight_memory.py
Other components
- Engineer
- Groq LLM
- Hindsight memory service
Connections 21
- Engineer → Dashboard views: submits and reviews
README.md - Dashboard views → Backend HTTP client: requests backend
app/dashboard/views.py - Dashboard views → Dashboard and incident pages: renders
app/dashboard/views.py - Backend HTTP client → FastAPI app: calls HTTP API
app/dashboard/services.py - FastAPI app → Incident API: registers routes
Backend/main.py - FastAPI app → Memory search API: registers routes
Backend/main.py - Incident API → Incident models: validates incident
Backend/api/incidents.py - Incident API → Outcome model: validates outcome
Backend/api/incidents.py - Incident API → Incident workflows: dispatches workflow
Backend/api/incidents.py - Incident workflows → Incident JSON store: reads and writes
Backend/services/incident_service.py - Incident workflows → Memory service: recalls and records
Backend/services/incident_service.py - Incident workflows → Recommendation formatting: generates recommendation
Backend/services/incident_service.py - Recommendation formatting → Incident response agent: analyzes incident
Backend/services/recommendation_service.py - Incident response agent → Analysis prompt: uses prompt
agent/incident_agent.py - Incident response agent → Groq LLM: generates response
agent/incident_agent.py - Memory search API → Memory service: searches memories
Backend/api/memory.py - Memory service → Hindsight adapter: delegates recall and record
Backend/services/memory_service.py - Hindsight adapter → Hindsight memory service: recalls and retains
memory/hindsight_memory.py - Backend HTTP client → Incident API: calls incident endpoints
app/dashboard/services.py - Backend HTTP client → Memory search API: calls search endpoint
app/dashboard/services.py - Incident response agent → Hindsight adapter: optional direct recall
agent/incident_agent.py