Skip to content
    AI engineering roles via the DiamantAI Collective.See open roles
    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

    More Agent Memory tutorials