Memories are the core data unit in OpenMemoryX. They represent pieces of information that your AI application wants to remember about users or contexts.Documentation Index
Fetch the complete documentation index at: https://docs.t0ken.ai/llms.txt
Use this file to discover all available pages before exploring further.
What is a Memory?
A memory consists of:- Content - The actual text content to remember
- Project ID - Which project this memory belongs to
- Metadata - Additional structured data (optional)
- Cognitive Sector - AI-classified category (auto-assigned)
- Importance Score - AI-calculated relevance (0-1)
Memory Structure
Cognitive Sectors
Every memory is automatically classified into one of five cognitive sectors:Episodic
Specific events and experiencesExample: “User visited Paris in 2024”
Semantic
Facts and general knowledgeExample: “User prefers dark mode”
Procedural
Skills and how-to knowledgeExample: “User knows Python”
Emotional
Feelings and preferencesExample: “User enjoys sci-fi movies”
Reflective
Insights and summariesExample: “User values privacy”
Async Processing
Memories are processed asynchronously:- Submit - Send memory content via API
- Queue - Memory enters processing queue
- AI Classification - AI determines sector and importance
- Vector Embedding - Create searchable vector representation
- Storage - Save to database and knowledge graph
Best Practices
- Keep content concise - 1-2 sentences per memory works best
- Use consistent project IDs - Organize by application or user
- Add relevant metadata - Helps with filtering and context
- Don’t store PII - Avoid storing sensitive personal information