Original Reddit post

Disclosure: I’m the creator of this tool. Built an auto-memory layer for Claude Code. Two commands to set up: Bash pip install mengram-ai mengram setup What happens after: 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. No tool calls. Runs as hooks that fire automatically. It stores 3 types of memory: Semantic — facts (“uses Python 3.12, deploys to Railway”). Episodic — events (“migration failed yesterday, fixed with pre-deploy check”). Procedural — workflows that update when something fails. Evolution example: Plaintext v1: build → push → deploy v2: build → run migrations → push → deploy v3: build → run migrations → check memory → push → deploy Management: mengram hook status — see what’s installed. mengram hook uninstall — remove everything. Open source (Apache 2.0), free tier, also works as an MCP server for Claude Desktop / Cursor / Windsurf. GitHub: https://github.com/alibaizhanov/mengram Website: https://mengram.io/ Happy to answer questions about the architecture! submitted by /u/No_Advertising2536

Originally posted by u/No_Advertising2536 on r/ClaudeCode