Chapter 1. What Is Agentic AI and Why Memory Matters
If generative AI chat is a recipe book, then agentic AI is a personal chef. A recipe book offers countless instructions, but it cannot decide what meal makes sense for you today, nor can it adapt when your pantry is missing key ingredients. A chef, by contrast, knows your preferences, remembers what you liked last week, and keeps track of what is in the fridge and what has gone bad. The chef’s value is greater than just preparing a single meal, because the chef draws on memory and experience to provide consistency and care over time.
This is the same distinction emerging in artificial intelligence. Generative AI is celebrated for producing text, answering questions, or automating routine tasks, just as a recipe book is valued for its collection of dishes. Yet these are isolated outputs. Agentic AI represents the move toward systems that act like a chef that is able to plan, adapt, and carry forward knowledge from one interaction to the next.
For this to be possible, memory is the key. Without it, a chef will forget your allergies, serve the same dish every day, or waste ingredients by overlooking what is already on hand. Likewise, AI agents without memory lose context, repeat mistakes, and fail to act beyond the immediate request. Building memory into AI is not optional. It is what enables persistence, adaptation, and continuity. In technical terms, agentic AI refers to systems that combine a large language model (LLM) with ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access