Skip to main content

Module memory

Module memory 

Source
Expand description

Memory substrate — agent persistent state.

Defines the MemorySubstrate trait for storing and recalling agent memories. Phase 1 provides InMemorySubstrate (ephemeral, substring matching). Phase 2 adds TruenoMemory (durable, semantic similarity via trueno-rag vector search).

See: arXiv:2512.13564 (memory survey), arXiv:2602.19320 (taxonomy).

Re-exports§

pub use in_memory::InMemorySubstrate;
pub use trueno::TruenoMemory;

Modules§

in_memory
In-memory substrate — ephemeral, substring-matching memory.
trueno
Trueno-backed memory substrate — durable, BM25-ranked recall.

Structs§

MemoryFilter
Filter for memory recall queries.
MemoryFragment
A recalled memory fragment with relevance score.

Enums§

MemorySource
Source of a memory fragment.

Traits§

MemorySubstrate
Unified structured + semantic memory store.

Type Aliases§

MemoryId
Unique identifier for a stored memory fragment.