Expand description
session_recall tool: RLM-powered recall over the agent’s own
persisted session history in .codetether-agent/sessions/.
When the model “forgets” something that happened earlier in this
workspace (an earlier prompt, a tool result, a decision), it can
call this tool with a natural-language query. The tool loads
one-or-more recent sessions for the current workspace, flattens
their messages through messages_to_rlm_context, and runs
RlmRouter::auto_process against the flattened transcript to
produce a focused answer.
This is distinct from the automatic compaction in
crate::session::helper::compression: that compresses the
active session’s in-memory messages to fit the context window.
This tool recalls from the persisted on-disk history, across
sessions, on demand.
Structs§
- Session
Recall Tool - RLM-backed recall tool over persisted session history.