01Chapter 1: Why agents need memory: LLM calls are statelessAssume you know basic Python, have called a chat-style LLM API, and understand that an agent runs an LLM in a loop with tools. You should also know that an embedding represents text as a vector, although embeddings are not needed in this chapter.2 min read
02Chapter 2: Long-term memory: persisting beyond one sessionAssume you know basic Python, can call a chat-style LLM API, and understand vectors and similarity. An LLM call is stateless: after it returns, it does not remember the call. Long-term memory is data that your application stores outside the model and retrieves in a later session.1 min read
03Chapter 3: Retrieving and ranking relevant memoriesAssume you know basic Python, chat-style LLM APIs, and vector similarity. This chapter focuses on reading stored memories and adding useful results to an agent prompt.2 min read