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 lose all context and knowledge when a session ends. Engram provides a persistent, project-aware memory layer that allows agents to remember decisions, bug fixes, patterns, and user constraints across different sessions and projects.

How it works

Engram is delivered as a single Go binary that uses a local SQLite database with FTS5 full-text search for storage. It integrates with AI agents via the Model Context Protocol (MCP), an HTTP API, or a CLI. It can bet be configured to be project-aware, automatically detecting the current repository to load the correct memory scope. For portability and collaboration, it supports Git Sync for sharing compressed memory chunks and an optional Cloud replication service for shared access.

Who it’s for

Developers using AI coding agents (such as Claude Code, Cursor, Windsurf, or Gemini CLI) who want their agents to maintain a long-term memory of their codebase and project-specific knowledge.

Highlights

  • Agent-Agnostic: Works with any MCP-compatible agent, including 14 pre-configured setup targets.
  • Zero Dependencies: A single binary with no requirement for Node.js, Python, or Docker.
  • Project-Aware: Automatically manages separate memory stores for different repositories.
  • TUI Dashboard: Includes a terminal user interface to browse, search, and manage what the agent remembers.
  • Local-First: Keeps data in a local SQLite file by default, with optional cloud or Git-based synchronization.
  • Extensible: Provides a suite of MCP tools for agents to save, search, and review memories.

Related

  • Dispatch
  • Project
  • Project
  • Project
  • Project