wenshuangl/agent-mem
/install agent-mem
AgentMem
Multi-Agent Memory + Dispatch System
Core Capabilities
1. Four-Tier Memory (HOT → WARM → COLD → ARCHIVE)
Memories decay naturally over time instead of being treated equally.
2. Cross-Channel Memory Sharing
Same agent shares memory across different channels (webchat/Feishu/Slack/Telegram).
3. Dispatch + Memory Loop
User request → Intent recognition → Agent dispatch → Execution → Auto-log → Optimize next dispatch
4. 17 Memory Modules
Fact extraction, BM25+vector fusion search, contradiction detection, knowledge graph, forgetting mechanism, active recall, memory feedback, self-review.
Quick Start
pip install -e .
# Write a memory
python -m agent_mem.core.hot_cache write --agent main --channel webchat --text "User prefers concise answers" --importance 7
# Cross-channel query
python -m agent_mem.core.hot_cache query --agent main --limit 5
# Dispatch stats
python -m agent_mem.core.dispatch_logger stats
# Run memory engine
python -m agent_mem.core.engine_v2 --mode daily
Requirements
- Python 3.10+
- chromadb (single dependency)
- Zero external API dependencies, fully local
Links
- GitHub: https://github.com/wenshuangl/agent-mem
- License: MIT
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install agent-mem - After installation, invoke the skill by name or use
/agent-mem - Provide required inputs per the skill's parameter spec and get structured output
What is wenshuangl/agent-mem?
Multi-Agent Memory + Dispatch System. 4-tier memory (HOT/WARM/COLD/ARCHIVE), cross-channel sharing, dispatch loop with auto-learning. It is an AI Agent Skill for Claude Code / OpenClaw, with 91 downloads so far.
How do I install wenshuangl/agent-mem?
Run "/install agent-mem" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is wenshuangl/agent-mem free?
Yes, wenshuangl/agent-mem is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does wenshuangl/agent-mem support?
wenshuangl/agent-mem is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created wenshuangl/agent-mem?
It is built and maintained by wenshuangl (@wenshuangl); the current version is v1.0.3.