Skip to main content

Simplified API

The MemoryManager exposes three high-level methods — remember, recall, and forget — that act as a facade over all enabled memory stores. Use them when you want quick, store-agnostic memory operations without reaching into individual stores.

remember

Store a piece of information. The method dispatches to the appropriate store based on the options you provide:

Signature

Parameters

Examples


recall

Search across all enabled stores, apply composite scoring, and return ranked results.

Signature

Parameters

Return type

How recall dispatches

recall fans out to every enabled store in parallel, collects candidates, scores each one, then returns the top-K results sorted by score. Each candidate is scored with computeCompositeScore, which blends:

Examples


forget

Remove memories matching the given criteria. Returns the count of stores cleared.

Signature

Parameters

Deletion behaviour

Examples


Full Example


Cross-References