<?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: Sourav Kasula</title>
    <description>The latest articles on DEV Community by Sourav Kasula (@your-sk).</description>
    <link>https://dev.to/your-sk</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%2F3941294%2F9687dc02-8703-4629-b6b8-36c3a3b914d5.png</url>
      <title>DEV Community: Sourav Kasula</title>
      <link>https://dev.to/your-sk</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/your-sk"/>
    <language>en</language>
    <item>
      <title>Why AI Agents Need Memory (And Why This Might Be the Biggest Missing Piece in Today's AI)</title>
      <dc:creator>Sourav Kasula</dc:creator>
      <pubDate>Wed, 03 Jun 2026 20:38:59 +0000</pubDate>
      <link>https://dev.to/your-sk/why-ai-agents-need-memory-and-why-this-might-be-the-biggest-missing-piece-in-todays-ai-229i</link>
      <guid>https://dev.to/your-sk/why-ai-agents-need-memory-and-why-this-might-be-the-biggest-missing-piece-in-todays-ai-229i</guid>
      <description>&lt;p&gt;Most people think AI gets smarter when models get bigger.&lt;/p&gt;

&lt;p&gt;Bigger model.&lt;br&gt;
More parameters.&lt;br&gt;
More GPUs.&lt;/p&gt;

&lt;p&gt;But after reading how LinkedIn built its Cognitive Memory Agent (CMA), I realized something interesting:&lt;/p&gt;

&lt;p&gt;The future of AI might not be about making models smarter.&lt;/p&gt;

&lt;p&gt;It might be about helping them remember.&lt;/p&gt;

&lt;h2&gt;
  
  
  Imagine Meeting Someone Every Day...
&lt;/h2&gt;

&lt;p&gt;Let's say you meet a coworker every morning.&lt;/p&gt;

&lt;p&gt;Every single day.&lt;/p&gt;

&lt;p&gt;But every morning they forget:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;your name&lt;/li&gt;
&lt;li&gt;your role&lt;/li&gt;
&lt;li&gt;what project you're working on&lt;/li&gt;
&lt;li&gt;every conversation you've ever had&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Day 1:&lt;/p&gt;

&lt;p&gt;"Hi, I'm Spike."&lt;/p&gt;

&lt;p&gt;Day 2:&lt;/p&gt;

&lt;p&gt;"Hi, I'm Spike."&lt;/p&gt;

&lt;p&gt;Day 100:&lt;/p&gt;

&lt;p&gt;"Hi, I'm Spike."&lt;/p&gt;

&lt;p&gt;Sounds exhausting, right?&lt;/p&gt;

&lt;p&gt;Ironically, that's exactly how many AI systems work today.&lt;/p&gt;

&lt;p&gt;Every conversation starts from scratch.&lt;/p&gt;

&lt;p&gt;The model may be intelligent, but it has no lasting memory.&lt;/p&gt;

&lt;p&gt;It's like talking to someone with permanent short-term memory loss.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Context Windows Are Not Memory
&lt;/h2&gt;

&lt;p&gt;A common misunderstanding is:&lt;/p&gt;

&lt;p&gt;"ChatGPT remembers because it can see previous messages."&lt;/p&gt;

&lt;p&gt;Not exactly.&lt;/p&gt;

&lt;p&gt;That's context.&lt;/p&gt;

&lt;p&gt;Not memory.&lt;/p&gt;

&lt;p&gt;Think of context as a sticky note.&lt;/p&gt;

&lt;p&gt;Think of memory as a notebook.&lt;/p&gt;

&lt;p&gt;A sticky note helps during the current conversation.&lt;/p&gt;

&lt;p&gt;A notebook helps across months and years.&lt;/p&gt;

&lt;p&gt;Once the context window fills up, older information disappears.&lt;/p&gt;

&lt;p&gt;True memory survives beyond the current interaction.&lt;/p&gt;

&lt;p&gt;That's where things become interesting.&lt;/p&gt;

&lt;h2&gt;
  
  
  Human Memory vs AI Memory
&lt;/h2&gt;

&lt;p&gt;Humans don't store information in one giant database.&lt;/p&gt;

&lt;p&gt;We use different types of memory.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;h3&gt;
  
  
  Conversational Memory
&lt;/h3&gt;

&lt;p&gt;"What were we talking about five minutes ago?"&lt;/p&gt;

&lt;h3&gt;
  
  
  Episodic Memory
&lt;/h3&gt;

&lt;p&gt;"Last year I worked on a difficult production issue."&lt;/p&gt;

&lt;h3&gt;
  
  
  Semantic Memory
&lt;/h3&gt;

&lt;p&gt;"Java is an object-oriented language."&lt;/p&gt;

&lt;h3&gt;
  
  
  Procedural Memory
&lt;/h3&gt;

&lt;p&gt;"I know how to ride a bicycle."&lt;/p&gt;

&lt;p&gt;LinkedIn's Cognitive Memory Agent follows a surprisingly similar idea.&lt;/p&gt;

&lt;p&gt;Instead of one memory store, it uses multiple memory layers.&lt;/p&gt;

&lt;p&gt;Each layer remembers different things.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Four Types of AI Memory
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Conversational Memory
&lt;/h3&gt;

&lt;p&gt;This is the easiest one to understand.&lt;/p&gt;

&lt;p&gt;It remembers recent conversations.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;p&gt;You tell an AI recruiter:&lt;/p&gt;

&lt;p&gt;"I'm hiring a Senior Java Engineer."&lt;/p&gt;

&lt;p&gt;A few minutes later:&lt;/p&gt;

&lt;p&gt;"Find candidates for that role."&lt;/p&gt;

&lt;p&gt;The agent remembers what "that role" means.&lt;/p&gt;

&lt;p&gt;Without conversational memory, the AI would ask you again.&lt;/p&gt;

&lt;p&gt;Every single time.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Episodic Memory
&lt;/h3&gt;

&lt;p&gt;This is memory of events.&lt;/p&gt;

&lt;p&gt;Think of it as an AI diary.&lt;/p&gt;

&lt;p&gt;Example:&lt;/p&gt;

&lt;p&gt;A recruiter rejects five candidates because they lack Kubernetes experience.&lt;/p&gt;

&lt;p&gt;The AI remembers this event.&lt;/p&gt;

&lt;p&gt;Later it learns:&lt;/p&gt;

&lt;p&gt;"Ah, Kubernetes seems important for this recruiter."&lt;/p&gt;

&lt;p&gt;This isn't a permanent preference yet.&lt;/p&gt;

&lt;p&gt;It's simply recording what happened.&lt;/p&gt;

&lt;p&gt;Just like humans remember experiences.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Semantic Memory
&lt;/h3&gt;

&lt;p&gt;This is where patterns emerge.&lt;/p&gt;

&lt;p&gt;Instead of remembering individual events, the AI learns facts.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;p&gt;After observing dozens of hiring projects, it learns:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;This team doesn't sponsor visas&lt;/li&gt;
&lt;li&gt;This department prefers hybrid work&lt;/li&gt;
&lt;li&gt;This recruiter likes concise candidate summaries&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These become long-term knowledge.&lt;/p&gt;

&lt;p&gt;The agent no longer needs to rediscover them every time.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Procedural Memory
&lt;/h3&gt;

&lt;p&gt;This one is fascinating.&lt;/p&gt;

&lt;p&gt;Procedural memory remembers how someone works.&lt;/p&gt;

&lt;p&gt;Not what they know.&lt;/p&gt;

&lt;p&gt;How they operate.&lt;/p&gt;

&lt;p&gt;Imagine two recruiters.&lt;/p&gt;

&lt;p&gt;Recruiter A:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Filters by experience&lt;/li&gt;
&lt;li&gt;Then filters by skills&lt;/li&gt;
&lt;li&gt;Then sends outreach&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Recruiter B:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Accepts suggested candidates&lt;/li&gt;
&lt;li&gt;Focuses heavily on message templates&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Both achieve the same goal.&lt;/p&gt;

&lt;p&gt;But their workflows are different.&lt;/p&gt;

&lt;p&gt;The AI learns those workflows.&lt;/p&gt;

&lt;p&gt;Over time it starts behaving more like its user.&lt;/p&gt;

&lt;p&gt;That's personalization at a much deeper level.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Real Problem Nobody Talks About
&lt;/h2&gt;

&lt;p&gt;Memory sounds great.&lt;/p&gt;

&lt;p&gt;But it introduces a new challenge.&lt;/p&gt;

&lt;p&gt;What if the memory is wrong?&lt;/p&gt;

&lt;p&gt;Imagine an AI remembers:&lt;/p&gt;

&lt;p&gt;"This recruiter doesn't hire remote workers."&lt;/p&gt;

&lt;p&gt;Six months later the company changes its policy.&lt;/p&gt;

&lt;p&gt;Now the memory is outdated.&lt;/p&gt;

&lt;p&gt;The AI starts making bad recommendations.&lt;/p&gt;

&lt;p&gt;Humans have this problem too.&lt;/p&gt;

&lt;p&gt;We call it outdated assumptions.&lt;/p&gt;

&lt;p&gt;AI systems need mechanisms for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;forgetting&lt;/li&gt;
&lt;li&gt;updating&lt;/li&gt;
&lt;li&gt;conflict resolution&lt;/li&gt;
&lt;li&gt;prioritizing recent information&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Ironically, teaching AI what to forget may become just as important as teaching it what to remember.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why This Matters for Enterprise AI
&lt;/h2&gt;

&lt;p&gt;Most enterprise AI projects today focus on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;prompts&lt;/li&gt;
&lt;li&gt;models&lt;/li&gt;
&lt;li&gt;RAG&lt;/li&gt;
&lt;li&gt;vector databases&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Those are important.&lt;/p&gt;

&lt;p&gt;But memory may become the next major differentiator.&lt;/p&gt;

&lt;p&gt;Because eventually every company will have access to powerful models.&lt;/p&gt;

&lt;p&gt;The question becomes:&lt;/p&gt;

&lt;p&gt;Which AI actually understands its users?&lt;/p&gt;

&lt;p&gt;The winner won't necessarily be the model with the highest benchmark score.&lt;/p&gt;

&lt;p&gt;It may be the agent that remembers the right things at the right time.&lt;/p&gt;

&lt;h2&gt;
  
  
  My Take
&lt;/h2&gt;

&lt;p&gt;The most interesting thing about LinkedIn's architecture wasn't the model.&lt;/p&gt;

&lt;p&gt;It was the memory system.&lt;/p&gt;

&lt;p&gt;The model provides reasoning.&lt;/p&gt;

&lt;p&gt;The memory provides continuity.&lt;/p&gt;

&lt;p&gt;Together they create something much closer to how humans work.&lt;/p&gt;

&lt;p&gt;When people talk about the future of AI agents, they usually focus on intelligence.&lt;/p&gt;

&lt;p&gt;I think memory deserves just as much attention.&lt;/p&gt;

&lt;p&gt;Because an AI that remembers nothing can only react.&lt;/p&gt;

&lt;p&gt;An AI that remembers well can adapt.&lt;/p&gt;

&lt;p&gt;And adaptation is where truly useful agents begin.&lt;/p&gt;




&lt;p&gt;What do you think?&lt;/p&gt;

&lt;p&gt;Will future AI systems be defined more by their reasoning ability or by their memory?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>rag</category>
      <category>softwareengineering</category>
    </item>
    <item>
      <title>Why I Think Backend Engineers Should Start Paying Attention to Generative AI..</title>
      <dc:creator>Sourav Kasula</dc:creator>
      <pubDate>Wed, 20 May 2026 13:03:00 +0000</pubDate>
      <link>https://dev.to/your-sk/why-i-think-backend-engineers-should-start-paying-attention-to-generative-ai-4gpj</link>
      <guid>https://dev.to/your-sk/why-i-think-backend-engineers-should-start-paying-attention-to-generative-ai-4gpj</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;Notes from your fellow Engineer..&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;A few months ago, I was treating Generative AI the same way many backend engineers probably still are.&lt;/p&gt;

&lt;p&gt;Interesting technology? Definitely.&lt;/p&gt;

&lt;p&gt;Worth exploring at some point? Sure.&lt;/p&gt;

&lt;p&gt;But directly relevant to backend engineering?&lt;/p&gt;

&lt;p&gt;I wasn’t fully convinced yet.&lt;/p&gt;

&lt;p&gt;Most of my day-to-day work still revolved around things like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;APIs&lt;/li&gt;
&lt;li&gt;microservices&lt;/li&gt;
&lt;li&gt;distributed systems&lt;/li&gt;
&lt;li&gt;cloud infrastructure&lt;/li&gt;
&lt;li&gt;debugging strange production issues&lt;/li&gt;
&lt;li&gt;scalability problems&lt;/li&gt;
&lt;li&gt;Kubernetes deployments&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;AI felt like a separate world.&lt;/p&gt;

&lt;p&gt;But lately, I’ve started noticing something interesting.&lt;/p&gt;

&lt;p&gt;AI is slowly beginning to look less like a standalone feature…&lt;/p&gt;

&lt;p&gt;…and more like another layer of modern software architecture.&lt;/p&gt;

&lt;p&gt;Not replacing backend systems.&lt;/p&gt;

&lt;p&gt;But integrating deeply into them.&lt;/p&gt;




&lt;p&gt;The more I explored modern AI applications, the more familiar the problems started feeling.&lt;/p&gt;

&lt;p&gt;Because once you move beyond the demo layer, AI systems suddenly involve things backend engineers already spend years dealing with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;request orchestration&lt;/li&gt;
&lt;li&gt;retries and fallbacks&lt;/li&gt;
&lt;li&gt;latency optimization&lt;/li&gt;
&lt;li&gt;caching&lt;/li&gt;
&lt;li&gt;rate limiting&lt;/li&gt;
&lt;li&gt;observability&lt;/li&gt;
&lt;li&gt;authentication&lt;/li&gt;
&lt;li&gt;memory/context handling&lt;/li&gt;
&lt;li&gt;distributed workflows&lt;/li&gt;
&lt;li&gt;scalability under load&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;At some point it clicked for me:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;A lot of modern AI engineering is still fundamentally systems engineering.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Just with a new layer added on top.&lt;/p&gt;




&lt;p&gt;One thing I misunderstood initially was thinking AI engineering was mostly about prompts and models.&lt;/p&gt;

&lt;p&gt;But honestly, what’s becoming more interesting to me is everything &lt;em&gt;around&lt;/em&gt; the model.&lt;/p&gt;

&lt;p&gt;Things like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;RAG pipelines&lt;/li&gt;
&lt;li&gt;vector databases&lt;/li&gt;
&lt;li&gt;tool calling&lt;/li&gt;
&lt;li&gt;AI agents&lt;/li&gt;
&lt;li&gt;orchestration layers&lt;/li&gt;
&lt;li&gt;context management&lt;/li&gt;
&lt;li&gt;enterprise integrations&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That’s where backend engineering and AI start blending together.&lt;/p&gt;

&lt;p&gt;And I think many backend engineers are actually in a stronger position here than they realize.&lt;/p&gt;

&lt;p&gt;If you already understand:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;APIs&lt;/li&gt;
&lt;li&gt;system design&lt;/li&gt;
&lt;li&gt;asynchronous processing&lt;/li&gt;
&lt;li&gt;cloud-native systems&lt;/li&gt;
&lt;li&gt;distributed architectures&lt;/li&gt;
&lt;li&gt;databases and scaling&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;…you’re already bringing valuable foundations into AI systems engineering.&lt;/p&gt;




&lt;p&gt;Right now I’m personally spending time learning:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;how LLMs actually work&lt;/li&gt;
&lt;li&gt;embeddings and vector search&lt;/li&gt;
&lt;li&gt;RAG architecture&lt;/li&gt;
&lt;li&gt;agentic workflows&lt;/li&gt;
&lt;li&gt;AI system design patterns&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Not from a research perspective.&lt;/p&gt;

&lt;p&gt;But from a practical engineering perspective.&lt;/p&gt;

&lt;p&gt;Because honestly, this shift feels very similar to what happened with cloud adoption years ago.&lt;/p&gt;

&lt;p&gt;At first it looked specialized.&lt;/p&gt;

&lt;p&gt;Then suddenly it became part of mainstream engineering.&lt;/p&gt;

&lt;p&gt;I have a feeling AI may follow a similar path.&lt;/p&gt;

&lt;p&gt;Curious how other backend engineers are approaching this right now.&lt;/p&gt;

&lt;p&gt;Are you actively learning AI systems yet, or still observing where the industry goes?&lt;/p&gt;




&lt;p&gt;I’ll be sharing more practical thoughts around:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;backend engineering&lt;/li&gt;
&lt;li&gt;AI systems&lt;/li&gt;
&lt;li&gt;cloud-native architecture&lt;/li&gt;
&lt;li&gt;distributed systems&lt;/li&gt;
&lt;li&gt;GenAI engineering&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;as I continue exploring this space.&lt;/p&gt;

&lt;p&gt;Always happy to learn from other engineers building in this area too.&lt;/p&gt;

</description>
      <category>backend</category>
      <category>ai</category>
      <category>java</category>
      <category>genai</category>
    </item>
  </channel>
</rss>
