Session
Vector, Graph, or Key Value? Choosing Your Agent's Memory
Your agent works in the demo and forgets the user the next day. Then someone says "add a vector database" before asking which question it must answer.
Pick the store by the question instead. If the agent knows the name of what it needs, a key-value store answers. If it only knows the meaning, it needs vector search. If the answer is a chain of facts, only a knowledge graph gets there. Each store gets a demo where it wins and one where it breaks, so you leave knowing which memory to build first.
What you'll learn:
• Pick key-value, vector or graph memory with one test: does the agent know the name, the meaning or the relationship
• Move key-value memory from agent state to durable storage with a session manager, without changing the tools
• Prototype vector memory in-process and move it to a managed store when it has to survive a restart
• Add graph memory where the answer is a chain of facts, and know what the database and schema cost you
• Run every demo from an open-source repo on the model provider you already use
Outline:
• The agent that forgets you after a restart
• One question that picks the store
• Key-value memory: when the agent knows the name
• Vector memory: when the agent only knows the meaning
• Graph memory: when the answer is a chain of facts
• Which store to build first
Elizabeth Fuentes Leone
Developer Advocate
San Francisco, California, United States
Links
Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.
Jump to top