OpenClaw Agent Memory Plugin: Persistent Context Across Sessions

A developer has created a memory plugin for OpenClaw that gives agents persistent memory across sessions, addressing the frustration of agents forgetting everything between interactions and requiring the same explanations repeatedly.
How it works
The plugin implements a memory layer that hooks into OpenClaw's plugin system. Before every turn, the agent automatically receives relevant context from past conversations. After every turn, new facts and events are extracted and stored.
The system searches three memory types before each turn:
- Facts — Example: "Uses PostgreSQL on Supabase, deploys via Railway."
- Events — Example: "Had OOM issue on Mar 15, fixed with Redis cache."
- Workflows — Example: "Deploy: build → test → push to main → Railway auto-deploys."
Configuration
Setup requires adding a plugin entry to openclaw.json:
{
"plugins": {
"entries": {
"openclaw-mengram": {
"enabled": true,
"config": {
"apiKey": "om-..."
}
}
},
"slots": {
"memory": "openclaw-mengram"
}
}
}The plugin includes an auto-recall hook that searches memory before each agent turn. When workflows fail, the agent logs feedback and the procedure automatically evolves to a better version for next time.
The tool is open source under Apache 2.0 license and available at github.com/alibaizhanov/mengram.
📖 Read the full source: r/openclaw
👀 See Also

2026 Hermes Agent Alternatives Roundup: Self-Hosted Options from OpenClaw to memU Bot
A developer who has been running Hermes since launch tested every self-hosted and managed alternative after the ClawHub security mess. Key findings: OpenClaw (370k stars) but 9 CVEs in 4 days and ~20% malicious packages; TrustClaw rebuilt with OAuth/sandboxing; nanobot at ~4K lines Python with MCP; memU Bot with unique structured memory. Managed options include Perplexity Computer (19 models, $200/mo), Claude Cowork (opens real Mac apps), and KimiClaw (40GB RAG, locked to K2.5, Chinese data law). Full roundup at source.

Interactive Mind Map Visualizes Claude Tool Ecosystem
A developer created an interactive HTML mind map using D3.js to track features across Claude's Chat, Cowork, and Code tools, including platform availability, pricing differences, and connector compatibility.

Implementing a Local Voice Assistant with Qwen3 on RTX 5060 Ti
A fully local home automation voice assistant using Qwen3 ASR, LLM, and TTS on an RTX 5060 Ti, featuring Morgan Freeman voice cloning and a variety of integration tools.

Claude Code protocol file reduces repetitive questioning
A developer created a single .md file for ~/.claude/rules/ that infers task type and risk from the first message, eliminating Claude Code's typical three-question sequence before starting work.