AI.Agent.Coordinator.Memory (fnord v0.9.29)

View Source

Functions related to the Coordinator's memory behavior: prompt text, identity injection at session start, semantic memory recall, and end-of-session memory reflection.

The reflection step runs in parallel with finalization. It receives a filtered snapshot of the conversation and a listing of already-saved session memories, then uses the memory_tool exclusively to record learnings. The downstream indexer promotes session memories to long-term storage, and the consolidator deduplicates them.

Summary

Types

state()

@type state() :: AI.Agent.Coordinator.state()

t()

@type t() :: AI.Agent.Coordinator.t()

Functions

identity_msg(state)

@spec identity_msg(t()) :: t()

recall_prompt()

@spec recall_prompt() :: binary()

reflect(state)

@spec reflect(t()) :: :ok

spool_mnemonics(state)

@spec spool_mnemonics(t()) :: no_return()