Agent_Memory_Techniques is a free, open source machine learning infrastructure project written in Jupyter Notebook and released under Apache-2.0. It has 1,067 GitHub stars, 137 forks and 2 open issues, and was last pushed 3 days ago. On this registry it ranks #67 of 80 tracked projects in Machine Learning Infrastructure, with 5 head-to-head comparisons available.

🧠 Agent Memory Techniques

Learn every agent memory technique for LLM agents.

If you find this useful, please star the repo so more learners can discover it.

🧭 New here? Start with 01 Conversation Buffer Memory or pick a Learning Path. Prefer a visual? See the Decision Tree below. 30 runnable Jupyter notebooks covering conversation buffers, vector stores, knowledge graphs, episodic and semantic memory, working memory, MemGPT, Mem0, Letta, Zep, Graphiti, LoCoMo benchmarks, and production memory patterns.

License: Apache 2.0 Python 3.10+ Jupyter GitHub Stars Issues Contributions Welcome


LinkedIn Twitter Reddit Discord Sponsor

🎓 From memory demos to production agents

Prompt to Production - my full course on building software with AI the way professionals do: the methods and paradigms behind reliable, efficient, modular production systems, taught systematically. 17 modules, each pairing a video lecture with a hands-on lab, from your first structured prompt to a working production system.

The course is live. Every module is out, lecture and lab.

🎁 Try a full module, free

🎬
7-minute
video lecture
🛠️
Hands-on
tutorial
🤖
AI assistant
inside Claude Code

One npm install adds the module's AI assistant to your Claude Code, and it guides you through the tutorial as you build.

👉 Get the full course

📖 The book of this repo

Agent Memory Made Simple - the 464-page visual guide to everything in this repo: all 30 techniques, 184 custom illustrations, zero code required.

Get it on Amazon (paperback · Kindle · free on Kindle Unlimited) →

More from the series: RAG Made Simple - Amazon Bestseller in Generative AI · 1,500+ readers · ⭐ 4.6


📫 Stay Updated

🚀
Weekly
Updates
💡
Expert
Insights
🎯
Top 0.1%
Content

Join over 50,000 readers getting clear AI tutorials every week. Subscribers also get early access and a 33% discount on my book.


💡 Why Agent Memory Matters

💡 Quick Answer (for search engines and skimmers)

Agent memory is the set of techniques that let an LLM-based agent (a system built around a Large Language Model) remember information across turns, sessions, and tasks. Without memory, an agent re-derives context every time and cannot personalize, learn, or maintain coherence over long interactions. This repository documents 30 distinct memory techniques, grouped into six families: short-term context management, long-term storage, cognitive architectures, retrieval and multi-agent patterns, batteries-included frameworks, and production deployment patterns.

Think about a friend who forgets every conversation you've ever had. Every morning you're strangers ag

readme truncated — read the full docs on github

Frequently asked questions

Is Agent_Memory_Techniques free to use?

Agent_Memory_Techniques is open source under the Apache-2.0 licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does Agent_Memory_Techniques do?

Agent memory for LLMs: 30 runnable Jupyter notebooks covering conversation buffers, vector stores, knowledge graphs, episodic and semantic memory, MemGPT, Mem0,

What is Agent_Memory_Techniques written in?

Agent_Memory_Techniques is primarily written in Jupyter Notebook. Its source is publicly available at https://github.com/NirDiamant/Agent_Memory_Techniques, and it has 1,067 GitHub stars.