adoresever/graph-memory
Turn summaries become an SPO graph the agent navigates; recent turns stay verbatim, older history is recallable with its source intact.
Graph Memory owns the model-visible history surface without deleting DSH's event log. By default it keeps the newest five completed user turns, strips completed reasoning and tool traces from future requests, and recalls relevant older or cross-session source question/answer pairs automatically. In the 1.6 navigation upgrade one completed turn is summarised into a single self-contained sentence, and the subject-predicate-object graph is derived from that same sentence — so graph nodes navigate and the original question plus final answer remain the evidence, rather than node text becoming the payload. Candidate selection is a local LPA pass narrowed by query-time personalised PageRank, and only matched Q/A is recovered, so community expansion cannot drag in a whole neighbourhood. Writing one completed turn costs exactly one auxiliary LLM call; community detection and PPR are local. The author is explicit that there are no hard-coded node or edge counts and no JSON-repair path that turns invalid model output into accepted data.
Install
dsh plugin --profile web add github:adoresever/graph-memory#v1.6.0-beta.17The README shows this line with an npx @deepseek-ai/dsh prefix, then asks you to confirm graph-memory/dsh is active under Settings → Plugins. It is pinned to the v1.6.0-beta.17 GitHub release on purpose: the author states the npm registry still serves 1.5.8 and should not be used to validate DSH until npm view graph-memory version reports 1.6.0-beta.17 or newer. Default database path is $DSH_HOME/graph-memory/graph-memory.db.
Compatibility
Node.js 22.13+, no DSH fork required. 1.6.0-beta.17 is the release that fixes producer attribution on DSH 0.1.7+ / Session V4 (#113) and extraction on models that cannot use off (#117), and adds configurable SQLite lock waiting — so it is the first build in this line that is safe on 0.1.7 and later.
Details
- Repo: adoresever/graph-memory
- Category: Memory
- Stars: 663
- Version: 1.6.0-beta.17 (pinned GitHub release; npm still serves 1.5.8 per the README)
Alternatives
Shtukbase/elephant-memory · KLRSL/dsh-biomemory · nuochan/dsh-core-memory