An Incident Agent That Won't Repeat Old Fixes: Differential Reasoning Over Organizational Memory
Usual-Relief62 · reddit · 2026-09-29
Problem
The chronic ops bug: an engineer fixes an incident at 2am, writes a postmortem, and two months later another engineer wastes 45 minutes on the same fix. The author built OpsMind, an incident response agent backed by the memory layer Hindsight, to break that cycle.
System flow
- Ingest the incident (title, description, service, logs, current env config);
- An LLM extracts structured attributes (symptoms, error type, severity, entities);
- Hindsight RECALL retrieves the most relevant past incidents;
- A differential reasoning engine compares historical vs current environment state;
- Targeted actions are queued for human approval;
- After resolution, Hindsight RETAIN stores the structured outcome for future learning.
Stack: FastAPI + React/Tailwind + PostgreSQL + Hindsight Cloud.
Core insight: differential reasoning over memory
Most DevOps RAG systems just find the nearest historical incident and regurgitate the old fix. OpsMind checks whether the historical fix is already applied: if a pool resize from 20 to 50 solved a past 500-error incident but dbpoolsize is already 50 today, a naive agent still suggests resizing; OpsMind detects this and pivots to slow unindexed queries, deployment regressions, or route-level connection leaks. The author shares the performdifferentialreasoning code that separates reciting memory from reasoning over it.
More from coding & agent
- Google Research open-sources PaperOrchestra, a multi-agent framework for writing AI papers — google-research · 2026-11-16
- ffmpeg-skill gives coding agents local video editing via 42 FFmpeg tools and MCP — kajisho5 · 2026-11-16
- Agents Now Reply to Slack Messages on Their Own, Resolving a Prod Incident Ghost-to-Ghost — iamrobotbear · 2026-11-16
- Engineer's Interview Prep Method: Use Claude to Find Which Answers Undersell Your AI Work — brandon_galang · 2026-11-16
- DeepSeek open-sources its app frontend "chat-demo", already at 3.9k stars — NielsRogge · 2026-11-16
- lemire: AI's real impact on coding is expanding the engineer's 'cognitive radius', not speed — lemire · 2026-11-16