Mengram adds persistent memory to OpenClaw agents

Mengram is an open-source memory system that provides OpenClaw agents with persistent memory across sessions. The tool addresses the problem where OpenClaw agents forget everything when they restart, losing memory of what worked, what failed, and what procedures they learned.
Memory types
- Episodic memory — stores what happened (conversations, actions, outcomes)
- Entity memory — tracks people, tools, projects and facts about them
- Procedural memory — automatically extracts "how to do X" procedures from repeated patterns. If your agent does a heartbeat check 3 times, Mengram creates a reusable procedure for it
- Smart archival — old/outdated facts get automatically superseded when new info contradicts them
Integration with OpenClaw
Here's how to use Mengram with OpenClaw agents:
from mengram import Mengram
m = Mengram(api_key="om-...")
Agent saves what it learned
m.add("Completed heartbeat check. Job queue has 18 pending jobs. No urgent alerts.")
Later, agent searches its memory
results = m.search("what's the heartbeat status?")
Procedures are auto-created from repeated patterns
procedures = m.get_procedures()
→ "Run HEARTBEAT.md strict-check", "Daily brief at 10:00 AM", etc.
The agent builds up procedural knowledge over time — it doesn't just remember facts, it learns how to do things and when to do them.
Technical stack
Mengram uses Python SDK, REST API, PostgreSQL + pgvector for embeddings, and works with any LLM.
The project is available on GitHub at github.com/alibaizhanov/mengram.
📖 Read the full source: r/openclaw
👀 See Also

cstat: A Native Rust Status Line for Claude Code with 2ms Performance
cstat is a native Rust binary that replaces claude-hud's 62ms status line with a 2ms implementation by eliminating 24 subprocess spawns per invocation. It displays model info, rate limits, git status, context window usage, active tools, subagents, and task progress.

Claudraband: Terminal Wrapper for Persistent Claude Code Sessions
Claudraband wraps the official Claude Code TUI in a controlled terminal to enable resumable workflows, remote session control via HTTP daemon, and ACP server integration for alternative frontends like Zed or Toad. It requires Node.js/Bun, authenticated Claude Code, and tmux for first-class local workflows.

Kelet: Automated Root Cause Analysis for AI Agents
Kelet is a service that automatically analyzes production AI agent failures by clustering traces and signals to identify root causes and suggest fixes. It integrates via Python/TypeScript SDKs or an installer skill and is currently free during beta.

Toothcomb: Open-Source Real-Time Speech Fact-Checker Built with Claude Opus and Sonnet APIs
Toothcomb is an open-source tool that takes a speech transcript, fact-checks claims, detects logical fallacies and manipulative language using Claude Opus API, and supports real-time microphone streaming.