Memory in Practice: Hot-Path and Background Pipelines

This chapter turns memory theory into architecture. It walks through the two standard designs, as implemented by memory frameworks such as LangMem: a background pipeline that extracts memories after the conversation using schema-driven memory managers, and a hot-path agent that saves and searches memories through tools. It then sets out how to choose between them and the ways each one fails.

Advanced RAG Masterclass

Sign up free to read the rest of this lesson