<?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: MANISH GOWDA S N</title>
    <description>The latest articles on DEV Community by MANISH GOWDA S N (@manish_gowdasn_17).</description>
    <link>https://dev.to/manish_gowdasn_17</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%2F4231970%2Fec228af4-7758-4299-8bf2-8cb9267fc7a9.png</url>
      <title>DEV Community: MANISH GOWDA S N</title>
      <link>https://dev.to/manish_gowdasn_17</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/manish_gowdasn_17"/>
    <language>en</language>
    <item>
      <title>Teaching an SRE Agent Not to Repeat Mistakes Using Hindsight</title>
      <dc:creator>MANISH GOWDA S N</dc:creator>
      <pubDate>Sat, 07 Nov 2026 11:56:52 +0000</pubDate>
      <link>https://dev.to/manish_gowdasn_17/teaching-an-sre-agent-not-to-repeat-mistakes-using-hindsight-2nj3</link>
      <guid>https://dev.to/manish_gowdasn_17/teaching-an-sre-agent-not-to-repeat-mistakes-using-hindsight-2nj3</guid>
      <description>&lt;p&gt;Imagine troubleshooting the same Kubernetes issue repeatedly, even after your team has already solved it. That's a major limitation of AI-powered troubleshooting agents: they can analyze incidents, but often fail to learn from previous ones.&lt;/p&gt;

&lt;p&gt;While building CLUSTERSAGE, we wanted to solve this problem by giving our Kubernetes troubleshooting agent persistent operational memory using Hindsight.&lt;/p&gt;

&lt;p&gt;How CLUSTERSAGE Works&lt;/p&gt;

&lt;p&gt;CLUSTERSAGE combines Kubernetes diagnostics, AI reasoning, and persistent memory to investigate recurring infrastructure issues.&lt;/p&gt;

&lt;p&gt;Its architecture includes:&lt;/p&gt;

&lt;p&gt;Next.js: Web console for investigations and post-mortems.&lt;/p&gt;

&lt;p&gt;FastAPI: Coordinates data ingestion and troubleshooting.&lt;/p&gt;

&lt;p&gt;Kubernetes &amp;amp; GitOps: Provide cluster telemetry, logs, and manifests.&lt;/p&gt;

&lt;p&gt;Hindsight: Stores and retrieves previous incident knowledge.&lt;/p&gt;

&lt;p&gt;Google Gemini: Analyzes symptoms and generates potential fixes.&lt;/p&gt;

&lt;p&gt;InsForge: Handles authentication and user history.&lt;/p&gt;

&lt;p&gt;Before information reaches the AI or memory system, sensitive credentials are sanitized.&lt;/p&gt;

&lt;p&gt;Why Hindsight Instead of Basic Vector Search?&lt;/p&gt;

&lt;p&gt;Traditional vector search retrieves information based on semantic similarity. However, Kubernetes logs contain exact error codes, resource names, and configuration details that may be critical to identifying a problem.&lt;/p&gt;

&lt;p&gt;Hindsight combines:&lt;/p&gt;

&lt;p&gt;BM25: Finds exact keywords and error patterns.&lt;/p&gt;

&lt;p&gt;Vector Search: Retrieves semantically related incidents.&lt;/p&gt;

&lt;p&gt;Reranking: Improves the relevance of retrieved memories.&lt;/p&gt;

&lt;p&gt;Reflect: Helps identify patterns across previous incidents.&lt;/p&gt;

&lt;p&gt;This allows CLUSTERSAGE to retrieve useful operational knowledge instead of relying entirely on generic AI responses.&lt;/p&gt;

&lt;p&gt;How Hindsight Learns&lt;/p&gt;

&lt;p&gt;We integrated three key memory capabilities:&lt;/p&gt;

&lt;p&gt;Recall: Retrieves relevant historical incidents during troubleshooting.&lt;/p&gt;

&lt;p&gt;Reflect: Identifies patterns and lessons across incidents.&lt;/p&gt;

&lt;p&gt;Retain: Stores verified resolutions and post-mortems for future use.&lt;/p&gt;

&lt;p&gt;This creates a continuous learning loop where every resolved incident can improve future investigations.&lt;/p&gt;

&lt;p&gt;A Real-World Example&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fco1qf68905z8gcxqbg7y.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fco1qf68905z8gcxqbg7y.png" alt=" " width="799" height="382"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8kj9cc66kyxm2gpr0gm8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8kj9cc66kyxm2gpr0gm8.png" alt=" " width="799" height="382"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbe3nf7p4axqtll0hzrr2.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbe3nf7p4axqtll0hzrr2.jpeg" alt=" " width="671" height="1600"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftl5jqev0o1yrjl1jghrf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftl5jqev0o1yrjl1jghrf.png" alt=" " width="799" height="382"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fna38sq8tetiiqgolz65m.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fna38sq8tetiiqgolz65m.png" alt=" " width="799" height="382"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Consider a Kubernetes application repeatedly entering CrashLoopBackOff.&lt;/p&gt;

&lt;p&gt;During the first investigation, CLUSTERSAGE identifies a missing REDIS_CACHE_URL environment variable. After the engineer verifies the fix, the incident is stored in Hindsight.&lt;/p&gt;

&lt;p&gt;Three weeks later, another deployment experiences the same issue.&lt;/p&gt;

&lt;p&gt;Instead of starting from scratch, CLUSTERSAGE recalls the previous incident, identifies the missing environment variable, and recommends the previously successful resolution.&lt;/p&gt;

&lt;p&gt;The result: Less repeated investigation and faster access to proven solutions.&lt;/p&gt;

&lt;p&gt;Key Lessons&lt;/p&gt;

&lt;p&gt;Building CLUSTERSAGE taught us three important things:&lt;/p&gt;

&lt;p&gt;AI troubleshooting needs more than a large context window; it needs persistent memory.&lt;/p&gt;

&lt;p&gt;Historical fixes are useful only when retrieval is relevant and tenant data remains isolated.&lt;/p&gt;

&lt;p&gt;Post-mortems should become reusable operational knowledge, not documents that are forgotten after an incident.&lt;/p&gt;

&lt;p&gt;Conclusion&lt;/p&gt;

&lt;p&gt;An effective SRE agent should do more than identify problems. It should remember what happened, learn from verified solutions, and use that knowledge when similar incidents occur.&lt;/p&gt;

&lt;p&gt;By combining ai &lt;br&gt;
reasoning with Hindsight's episodic memory, CLUSTERSAGE aims to turn Kubernetes troubleshooting from repeated guesswork into knowledge-driven operations.&lt;/p&gt;

&lt;p&gt;Explore Hindsight: &lt;a href="https://github.com/vectorize-io/hindsight" rel="noopener noreferrer"&gt;https://github.com/vectorize-io/hindsight&lt;/a&gt;&lt;br&gt;
Here's Github Url: &lt;a href="https://github.com/manishgowda17/cloudsage-agent" rel="noopener noreferrer"&gt;https://github.com/manishgowda17/cloudsage-agent&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F072w8amykb8hlmuwqtd6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F072w8amykb8hlmuwqtd6.png" alt=" " width="799" height="382"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Built CLUSTERSAGE as part of the hackathon journey with @Code.in!&lt;/p&gt;

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