Gentleman-Programming/engram

Persistent memory system for AI coding agents. Agent-agnostic Go binary with SQLite + FTS5, MCP server, HTTP API, CLI, and TUI.

What it solves

AI coding agents typically "forget" everything once a session ends, forcing users to re-explain project details, context, and past decisions. This tool provides persistent, long-term memory for these agents, allowing them to retain knowledge across sessions.

How it works

It acts as a central "brain" for your AI agent using a single, lightweight Go binary. It stores information in a local SQLite database and communicates with your agent via the Model Context Protocol (MCP). It is designed to be project-aware, meaning it automatically identifies the relevant project context and retrieves only the pertinent memories. You can interact with this memory store via the command line, an HTTP API, or an included terminal user interface (TUI).

Who it’s for

This is for developers who use AI coding agents (such as Claude Code, Cursor, Windsurf, or VS Code Copilot) and want their tools to remember project-specific conventions, bug fixes, and architectural decisions without manual re-entry.

Highlights

  • Agent-Agnostic: Works with 14+ popular coding agents and any MCP-compatible tool.
  • Local-First: Keeps your data private on your machine by default, with optional cloud replication.
  • Zero Dependencies: Runs as a single, portable binary without needing Python, Node.js, or Docker.
  • Built-in TUI: Includes a terminal interface to browse, search, and manage stored memories.
  • Project-Aware: Automatically resolves and segments memory based on your current working directory.

Related

  • Project
  • Dispatch
  • Project
  • Project
  • Project