Memory Tree Pipeline
/install memory-tree-pipeline
Memory Tree — Three-Scope Structured Memory
A structured memory system with three scopes (source, topic, global) that automatically organizes, summarizes, and indexes agent memory. Never lose context again.
Architecture
Source (raw) → Topic (summarized) → Global (cross-topic knowledge)
134 files 13 files 6 files
Quick Start
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}
Features
- Three-scope hierarchy: Source → Topic → Global
- Automatic sealing: Raw memories compressed into topic summaries
- Topic extraction: Automatic categorization by content
- Index management: Full-text search across all scopes
- Budget enforcement: Topic files \x3C 2000 tokens, Global \x3C 5000 tokens
- Idempotent sealing: Safe to run multiple times
Testing
python -m pytest test_memory_tree.py -v
# 15 tests passing
License
MIT
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install memory-tree-pipeline - After installation, invoke the skill by name or use
/memory-tree-pipeline - Provide required inputs per the skill's parameter spec and get structured output
What is Memory Tree Pipeline?
Three-scope structured memory for AI agents. Automatically organize, summarize, and index agent memory with sealing workers and topic extraction. It is an AI Agent Skill for Claude Code / OpenClaw, with 54 downloads so far.
How do I install Memory Tree Pipeline?
Run "/install memory-tree-pipeline" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Memory Tree Pipeline free?
Yes, Memory Tree Pipeline is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Memory Tree Pipeline support?
Memory Tree Pipeline is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Memory Tree Pipeline?
It is built and maintained by larios613-hub (@larios613-hub); the current version is v1.0.0.