persistent-memory
بواسطة jakebot-ops
Coding Agents & IDEsموجز
Three-layer persistent memory system (Markdown + ChromaDB vectors + NetworkX knowledge graph) for long-term agent.
الوصف
ما الذي تفعله هذه المهارة
Three-layer memory system using Markdown files, ChromaDB vector embeddings, and a NetworkX knowledge graph that persists agent knowledge across sessions. One command installs all dependencies and configures OpenClaw to index directive files like SOUL.md and AGENTS.md that its built-in memory search ignores by default.
Combining vector search with a knowledge graph lets the agent surface semantically related facts and traverse concept relationships, while the OpenClaw integration closes a gap where agents silently ignore their own directive files.
متى تستخدمها
- Recalling an architectural decision made weeks ago without fabricating details
- Looking up an exact repo URL or contact handle before taking an action
- Reviewing what the agent logged during a previous work session
- Keeping agent behavior consistent with workspace rules after restarts
- Building up an institutional knowledge base of people, repos, and infrastructure over time
مثال على سير العمل
User asks: 'What did we decide about the authentication approach last month?'
- 1
Runs memory_search or auto_retrieve.py with the query before responding
- 2
Vector search returns top-3 semantically similar chunks from MEMORY.md and daily logs
- 3
Graph traversal surfaces related concepts linked to the matching chunks
- 4
Agent cites the source file and section in its answer
Agent returns the recorded decision with the date it was logged and the file it came from, without fabricating details
التثبيت
clawhub install jakebot-ops/persistent-memoryشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.