The core architecture concepts behind CortexDB: memory layers, scopes, time, authorization, event sourcing, and retrieval.
Core Concepts
CortexDB is the long-term memory layer for AI agents. These concepts describe how CortexDB captures experience, derives structured memory, retrieves context, and keeps access boundaries explicit.
Start here
The Five Memory Layers
Events, Episodes, Facts, Beliefs, and Understanding.
Scopes
Hierarchical namespaces for tenants, teams, users, and shared knowledge.
Bi-temporal Model
Track when facts were true and when CortexDB learned them.
The Experience Envelope
The canonical write shape for events, documents, messages, and observations.
Event Sourcing
Why CortexDB keeps a lossless source of truth before deriving memory.
Hybrid Retrieval
How Cognitive Recall blends keyword, vector, graph, and rerank signals.