Skip to main content

Module engine

Module engine 

Source
Expand description

The pluggable retrieval backend.

MemoryWhale owns the MemoryEngine interface. By default it’s backed by the BuiltinEngine (the explainable scorer over a local memory set). With the off-by-default mempalace feature, MemPalaceEngine sits behind the same interface and talks to mempalace-mcp as an MCP client — so MemPalace stays an optional, swappable backend rather than a hard dependency. Callers never change.

Structs§

BuiltinEngine
The default, zero-setup engine: scores an in-memory set with the explainable scorer. (A SQLite-backed variant just loads memories from the DB first.)

Traits§

MemoryEngine