Engram: The Persistent Memory Layer Every AI Coding Agent Needs
Engram is a single-binary, agent-agnostic memory system that gives Claude Code, Codex and Cursor a persistent brain with SQLite + FTS5 full-text search.

Every AI coding agent has the same embarrassing flaw: when the session ends, it forgets everything. Decisions, bug fixes, conventions, hard-won context β all gone with the next context compaction or session reset. Engram (named after the neuroscience term for a physical memory trace) fixes this by giving your agent a real brain.
π Want to deploy Engram yourself?
Docker configs, system requirements, and installation guides β all on one page.
View Engram Tool Page βWhat makes Engram different?
Engram is a single Go binary that stores curated project memory in SQLite with FTS5 full-text search. No Node.js, no Python, no Docker runtime needed β one binary, one SQLite file, zero dependencies. It speaks MCP (Model Context Protocol), so it plugs into any MCP-compatible agent: Claude Code, Codex, Cursor, OpenCode, Gemini CLI, Windsurf and more.
Memory with structure, not a transcript dump
| Capability | What it does |
|---|---|
π mem_search | Full-text search across saved observations in milliseconds |
πΎ mem_save | Save decisions, bug fixes, conventions and durable constraints |
π§ mem_current_project | Confirm the resolved project and recover recent work |
π mem_session_summary | Leave a handoff so the next session starts where you stopped |
Instead of blindly recording every transcript line, Engram follows a curated memory protocol: orient before writing, search before repeating, and save significant knowledge deliberately. Stable topics like architecture/auth-model stay consistent and updateable, so your agent never builds competing memories.
Local or cloud β your choice
Run Engram fully local on your machine, or deploy Engram Cloud for team usage. The same MCP interface works everywhere, and an interactive TUI makes it easy to inspect what your agent actually remembers.
π Ready to give your agent a brain?
System requirements, Docker setup and deployment guides are one click away.
View Engram Tool Page βBottom line: if your coding agent keeps re-learning the same things, Engram is the missing memory layer. With 6,200+ GitHub stars, an MIT license, and a single-binary install, it's the simplest way to make your agent actually remember.