Back to resources
RepoAI & machine learningGentleman-Programming/engram

Engram

Persistent memory for AI coding agents. One Go binary, SQLite + FTS5. MCP, HTTP, CLI, TUI. Local first. Claude Code, Cursor, Codex, Windsurf. Not a transcript dump.

by Alan Buscaglia

Engram is project memory that survives the session: decisions, bug fixes, conventions — not the chat log. One Go binary, one SQLite file with FTS5. MCP stdio, HTTP API, CLI, TUI. brew install gentleman-programming/tap/engram. Then engram setup cursor — or the Claude Code plugin, Codex, Windsurf, Copilot.

Local is the source of truth. Git Sync if you want the same brain on another machine; Cloud is optional replication. I keep it next to Claude Code when compaction wipes the thread and the next session has to rediscover the same auth model. MIT. Source Gentleman-Programming/engram. Inspired by claude-mem, agent-agnostic.

Open resource