Skip to main content

Module provider

Module provider 

Source
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. Agents, CLIs, servers, desktop apps, and evaluation harnesses can compile against this trait while swapping persistence backends underneath. crate::BasicMemoryProvider is the in-crate reference backend; a full storage backend (e.g. the cel-memory-sqlite crate) drops in behind the same surface without caller churn. Other engines belong in separate crates โ€” see BACKENDS.md.

Traitsยง

MemoryProvider
The full memory provider surface.