Why it matters
Memory unlocks 'agents that know me' experiences. Understanding enables real personalization.
Advertisement
The architecture
MemoryService interface: add_session_to_memory, search_memory.
VertexAiRagMemoryService: RAG-backed semantic memory. Retrieves relevant past info per query.
Advertisement
How it works end to end
InMemoryMemoryService: dev fallback.
Custom backend: MemoryService interface for custom stores (Redis, Pinecone).
Curation: not all conversation content belongs in memory; be selective.
Privacy: retain only what's needed; support deletion.