dsh-hybrid-memory
Run the following command in DeepSeek Harness:
dsh plugin install Frog755/dsh-hybrid-memory
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install Frog755/dsh-hybrid-memory in your terminal, then restart DSH once after the first install (source: https://github.com/Frog755/dsh-hybrid-memory).
About this plugin
Hooking long-term memory into DeepSeek Harness has always been a trade-off: Hermes-style snapshot files are token-frugal but unsearchable and unaudited, while Noema gives you full-text search and explainability at the cost of an external Rust service and prompt-mutating recalls that break the KV-cache prefix. dsh-hybrid-memory stitches both approaches into a single local pipeline so you can keep your prefix cache intact while still querying a rich, searchable fact store on demand.
The plugin works in three layers. L1 freezes MEMORY.md and USER.md into the system prompt at session start; any mid-conversation writes hit disk without touching already-assembled content, so the KV-cache prefix stays valid and the character budget (4000 for agent, 2000 for user) is model-agnostic. L2 builds a node:sqlite FTS5 index with a 2-character sliding-window pre-tokenizer for accurate Chinese search, and exposes memory_search, memory_browse, and memory_recall tools plus an optional review queue for accepting, editing, or rejecting candidate facts. L3 imports existing memories from Hermes, Claude Code, Codex, or WorkBuddy with a content-hash ledger that deduplicates automatically. All data stays in a local directory you choose, with no telemetry and no network calls.
It is well suited for developers running long, multi-session conversations in DSH who need persistent user-preference and project-fact recall, particularly in Chinese-language workflows where search accuracy matters, and for anyone migrating a memory library from another tool into a single, cache-friendly store.
Screenshots
Use Cases
- Auto-recall user preferences and project context in long conversations without manual prompts
- Accurate Chinese full-text search over historical facts with tag browsing and hybrid recall
- One-command import of memories from Hermes, Claude Code, or Codex with hash-based deduplication
Best For
- Developers running long conversations in DeepSeek Harness who need cross-session recall
- Chinese-language users seeking accurate memory search with minimal token overhead
- Developers migrating memory from other AI tools into a single local store
Related Plugins
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.
An opinionated, zero-infrastructure file-based memory protocol: human-readable markdown files plus a bounded always-loaded index, curation discipline, and no database or embeddings.