Engram
$ engram Community Low RiskEngram (Gentleman-Programming/engram) gives AI coding agents durable, searchable cross-session memory in a single zero-dependency Go binary backed by SQLite + FTS5. Supports engram search from the CLI, engram mcp over stdio, engram serve for HTTP+MCP, daemon lifecycle commands, and optional cloud sync.
go install github.com/Gentleman-Programming/engram/cmd/engram@latest Use engram search in bash for quick stateless lookups, or engram mcp when your coding agent prefers persistent memory tool hooks.
At a Glance
- Command
- $ engram
- FCRS-1.0 Score
- 87/100 (Good)
- Evidence Tier
- Medium Confidence
- CLI vs MCP
- Hybrid (CLI + MCP)
- Reviewed Date
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Offers clean non-interactive search, mcp, serve, and daemon (ps/stop) commands built for coding-agent memory.
- CLI
search,mcpstdio server, HTTPserve, and daemon subcommands
Local-first SQLite + FTS5 database with zero external network traffic unless optional engram cloud is enabled.
- Local SQLite persistence; optional explicit cloud sync
Single self-contained Go binary installable via go install or prebuilt releases across macOS, Linux, and Windows.
- Single static Go binary with embedded SQLite + FTS5
Fast FTS5 full-text recall lets agents reuse project context across sessions without re-reading the entire repo.
- Sub-millisecond SQLite FTS5 cross-session memory lookup
Active MIT-licensed OSS project (Gentleman-Programming/engram, 8.4k+ stars).
Gentleman-Programming/engramrepository
Clear documentation at engram.gentlemanprogramming.com and Go package docs.
- Docs at engram.gentlemanprogramming.com and README
Security, Auth & Guardrails
Local SQLite + FTS5 database requires no auth; optional engram cloud remote sync stores credentials locally.
MIT open-source Go binary; local SQLite storage is completely free.
# engram Agent Rules - Query `engram search <keywords>` before starting work to recall prior decisions and gotchas. - Never store plaintext API keys, passwords, or secrets inside Engram memory entries. - Keep memory local by default unless the user explicitly configures `engram cloud`.
Agent-Ready Command Recipes
Safe Read-Only Queries
engram search "authentication refactor"
Queries the local SQLite + FTS5 memory store from the terminal.
engram ps
Lists active local engram server processes without modifying state.
Controlled Writes & Previews
engram serve
Launches the local persistent memory HTTP API and MCP server for agent sessions.
Strengths for Agents
- + Zero-dependency single Go binary combining SQLite + FTS5, CLI, TUI, HTTP API, and MCP.
- + Works identically across Claude Code, Codex CLI, OpenCode, and Gemini CLI.
- + Fast full-text recall avoids stuffing entire conversation histories into context.
Caveats & Pitfalls
- ! Agents must avoid saving raw secrets or credentials into persistent memory notes.
- ! Lacks a native
--jsonflag on every CLI subcommand compared to MCP/HTTP JSON endpoints.
Official References
Tested Agent Hosts
Follow Ecosystem Links
Related CLIs in Agent Bridges & Meta
View category hub →Zero-codegen runtime CLI bridge (`mcp2cli`) translating MCP, OpenAPI, and GraphQL into compact `--list` + `--help` CLIs.
Turn any MCP server into a typed CLI (`mcporter`) with `list`, `call --json`, and `generate-cli`.
Upstash MCP server (`@upstash/context7-mcp`) injecting version-specific library docs into LLM context.
Vercel's open agent-skills package manager (`npx skills`) to discover, audit, and install `SKILL.md` skills.
Analyze AI coding CLI token usage and costs from local JSONL logs (`ccusage`) with `--json`.