AI Agents: Memory, Persistence and Checkpointing - Part 2
This is fully written by me without any help from AI, except for learning the concepts. This blog covers everything everyone should be aware of in the AI world, and it took me weeks to learn it so I could make it easy for you. To understand the basics of agents and how to build one, check out Part 1 of the Agentic AI series here . Overview In Part 1, we read about the following: What are LLMs and how do they work How LLMs transform into agents to do real-world work Limitations of LLMs and AI Agents In this blog , we will be targeting one of the major limitations of LLM-based agents - memory, persistence, and checkpointing. LLMs are stateless, so they don't remember their past state and chats whenever they are called(through APIs), yet tools like OpenAI ChatGPT, Claude Code, Codex, etc. remember: The whole chat context from the very first message to the current message, even after days or weeks History of all the threads you have worked on with the AI tool The personalized facts ab...