Expand description
Agent memory system.
Core logic lives in oxios_memory. This module provides:
- Trait bridge —
impl MemoryStorage for StateStore,impl MemoryGit for GitLayer - Config bridge —
From<&ConsolidationConfig> for DreamConfig - Re-exports — types used by kernel internals and the web surface
- Sub-modules —
markdown_bridge(orphan-rule wrapper),auto_memory_bridge(oxios_memory re-export)
Modules§
- auto_
memory_ bridge - Re-export of
oxios_memory::memory::auto_bridgeunder the kernel’smemory::namespace for back-compat. - markdown_
bridge - Orphan-rule wrapper implementing
MarkdownSourceforKnowledgeBase.MarkdownSourceimplementation foroxios_markdown::KnowledgeBase.
Structs§
- Dream
Checkpoint - Dream execution state (checkpoint for crash recovery).
- Dream
Config - Configuration extracted for Dream use.
- Dream
Process - The Dream process — 4-phase background memory consolidation.
- Dream
Report - Report from a dream (consolidation) run.
- Hnsw
Index - HNSW approximate nearest neighbor index.
- Hnsw
Memory Index - HNSW index manager for memory entries.
- Memory
Entry - A single memory entry with lifecycle and auto-protection metadata.
- Memory
Manager - Agent memory manager.
- Memory
MapEntry - One node on the memory map.
- Memory
Neighbor - Edge from one memory to a similar neighbor.
- Proactive
Recall - Proactive recall engine.
- Recall
Timing - Tracks when proactive recall should be triggered.
- Semantic
Hit - Result of a semantic search hit.
- Text
Vector - Simple TF-IDF vector for text similarity.
Enums§
- Memory
Tier - Memory tier classification.
- Memory
Type - Memory entry type — 9 types derived from the SOAR/ACT-R cognitive model.
- Protection
Level - Auto-protection level. Users never need to know about this.
Functions§
- compute_
pca_ 2d - Project a set of embeddings into 2D coordinates via PCA.
- compute_
top_ neighbors - Top-k most similar neighbors per embedding, cosine-similarity only.
- content_
hash - Compute a stable hash of content for deduplication.