Skip to content
    Agent MemoryAgent Memory Techniques

    Letta (MemGPT) Patterns

    Treat your LLM's context window like RAM: let the agent actively page information in and out of a three-tier memory hierarchy (core, recall, and archival), the same way an operating system manages virtual memory.

    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 — essential for any GenAI engineer building systems that retrieve and ground responses on real data.

    Get it on Amazon

    ⭐ 4.4 stars · 1,500+ readers · Kindle $9.99 · Paperback $24.99 · Free with Kindle Unlimited

    More Agent Memory tutorials