Expand description
The MemoryProvider trait โ the durable cross-turn memory contract.
This is the single trait every memory backend implements and every caller
depends on. In Cellar that means the embedded agent runtime, the NL rule
compiler, the cel_act gateway, the rule-matcher post-fire hook, the
Activity / Memory tabs, and the MCP cel_remember / cel_recall /
cel_forget handlers โ but the trait itself is runtime-agnostic.
crate::BasicMemoryProvider is the in-crate reference backend; a full
storage backend (e.g. the cel-memory-sqlite crate) drops in later behind
the same surface without caller churn.
Traitsยง
- Memory
Provider - The full memory provider surface.