AI工具 Skill技能库 关于道场
Go AI工具 开源

Engram:持久记忆系统为编程无关服务器

GitHub |2026-06-27

持久记忆 系统为 AI 编程 agents. Agent-无关 Go binary 与 SQLite + FTS5, MCP 服务器, HTTP API, CLI,、TUI.GitHub 4,663 ⭐ / 533 Fork,主要使用 Go 开发。访问项目:https://github.com/Gentleman-Programming/engram

项目介绍

持久记忆 系统为 AI 编程 agents. Agent-无关 Go binary 与 SQLite + FTS5, MCP 服务器, HTTP API, CLI,、TUI.

核心功能

- HTTP REST API (`engram serve`): note that `engram serve` currently binds to `127.0.0.1` only, so it is not reachable from inside a container out of the box — a container cannot reach the host's loopback, and there is no bind-address flag yet. `ENGRAM_URL` lets the Pi plugin target an `engram serve` reachable on a routable host/port (e.g. `ENGRAM_URL=http://host.docker.internal:7437 pi`), but that only works once the server listens on a non-loopback interface, which is not supported today. The HTTP API is not the MCP protocol; Pi uses it for session capture and Pi-native `mem_*` tools. For Docker right now, prefer the stdio path below. - Stdio MCP (mount the binary): the cleanest path for a Dockerized agent that needs MCP tools is to mount the `engram` binary into the container and let the agent launch `engram mcp` locally via stdio, pointing `ENGRAM_DATA_DIR` at a volume shared with the host.

使用指南

<a href="docs/INSTALLATION.md">Installation</a> &bull; <a href="docs/engram-cloud/README.md">Engram Cloud</a> &bull; <a href="docs/AGENT-SETUP.md">Agent Setup</a> &bull; <a href="docs/CODEBASE-GUIDE.md">Codebase Guide</a> &bull; <a href="docs/ARCHITECTURE.md">Architecture</a> &bull; <a href="docs/PLUGINS.md">Plugins</a> &bull; <a href="docs/TEAM-USAGE.md">Team Usage</a> &bull; <a href="CONTRIBUTING.md">Contributing</a> &bull; <a href="DOCS.md">Full Docs</a> </p>


> engram `/ˈen.ɡræm/` — _neuroscience_: the physical trace of a memory in the brain. Your AI coding agent forgets everything when the session ends. Engram gives it a brain. A Go binary with SQLite + FTS5 full-text search, exposed via CLI, HTTP API, MCP server, and an interactive TUI. Works with any agent that supports MCP — Claude Code, OpenCode, Gemini CLI, Codex, VS Code (Copilot), Antigravity, Cursor, Windsurf, or anything else. ``` Agent (Claude Code / OpenCode / Gemini CLI / Codex / VS Code / Antigravity / ...) ↓ MCP stdio Engram (single Go binary) ↓ SQLite + FTS5 (~/.engram/engram.db) ```

项目信息

项目信息
项目名称Gentleman-Programming/engram
Star 数4,663
Fork 数533
编程语言Go
开源协议MIT
创建时间2026-02-16
最近更新2026-06-20
主题标签

项目地址

GitHub 仓库:<https://github.com/Gentleman-Programming/engram>

> 完整 URL:[https://github.com/Gentleman-Programming/engram](https://github.com/Gentleman-Programming/engram)

如需查看完整源码、安装命令、使用示例、API 文档,请直接访问上方项目地址。所有信息均以 GitHub 仓库为准。