Skip to content

Recall Flow

v1 ✅ Implemented: memory_recall(query) four-source unified recall, returns results[] (distinguished by memory_type).

CapabilityDescription
memory_recallFour sources: semantic / conversation / limbic / autobiographical; Top N; conversation returns snippet
sessions_searchSession message search; returns snippet (not full content)
memory_rememberSemantic memory CRUD during conversation
Resident memorySystem prompt injection (not recall)
memory_typeContent type
semanticFacts, preferences, experiences, etc.
sessionHistorical conversation snippets
limbicEmotional memory
autobiographicalNarrative title + content snippet

Separate from recall: pinned semantic memories plus most-referenced entries are always injected into the system prompt. LLM cites memory ID markers in replies; reference counts sync via nightly cron.

Self layer (six blocks) is not retrieved via memory_recall—it is always in the system prompt.

LayerInjectionReason
Self layerAlways in system promptSmall, fixed, every conversation needs “who I am”
Memory layermemory_recall on demandLarge, dynamic, search when needed

Unified recall extending to resource layer (tools, skills, assets) with preset weighting is tracked in Issue #47. Not current runtime behavior.

In cognitive psychology, Recall is actively pulling stored information from memory—retrieving what you already stored. Even when scope extends to resources, the action’s essence is unchanged.