quqxui/dsh-memgas

dsh-memgas is long-term memory for DeepSeek Harness: it distils each turn into facts, summaries and keywords in the background and retrieves them through four parallel channels (SQLite FTS5 lexical, dense vectors, a granularity entropy router and a Personalized PageRank graph) fused by reciprocal rank, all stored in a per-project local SQLite file.

dsh-memgas is long-term memory for DeepSeek Harness. After each turn it distils what is worth keeping into facts, summaries and keywords in the background, and a fresh session then has the relevant entries in context before the model request goes out. Retrieval runs four channels in parallel and fuses them by reciprocal rank: SQLite FTS5 lexical (identifiers kept intact), dense vector similarity, a granularity channel that retrieves sessions/turns/summaries/keywords separately weighted by an entropy router, and a graph channel using Personalized PageRank. At least half the final slots are reserved for the baseline lexical and dense channels, and automatic degradation drops a channel that throws or overruns its budget. Six background processes keep memory in order (associate, reconcile, reinforce, decay, abstract, re-associate), a /memory command family exposes status/search/diag/list/forget/restore/pin/review/export/purge, and the model gets memory_search, memory_save and memory_status tools.

Memory ★ 26
View on GitHub ↗

Install

dsh plugin --profile web add dsh-memgas

Copied verbatim from the README's install block (comments included); the README documents the equivalent GitHub form dsh plugin --profile web add github:quqxui/dsh-memgas.

Compatibility

Zero configuration by default: no API key, no model download, no extra process, only Node built-ins. Storage is a local SQLite file per project scope under $DSH_HOME/memgas/, and summarization reuses the model already configured in dsh. The README flags honest limits: the optional local embedding model is off by default and has not been verified against real weights, memgas-mcp has only had its JSON-RPC layer verified, and in one-shot headless mode distillation lags by one session. English README with a Simplified Chinese translation.

Details

Alternatives

863683348/dsh-plugin-focus · akslcw/dsh-negative-ledger · aLIZELI/belief-merge

More plugins in Memory

Browse more in Memory

Guides for Memory plugins