Expand description
Memory backends for Walrus agents.
Concrete implementations of the wcore::Memory trait:
InMemory (volatile), SqliteMemory (persistent with FTS5 + vector recall),
and FsMemory (filesystem-backed Markdown files, human-editable).
Memory abstractions (Memory, Embedder, MemoryEntry, RecallOptions) live in wcore.
All SQL lives in sql/*.sql files, loaded via include_str!.
All Memory types that are Clone + 'static automatically implement Hook
via the blanket impl in wcore::runtime::hook.
Modules§
- tools
- Memory tool schema constructors.
Structs§
- FsMemory
- Filesystem memory store backed by per-namespace TOML files.
- InMemory
- In-memory store backed by
Arc<Mutex<Vec<(String, String)>>>. - Memory
Entry - A structured memory entry with metadata and optional embedding.
- Recall
Options - Options controlling memory recall behavior.
- Sqlite
Memory - SQLite-backed memory store with optional embedding support.