Skip to main content

Module memory

Module memory 

Source
Expand description

Autonomous memory: extract durable learnings and inject at startup.

Structs§

ExtractedMemoryItem
Memory
MemoryExtraction
MemoryStore

Functions§

ensure_parent_dir
inject_memory_guidance_into_prompt
Inject memory guidance into an existing system prompt.
is_empty_or_ws
load_memory_guidance_block
Build the memory guidance block to inject into the system prompt.
make_session_extract_memory
memories_from_extraction
now_rfc3339
parse_memory_extraction_json
sanitize_key
Map a memory key to a stable, filesystem-safe filename (unsafe'_').
session_extract_key