Memory · Types
Semantic
Long-term retention of facts, concepts and user preferences for personalization and RAG.
At a glance
ClassMemory layer
ScopeCross-session (facts)
ExamplesVector stores · JSON profiles
How it works
Two patterns, Profiles: a continuously patched JSON document per user/entity (error-prone as it grows). Collections: an append-only list of facts (easy to add, but the agent must delete/update contradictions to avoid pollution).
Watch out
Profiles bloat; collections pollute, both need active conflict resolution.
Basis
- Internal research (Scalarity), Architectural Frameworks for AI Agent Memory Systems