Skip to main content

Module memory

Module memory 

Source
Expand description

Memory abstraction — persistent agent state. Inspired by ZeroClaw’s pluggable memory + NanoClaw’s per-group isolation.

Re-exports§

pub use traits::MemoryBackend;

Modules§

brief
Memory brief — time windows + open loops (Vellum-style, KV-backed).
context_inject
Assemble Vellum-style context blocks before the user turn.
embeddings
graph
Idea graph — nodes, edges, low-confidence “dream” hypotheses (Surreal-native).
principal
Principal — one user, many channel chat_ids.
recall
Recall gate — inject file/KV snippets when the user references past context.
search
Memory search — full-text search over MEMORY.md + memory/*.md files Provides memory_search and memory_get as agent tools.
session_note
Session-end notes → workspace memory/YYYY-MM-DD.md
surreal
SurrealDB-backed memory storage using the local RocksDB engine.
traits
Core MemoryBackend trait.
zkr