aidaemon-memory 0.29.0

Swappable long-term memory for aidaemon agents: the MemoryStore traits plus SQLite and embedding implementations
Documentation

aidaemon-memory

Tier: public contract. Semver-checked in CI; breaking changes only in a new minor version while 0.x, with a migration note.

Long-term memory for agents: durable facts with supersession, episode summaries and hybrid recall. The MemoryStore and Embedder traits are the public contract, so storage and embeddings are swappable; a SQLite store and an offline HashEmbedder are included (fastembed feature adds local ONNX embeddings).

use aidaemon_memory::{HashEmbedder, Memory, NewFact, SqliteMemoryStore};

let memory = Memory::new(SqliteMemoryStore::open("memory.db").await?, HashEmbedder::default());
memory.remember(NewFact::new("user:1", "person", "daughters", "Mia and Zoe")).await?;
let hits = memory.recall_facts("user:1", "what are my daughters called", 5).await?;

Part of the aidaemon SDK. MIT licensed. Docs: https://docs.rs/aidaemon-memory