Skip to main content

Module memory

Module memory 

Source
Expand description

Agent memory system.

Core logic lives in oxios_memory. This module provides:

  1. Trait bridgeimpl MemoryStorage for StateStore, impl MemoryGit for GitLayer
  2. Config bridgeFrom<&ConsolidationConfig> for DreamConfig
  3. Re-exports — types used by kernel internals and the web surface
  4. Sub-modulesmarkdown_bridge (orphan-rule wrapper), auto_memory_bridge (oxios_memory re-export)

Modules§

auto_memory_bridge
Re-export of oxios_memory::memory::auto_bridge under the kernel’s memory:: namespace for back-compat.
markdown_bridge
Orphan-rule wrapper implementing MarkdownSource for KnowledgeBase. MarkdownSource implementation for oxios_markdown::KnowledgeBase.

Structs§

DreamCheckpoint
Dream execution state (checkpoint for crash recovery).
DreamConfig
Configuration extracted for Dream use.
DreamProcess
The Dream process — 4-phase background memory consolidation.
DreamReport
Report from a dream (consolidation) run.
HnswIndex
HNSW approximate nearest neighbor index.
HnswMemoryIndex
HNSW index manager for memory entries.
MemoryEntry
A single memory entry with lifecycle and auto-protection metadata.
MemoryManager
Agent memory manager.
MemoryMapEntry
One node on the memory map.
MemoryNeighbor
Edge from one memory to a similar neighbor.
ProactiveRecall
Proactive recall engine.
RecallTiming
Tracks when proactive recall should be triggered.
SemanticHit
Result of a semantic search hit.
TextVector
Simple TF-IDF vector for text similarity.

Enums§

MemoryTier
Memory tier classification.
MemoryType
Memory entry type — 9 types derived from the SOAR/ACT-R cognitive model.
ProtectionLevel
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.