What is Cortex Memory?
mainCortex Memory (cortex-mem) is a full-stack AI memory management system designed to provide AI agents with persistent, multi-dimensional context across conversational sessions. It solves the problem of statelessness in AI by automatically capturing, structuring, and retrieving dialogue history using a hierarchical memory model.
Hierarchical Memory Model
The system organizes memory into three semantic layers:
- L0 (Abstract): High-level summaries of conversation intent.
- L1 (Overview): Structured markdown summaries containing key decisions, entities, and outcomes.
- L2 (Detail): Raw, unprocessed conversation transcripts stored as markdown files.
These layers are indexed via vector embeddings and stored in a Qdrant vector database, allowing for fast, context-aware semantic search. The system uses filesystem monitoring to automatically trigger LLM-based summarization and synchronization between the filesystem and the vector store.