<?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: Vivek Jagtap</title>
    <description>The latest articles on DEV Community by Vivek Jagtap (@vivek_jagtap_333).</description>
    <link>https://dev.to/vivek_jagtap_333</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3835333%2F3403af10-81db-4636-9f11-542734f7e04c.jpg</url>
      <title>DEV Community: Vivek Jagtap</title>
      <link>https://dev.to/vivek_jagtap_333</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vivek_jagtap_333"/>
    <language>en</language>
    <item>
      <title>SYNCAI</title>
      <dc:creator>Vivek Jagtap</dc:creator>
      <pubDate>Fri, 20 Mar 2026 12:07:50 +0000</pubDate>
      <link>https://dev.to/vivek_jagtap_333/syncai-gg3</link>
      <guid>https://dev.to/vivek_jagtap_333/syncai-gg3</guid>
      <description>&lt;p&gt;If this agent really learned from its own failures, “just add more context” is officially dead.&lt;/p&gt;

&lt;p&gt;We thought our agent was nondeterministic. It wasn’t. It was consistently wrong in ways we couldn’t see—until we added Hindsight.&lt;/p&gt;

&lt;p&gt;We built a tool-using agent and wired in Hindsight to record + replay every run.&lt;/p&gt;

&lt;p&gt;Here’s what actually changed:&lt;/p&gt;

&lt;p&gt;• Before: same input → different tool choices → random failures&lt;br&gt;
• After: same input → same decisions → stable outputs&lt;/p&gt;

&lt;p&gt;Not because the model changed. Because the state stopped drifting.&lt;/p&gt;

&lt;p&gt;• We stopped treating memory as “more tokens”&lt;br&gt;
Instead, we stored full execution traces: inputs, tool calls, outputs.&lt;/p&gt;

&lt;p&gt;• We normalized tool responses&lt;br&gt;
This alone removed most “randomness” (LLMs hate inconsistent schemas).&lt;/p&gt;

&lt;p&gt;• We replayed failed runs&lt;br&gt;
Hindsight showed exactly where decisions diverged—step by step.&lt;/p&gt;

&lt;p&gt;• We fed those failures back in&lt;br&gt;
The agent learned patterns like:&lt;br&gt;
“Don’t retry empty results”&lt;br&gt;
“Prefer lookup over search when key exists”&lt;/p&gt;

&lt;p&gt;• Behavior actually changed over time&lt;br&gt;
It stopped looping. Stopped picking the wrong tool. Became predictable.&lt;/p&gt;

&lt;p&gt;This wasn’t RAG.&lt;br&gt;
This wasn’t bigger context.&lt;br&gt;
This was experience → feedback → better decisions.&lt;/p&gt;

&lt;p&gt;If you’re building agents, the takeaway is simple:&lt;br&gt;
They don’t need more memory. They need usable experience.&lt;/p&gt;

&lt;p&gt;Save this if you’re about to bolt memory onto your agent stack.&lt;/p&gt;

&lt;p&gt;What’s the most surprising thing your agent has “learned” from its own failures?&lt;/p&gt;

&lt;p&gt;[GitHub Repo Link]&lt;/p&gt;

&lt;h1&gt;
  
  
  AIEngineering #LLM #AgentSystems #MachineLearning #Developers
&lt;/h1&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.amazonaws.com%2Fuploads%2Farticles%2Fok7zwgg0f46vsstwhitt.jpg" 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.amazonaws.com%2Fuploads%2Farticles%2Fok7zwgg0f46vsstwhitt.jpg" alt=" " width="800" height="451"&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.amazonaws.com%2Fuploads%2Farticles%2Fd3uu94v391d6nrvhg6lv.jpg" 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.amazonaws.com%2Fuploads%2Farticles%2Fd3uu94v391d6nrvhg6lv.jpg" alt=" " width="800" height="451"&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.amazonaws.com%2Fuploads%2Farticles%2Fen2dhhjdw27g0qmc3otd.jpg" 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.amazonaws.com%2Fuploads%2Farticles%2Fen2dhhjdw27g0qmc3otd.jpg" alt=" " width="800" height="451"&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.amazonaws.com%2Fuploads%2Farticles%2Ffbnu4ehrpv5gim1a6bj8.jpg" 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.amazonaws.com%2Fuploads%2Farticles%2Ffbnu4ehrpv5gim1a6bj8.jpg" alt=" " width="800" height="451"&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.amazonaws.com%2Fuploads%2Farticles%2Ff1n8av2yuvwiz44htj6k.jpg" 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.amazonaws.com%2Fuploads%2Farticles%2Ff1n8av2yuvwiz44htj6k.jpg" alt=" " width="800" height="451"&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.amazonaws.com%2Fuploads%2Farticles%2Fs3drm71ry4gyhnm0duvx.jpg" 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.amazonaws.com%2Fuploads%2Farticles%2Fs3drm71ry4gyhnm0duvx.jpg" alt=" " width="800" height="451"&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.amazonaws.com%2Fuploads%2Farticles%2F13ammpv77zmpuxz526ek.jpg" 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.amazonaws.com%2Fuploads%2Farticles%2F13ammpv77zmpuxz526ek.jpg" alt=" " width="800" height="451"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>llm</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
