Agent MemoryAgent Memory Techniques
Knowledge Graph Memory
Extract relationship triples (subject-predicate-object) from every turn, build an in-memory graph with NetworkX, and query multi-hop paths to answer questions that require connecting facts scattered across the conversation.
About this tutorial
This hands-on Jupyter notebook is part of Agent Memory Techniques, a free open-source repository by Nir Diamant covering agent memory techniques with runnable code examples and detailed explanations.
Free and open-sourceRunnable Jupyter notebookActive community support
Go deeper · Amazon Bestseller in Generative AI
RAG Made Simple
Nir Diamant's complete visual guide to Retrieval-Augmented Generation. Written for engineers building systems that retrieve and ground responses on real data.
Get the book, $59Amazon Bestseller in Generative AI · PDF + EPUB · instant download · 7-day money-back guarantee