Coding agents forget what they learned once a session ends unless you give them memory. This hub covers the tools and ideas that help: persistent memory layers, codebase knowledge graphs, local code and document search, and knowledge bases that an LLM keeps up to date.
Most guides are deep dives into one project, explaining how it stores and retrieves context, how to install it and where it falls short. They include Claude-Mem for Claude Code, Agentmemory and Engram for local memory, CodeGraph and Understand Anything for codebase graphs, Zilliz Claude Context for semantic code search, and zg for local search. Two guides unpack Andrej Karpathy's LLM wiki and knowledge base workflow, and a comparison of memory layers helps you choose one on pricing, self-hosting and fit.
Start with the comparison if you are picking a tool, or with Karpathy's LLM wiki if you want the idea first. Vector databases are covered in the Agent Infrastructure hub.









