Install
openclaw skills install memory-tree-pipelineThree-scope structured memory for AI agents. Automatically organize, summarize, and index agent memory with sealing workers and topic extraction.
openclaw skills install memory-tree-pipelineA structured memory system with three scopes (source, topic, global) that automatically organizes, summarizes, and indexes agent memory. Never lose context again.
Source (raw) → Topic (summarized) → Global (cross-topic knowledge)
134 files 13 files 6 files
from memory_tools import MemoryTools
tools = MemoryTools(workspace="/path/to/workspace")
# Store a memory
tools.store("User prefers dark mode for all UI", topic_hint="preferences")
# Recall memories
results = tools.recall("dark mode", scope="global")
# Seal source → topic summaries
tools.seal()
# Check status
status = tools.status()
# → {"source_files": 134, "topic_files": 13, "global_files": 6}
python -m pytest test_memory_tree.py -v
# 15 tests passing
MIT