<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>State Management on Ikwuka Okoye</title><link>https://ikwukao.dev/tags/state-management/</link><description>Recent content in State Management on Ikwuka Okoye</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Sun, 09 Aug 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://ikwukao.dev/tags/state-management/index.xml" rel="self" type="application/rss+xml"/><item><title>Managing Memory and State in an AI Agent</title><link>https://ikwukao.dev/journal/ai-agent-memory-and-state/</link><pubDate>Sun, 09 Aug 2026 00:00:00 +0000</pubDate><guid>https://ikwukao.dev/journal/ai-agent-memory-and-state/</guid><description>&lt;h2 id="managing-memory-and-state-in-an-ai-agent"&gt;Managing Memory and State in an AI Agent&lt;/h2&gt;
&lt;p&gt;An AI agent becomes significantly more useful when it can maintain context across multiple steps.&lt;/p&gt;
&lt;p&gt;But &amp;ldquo;memory&amp;rdquo; is often used too loosely.&lt;/p&gt;
&lt;p&gt;For an engineer, it is more useful to distinguish between the different kinds of information an agent needs to retain.&lt;/p&gt;
&lt;p&gt;Some information belongs to the current execution.&lt;/p&gt;
&lt;p&gt;Some belongs to the conversation.&lt;/p&gt;
&lt;p&gt;Some may need to persist beyond the current session.&lt;/p&gt;</description></item></channel></rss>