<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: T ABHISHEK</title>
    <description>The latest articles on DEV Community by T ABHISHEK (@abhimarkz).</description>
    <link>https://dev.to/abhimarkz</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4149608%2F0da8017f-5b7b-4556-ba93-31362b227bfb.png</url>
      <title>DEV Community: T ABHISHEK</title>
      <link>https://dev.to/abhimarkz</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/abhimarkz"/>
    <language>en</language>
    <item>
      <title>Giving an SRE Incident-Response Agent a Real Memory with Hindsight</title>
      <dc:creator>T ABHISHEK</dc:creator>
      <pubDate>Tue, 29 Sep 2026 13:52:17 +0000</pubDate>
      <link>https://dev.to/abhimarkz/giving-an-sre-incident-response-agent-a-real-memory-with-hindsight-45id</link>
      <guid>https://dev.to/abhimarkz/giving-an-sre-incident-response-agent-a-real-memory-with-hindsight-45id</guid>
      <description>&lt;h2&gt;
  
  
  The problem
&lt;/h2&gt;

&lt;p&gt;When a production service falls over at 3 a.m., the slowest part is rarely the fix — it's&lt;br&gt;
the remembering. "Didn't we see this connection-pool exhaustion last quarter? What did we&lt;br&gt;
change?" That knowledge lives in scattered postmortems, Slack threads, and a few senior&lt;br&gt;
engineers' heads. Most AI incident assistants don't help here, because they're stateless:&lt;br&gt;
every incident starts from zero.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why stateless incident agents fall short
&lt;/h2&gt;

&lt;p&gt;A stateless agent can read the current logs and metrics and produce a plausible diagnosis.&lt;br&gt;
But it can't say "this looks like INC-001 from three weeks ago, and the fix was to add an&lt;br&gt;
index on &lt;code&gt;products.id&lt;/code&gt;." It never accumulates operational expertise. For incident response,&lt;br&gt;
that missing memory is the whole game.&lt;/p&gt;

&lt;h2&gt;
  
  
  EpistemicOps
&lt;/h2&gt;

&lt;p&gt;EpistemicOps is a local-first SRE incident-response agent whose defining feature is a&lt;br&gt;
persistent memory layer built on &lt;strong&gt;Hindsight&lt;/strong&gt; (Vectorize's agent memory system). It runs a&lt;br&gt;
bounded LangGraph agent over deterministic incident fixtures, produces a structured diagnosis,&lt;br&gt;
writes a postmortem back into Hindsight, and lets Hindsight consolidate those postmortems into&lt;br&gt;
an evolving runbook. The next similar incident is investigated with that prior knowledge&lt;br&gt;
recalled.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Hindsight is central
&lt;/h2&gt;

&lt;p&gt;Memory isn't a bolt-on here — it's the product. The core demo is a direct comparison:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Baseline mode&lt;/strong&gt; skips memory entirely (&lt;code&gt;memory_used=false&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Warm mode&lt;/strong&gt; queries Hindsight first; when a relevant past postmortem exists, it's recalled
and injected into the diagnosis.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Hindsight handles retention, recall (vector + reflection), consolidation, and the Mental Model&lt;br&gt;
runbook. A raw recall query for "connection pool exhausted" returns the earlier INC-001&lt;br&gt;
postmortem as the top hit — memory works even without a live LLM.&lt;/p&gt;

&lt;h2&gt;
  
  
  Architecture
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;React + TypeScript + Vite  →  FastAPI (SSE)  →  LangGraph agent
                                                   ├── read-only evidence tools (logs, metrics, trace, pods)
                                                   ├── Groq (openai/gpt-oss-120b) for diagnosis
                                                   └── Hindsight (retain / recall / consolidate / runbook)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The agent graph is a small acyclic state machine: load incident → query memory → investigate → analyze → validate → produce result → retain postmortem → end, with a hard step cap and a&lt;br&gt;
graceful failure path.&lt;/p&gt;

&lt;h2&gt;
  
  
  Cold vs warm
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Cold:&lt;/strong&gt; a new incident, no relevant memory, full investigation, postmortem retained.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Consolidate:&lt;/strong&gt; Hindsight turns postmortems into cross-incident observations and a runbook.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Warm:&lt;/strong&gt; a related incident recalls the prior postmortem and diagnoses with that context.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Realistic, safe data
&lt;/h2&gt;

&lt;p&gt;Incidents are deterministic JSON fixtures with believable logs, metrics, traces, and pod&lt;br&gt;
status. Three are derived from the Apache-2.0 &lt;code&gt;quantranger/sre-agent-eda-bundle&lt;/code&gt; dataset&lt;br&gt;
(attribution in &lt;code&gt;ATTRIBUTIONS.md&lt;/code&gt;); two are hand-authored. Hidden ground truth used for&lt;br&gt;
scoring is strictly isolated from anything the agent can see. The tools are read-only — no&lt;br&gt;
shell, no kubectl, no real infrastructure is ever touched.&lt;/p&gt;

&lt;h2&gt;
  
  
  Honest limitations
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The live warm comparison depends on the availability and rate limits of the configured
free-tier LLM provider. The current implementation uses Groq's
&lt;code&gt;openai/gpt-oss-120b&lt;/code&gt;. Demo mode is deterministic and does not require a live LLM.&lt;/li&gt;
&lt;li&gt;The deployment also uses a remote persistent PostgreSQL database for Hindsight memory.&lt;/li&gt;
&lt;li&gt;Incidents are fixtures, not a live cluster integration.&lt;/li&gt;
&lt;li&gt;The evaluator is transparent keyword matching, not a semantic judge.&lt;/li&gt;
&lt;li&gt;Run history is in-memory and resets on backend restart.&lt;/li&gt;
&lt;li&gt;Incidents are fixtures, not a live cluster integration.&lt;/li&gt;
&lt;li&gt;The evaluator is transparent keyword matching, not a semantic judge.&lt;/li&gt;
&lt;li&gt;Run history is in-memory (resets on backend restart).&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What's next
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Optional provider abstraction for switching between supported inference backends.&lt;/li&gt;
&lt;li&gt;Real telemetry connectors (Prometheus/Loki) behind the same read-only tool interface.&lt;/li&gt;
&lt;li&gt;Richer runbook rendering as memory accumulates.&lt;/li&gt;
&lt;li&gt;Real telemetry connectors (Prometheus/Loki) behind the same read-only tool interface.&lt;/li&gt;
&lt;li&gt;Richer runbook rendering as memory accumulates.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;Clone the repository, follow the setup steps in the README, start the local Hindsight-backed application, and run INC-001 followed by a related incident. Watch the memory-used indicator and runbook update as prior knowledge becomes available. Watch the Runbook/Memory panel fill and the memory-used badge light up on the warm run. Full steps are in the README.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>devops</category>
      <category>agents</category>
      <category>sre</category>
    </item>
  </channel>
</rss>
