Engram v1.0.0: Persistent Memory for Local LLMs via Knowledge Graph

What Engram Does
Engram solves the problem of LLMs forgetting everything between sessions by providing persistent memory via a knowledge graph. Unlike vector databases that only find similar text, Engram understands relationships and can reason over them.
Core Features
- Knowledge graph with typed entities, relationships, and properties
- Hybrid search combining BM25 + vector similarity using Ollama/OpenAI embeddings or local ONNX
- Confidence lifecycle where facts strengthen with confirmation, weaken with time, and correct on contradiction
- Inference engine with forward/backward chaining that derives new facts from rules
- Built-in MCP server that works with Claude Code, Cursor, and Windsurf out of the box
- HTTP REST API with 25+ endpoints on port 3030
- Built-in web UI for graph exploration, search, and natural language queries
- Peer-to-peer mesh sync between instances with ed25519 authentication
- CORS enabled for any frontend integration
Technical Details
The entire system runs as an 8.3 MB binary with zero external dependencies. All data lives in a single .brain file that can be copied to back up or moved to migrate. No cloud, Docker, Python, or external database is required.
MCP Integration
MCP configuration is simple:
{
"mcpServers": {
"engram": {
"command": "engram",
"args": ["mcp", "/path/to/knowledge.brain"]
}
}
}The MCP server exposes these tools: engram_store, engram_relate, engram_query, engram_search, engram_prove, and engram_explain.
Quick Start Commands
engram create my.brain
engram store "PostgreSQL" my.brain
engram serve my.brainAfter running engram serve, the web UI is available at http://localhost:3030.
Availability
Engram is free for personal, research, and education use, with a commercial license available. The source and releases are on GitHub.
📖 Read the full source: r/LocalLLaMA
👀 See Also

Engram: Open-source memory layer for Claude Code and MCP clients
Engram is an open-source memory layer that works as an MCP server with any client like Claude Code, Cursor, or Windsurf. It stores unlimited memories with semantic vector search, achieves 80% accuracy on LOCOMO benchmark, and uses about 800 tokens per query versus 5K+ for file-based approaches.

Graphthulhu MCP Server Gives AI Agents Knowledge Graph Memory for Logseq/Obsidian
Graphthulhu is an open-source MCP server that provides AI agents with read-write access to Logseq or Obsidian vaults, storing memory as structured pages with properties and links instead of vector embeddings. After one month, the system generated 404 pages with 1,451 cross-references.

Audacity MCP Server Gives Claude AI Full Audio Editing Control
A developer built an MCP server that connects Claude AI to Audacity via mod-script-pipe, providing 99 tools for natural language audio editing commands. The open-source tool works with Claude Desktop, Claude Code, or Cursor.

Tocket CLI: A Context Engineering Framework for AI Coding Agents
Tocket is a CLI tool that creates a .context/ folder with markdown files for AI agents to maintain project memory across sessions. It auto-detects tech stacks from package.json and generates a pre-configured .cursorrules file.