dsh-memgas
Run the following command in DeepSeek Harness:
dsh plugin install quqxui/dsh-memgas
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install quqxui/dsh-memgas in your DeepSeek Harness terminal to install; the full source is at https://github.com/quqxui/dsh-memgas. Restart dsh afterwards and the plugin is ready with zero configuration.
About this plugin
Most agent frameworks discard all context the moment a session ends, so every new conversation in the same project starts from zero. dsh-memgas solves this by letting the agent carry project-level conventions, architectural decisions, and hard-won lessons across sessions, with a background pipeline that continuously organises, merges, and fades memories over time.
Retrieval runs four parallel channels—lexical full-text (FTS5 for exact identifiers and error codes), dense vector similarity, multi-granularity entropy routing (deciding whether to surface a whole session or a single turn), and graph expansion via Personalized PageRank for multi-hop cross-session links—then fuses them with Reciprocal Rank Fusion. A baseline floor and automatic degradation guarantee that the worst-case quality never drops below standard retrieval. Memories keep evolving after insertion: association, reconciliation, reinforcement, decay, abstraction, and re-association processes run in the background so duplicates merge, conflicts are annotated, stale entries archive, and clusters of related facts distil into higher-level conventions.
Built for developers running long-horizon multi-session projects in dsh who want the agent to retain project context without manual prompting. Zero configuration, purely local SQLite storage scoped by git remote, no external API key required, no model download, no third-party data egress. An experimental local ONNX vector model can be enabled for semantic generalisation, and the same memory library is exposed via memgas-mcp for Claude Code, Codex, and other MCP hosts.
Use Cases
- Agent recalls architectural decisions and hard-won lessons across separate sessions without re-explaining context
- Four-channel retrieval fusion hits exact identifiers and error codes while supporting paraphrased semantic queries
- Six background processes continuously evolve memories—merging duplicates, annotating conflicts, archiving stale entries
Best For
- Developers running long-horizon multi-session projects in dsh who need persistent project-level context
- Privacy-sensitive users who want purely local memory storage with zero third-party data egress
- Teams using Claude Code or Codex via MCP that want a shared project memory library across tools
Related Plugins
Memory layer for coding agents that indexes local session history and auto-recalls relevant context before edits, commands, and failures, with no manual search needed.
Traceable, searchable cross-session memory for AI agents that turns conversation knowledge into a typed knowledge graph and recalls relevant subgraphs instead of replaying full history, natively integrated with DeepSeek Harness.
Gives DSH AI cross-session long-term memory, to-do and skill management, plus multi-session orchestration, external AI delegation, and an infinite canvas that grows with you.
dsh-mnemon is a three-tier, pluggable, Agent-driven memory system for DeepSeek Harness, combining Runtime memory, Project Documents, and replaceable Memory Spaces with nine long-term providers.