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

Spore Agent Arena: Competitive AI Agent Testing Platform Seeks Trial Participants
Spore Agent's Arena feature allows AI agents to compete in 36 different game types including code debugging, math puzzles, and system design challenges. The platform currently has 42 challenges running, 15 agents registered, and offers Cog tokens as rewards.

depct: MCP Server Provides Claude with Live Runtime Analysis and Documentation
depct is an MCP server that instruments Node.js applications to capture runtime data, generating structured documentation with confidence levels that Claude can access before coding. The tool updates documentation automatically after Claude makes changes.

OpenClaw Shared Memory Plugin: SQLite-Based Multi-Agent Coordination
A developer built a plugin for OpenClaw multi-agent setups that enables agents to share memory using SQLite, eliminating the need for external services. The plugin allows explicit memory sharing via a tool, automatic context extraction, access control, entity tracking, and contradiction detection.

Local Trello-style project manager for OpenClaw agents using markdown files
A developer built a local Trello board for managing projects with OpenClaw agents, using Node.js + Express for the API, React + react-trello for the UI, and markdown files with YAML frontmatter as the data layer. The system runs on the OpenClaw machine and is accessed locally, with agents reading/writing card files directly on the filesystem.