Mengram AI: Auto-Memory Tool for Claude Code Sessions

✍️ OpenClawRadar📅 Published: March 11, 2026🔗 Source
Mengram AI: Auto-Memory Tool for Claude Code Sessions
Ad

What Mengram AI Does

Mengram AI solves the problem of Claude Code sessions starting from zero by automatically maintaining context between sessions. Instead of manually maintaining CLAUDE.md files, this tool handles memory automatically through hooks that fire during the session lifecycle.

Setup and Commands

Installation requires two commands:

pip install mengram-ai
mengram setup

Once installed, you can check status or uninstall with:

  • mengram hook status — see what's installed
  • mengram hook uninstall — remove everything cleanly

How It Works

The tool operates through three automatic phases:

  • Session start — loads your cognitive profile (who you are, your stack, preferences)
  • Every prompt — searches past sessions for relevant context and injects it
  • After response — saves new knowledge in the background

No manual saves or tool calls are required.

Ad

Memory Types

Mengram stores three types of memory:

  • Semantic — facts like "uses Python 3.12, deploys to Railway"
  • Episodic — events like "migration failed yesterday, fixed by adding pre-deploy check"
  • Procedural — workflows that update themselves when something fails

Procedural Memory Evolution

The procedural memory automatically evolves based on failures. For example, a deployment workflow might progress through versions:

v1: build → push → deploy
v2: build → run migrations → push → deploy
v3: build → run migrations → check memory → push → deploy

When Claude helps with deployment next time, it already knows the latest version (v3 in this example).

Technical Details

The tool is open source under Apache 2.0 license. It works with Claude Code and includes an MCP server for Claude Desktop, Cursor, and Windsurf.

📖 Read the full source: r/ClaudeAI

Ad

👀 See Also

Engram: A Learning Plugin for OpenClaw That Actually Makes Knowledge Stick
Tools

Engram: A Learning Plugin for OpenClaw That Actually Makes Knowledge Stick

Engram is an OpenClaw plugin that uses neuroscience-based techniques like pre-testing, blind grading, and FSRS-4.5 scheduling to ensure you retain what you learn, even as AI agents accelerate your shipping.

OpenClawRadar
Agent Times Skill for ClawHub Adds Real-Time News, Weather, and Token Price Queries
Tools

Agent Times Skill for ClawHub Adds Real-Time News, Weather, and Token Price Queries

A new ClawHub skill called Agent Times enables AI agents to answer real-time queries about news, weather, and cryptocurrency prices. Installation is via npx clawhub install agenttimes, and it provides access to 228K+ articles from 3,576 feeds with sentiment scoring and entity extraction.

OpenClawRadar
Decision Passport: An Audit Layer for AI Agent Execution Governance
Tools

Decision Passport: An Audit Layer for AI Agent Execution Governance

The Claude Code leak highlights a gap in AI agent governance. Decision Passport addresses this with append-only execution records, portable proof bundles, and offline verification for tamper-evident audit trails.

OpenClawRadar
Claude Skill Enables Granular Personality Adjustments with Quantified Variables
Tools

Claude Skill Enables Granular Personality Adjustments with Quantified Variables

A new Claude skill allows developers to make quantified adjustments across 32 groups of personality traits covering 120 Claude-defined variables, with group-level profiles showing metrics like Wordiness (60), Agreeableness (55), and Sarcasm & Edge (17). The skill persists across conversations and includes a publish command for custom instructions.

OpenClawRadar