Skip to main content

Module memory

Module memory 

Source

Functionsยง

ensure_memory_dir
Ensure the memory directory exists, creating it if necessary.
escape_memory_content
Escape <agent-memory> and </agent-memory> tags from memory content.
load_memory_content
Reads MEMORY.md from the given directory and returns the first 200 lines.
resolve_memory_dir
Resolve the memory directory path for a given scope and agent name.