One agent, three long-term stores
Swipe to change step
Step 1 of 8. A new session starts for customer C-2201. The agent never queries a store directly. It calls narrow tools, and the user id is enforced in code, so it can never read another user's memory. Agent (session for C-2201). Narrow tools (owner = C-2201, in code), highlighted. Key-value store (exact lookups). Vector database (search by meaning). Memory files (/memories/notes.md). arrow from Agent to Narrow tools, labelled tool call. arrow from Narrow tools to Key-value store, labelled get / set. arrow from Narrow tools to Vector database, labelled search / save. arrow from Narrow tools to Memory files, labelled view / edit.
In this chapter
Chapter check
Already know this? Score 80% or more and you can skip ahead. Each attempt draws 4 questions from 12.
Loading check…