Architecting Persistence, Learning, and Evolution in MCP Agents
Buch, Englisch, Format (B × H): 155 mm x 235 mm
ISBN: 979-8-8688-3535-3
Verlag: APRESS L.P.
Modern agent systems are fast becoming the foundation of modern software engineering but an agent that cannot remember past interactions, retain context across sessions, or learn from previous outcomes quickly reaches its limits. Whether agents are connected through the Model Context Protocol (MCP), retrieval systems, or multi-agent workflows, memory is what allows them to move beyond one-off responses and operate as persistent, evolving systems.
This book explores the relationship between agents, memory, and MCP-driven architectures. It provides a practical framework for designing AI systems that can store, retrieve, refine, and apply knowledge over time. It examines how working, episodic, semantic, and procedural memory contribute to agent behavior and shows how these memory models support personalization, long-running workflows, autonomous decision-making, and collaboration across agents.
The book begins with the challenges of state management in agent systems, including context-window limitations, memory drift, and the cost of maintaining long-term context. It then introduces advanced memory architectures built on RAG, knowledge graphs, virtual memory techniques, and hierarchical summarization. Along the way, you will learn how MCP enables agents to interact with external tools, data, and memory systems, and how memory design influences the effectiveness of agentic workflows. The later chapters focus on reflection, self-correction, personalization, multi-agent shared memory, memory pruning, privacy-aware forgetting, and observability for long-lived agent systems.
Drawing on principles from distributed systems and modern AI engineering, this book helps readers design agents that do more than respond. It shows how to build systems that retain knowledge, maintain continuity across interactions, and evolve alongside their users and environments.
What You Will Learn
- Design memory architectures for autonomous and multi-agent systems
- Use MCP to connect agents with tools, data sources, and persistent memory layers
- Implement memory lifecycle management, including pruning, conflict resolution, and selective forgetting
- Measure memory quality through faithfulness, latency, and observability metrics
Who This Book Is For
This book is for AI engineers, software architects, MLOps leaders, and developers
Zielgruppe
Professional/practitioner
Autoren/Hrsg.
Fachgebiete
Weitere Infos & Material
Part I. The Foundations of Machine Memory .- 1. The Statelessness Crisis.- 2. The Architecture of Recall.- Part II. The Technical Persistent Layer .- 3. Advanced RAG: Beyond Semantic Search.- 4. Relational Memory with Knowledge Graphs.- 5. Virtual Memory & Paging (The MemGPT Pattern).- Part III. The Learning Loop & Evolution .- 6. Reflection & Self-Correction.- 7. Personalization & User Modeling.- Evaluation & Observability .- 8. The Art of Forgetting (Garbage Collection).- 9. Multi-Agent Shared Memory.- 10. Evaluation & Observability.




