Engraphis

Your coding agent forgets decisions between sessions. Engraphis gives MCP-capable coding agents one local memory store with receipts.
Engraphis stores scoped project knowledge in SQLite, keeps temporal history instead of silently overwriting it, and returns bounded context with citations, or abstains when the evidence is weak. The local core is Apache-2.0 and works offline.
Watch the demo · Open the interactive demo · See how it compares
Star the repo so other coding-agent users can find it.
The Graph & Relations view at 127.0.0.1:8700. The full local dashboard is in the details below.
Install and connect an agent in three commands
The MCP server and [all] extras need Python 3.10 or newer. The NumPy-only core still supports Python 3.9+.
python -m pip install "engraphis[mcp]"
engraphis-init
claude mcp add engraphis -- engraphis-mcp
engraphis-init writes a local config, generates an API token, and prints ready-to-paste setup for Claude Code, Codex, Cursor, Cline, Zed, and Windsurf. Use the exact command it prints for your machine, including the database path. Restart your agent, then ask it to remember a project decision and recall it in a new session.
If your client times out while the local embedding model loads, run engraphis-init --prefetch once.
For Cursor, Cline, Zed, or Windsurf, paste the JSON block printed by engraphis-init into the client's MCP configuration. Read the agent setup guide for the full setup.
Prefer the full local dashboard or the graph view?
python -m pip install "engraphis[all]"
engraphis-dashboard
The dashboard opens at http://127.0.0.1:8700. The [all] extra adds the embedding model, document import, and transcription dependencies. Most coding-agent users only need [mcp]. Local use needs no cloud account or API key.
Explore memories and their relationships in the local dashboard.
Use the Python service directly
from engraphis.service import MemoryService
memory = MemoryService.create("engraphis.db")
memory.remember("Auth migrated from JWT to PASETO.", workspace="acme", repo="api")
hit = memory.recall("Why did we change auth?", workspace="acme", repo="api")
print(hit["context"])
What it provides
- Continuity: Organize memories by workspace, repository, and session, with a last-session handoff.
- Useful recall: Combine vector, lexical, graph, and code-aware retrieval, then pack results to a hard context budget.
- Grounded answers: Preserve provenance and temporal history; cite support or abstain when it is insufficient.
- Temporal history: Timeline can select known versions whose validity has ended before result limits. The dashboard uses
closed_only=true on GET /api/timeline for “Only superseded versions.” Closed history prioritizes lexical matches (the literal query and up to 32 expanded terms, using the final ranker's Unicode lowercasing) before scoring at most 500 eligible candidates; semantic-only matches outside that window can be omitted. SQLite may scan and sort more rows than this candidate cap.
- Spec Studio: Inspect prompt specifications and scoped memory clusters with deterministic coverage, ambiguity, and conflict checks; review suggestions before changing memory.