dsh-memory-manager
Run the following command in DeepSeek Harness:
dsh plugin install xiaoshi7915/dsh-memory-manager
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install xiaoshi7915/dsh-memory-manager in your terminal; the source repository is at https://github.com/xiaoshi7915/dsh-memory-manager
About this plugin
AI Agents repeatedly lose context in long conversations and cannot reuse knowledge across sessions, while most memory solutions depend on cloud embedding services, making them impractical in offline or sensitive environments. dsh-memory-manager addresses this with a local-first, zero-cloud, zero-native-dependency memory stack: a per-session sliding window handles short-term context with automatic truncation and summarization; long-term recall fuses cosine-similarity vector search with keyword term-overlap scoring, and gracefully degrades to hash-vector plus keyword blending when no embedding model is configured, so it works out of the box. On top of that, a four-layer LLM distillation pipeline (L0 raw dialogue to L1 atomic memories to L2 scenes to L3 persona) is governed by TTL expiry, importance scoring, storage-cap LRU cleanup, and per-session gating, keeping memory both rich and bounded. Security and collaboration are first-class: AES-256-GCM encrypted persistence, session isolation with optional global sharing, versioned JSON/JSONL import-export, and a built-in web console covering browsing, semantic search, statistics, logs, and model downloads, all accessible via a DSH settings sidebar embed. It is well suited to developers building multi-turn dialogue agents in the DeepSeek Harness ecosystem, whether prototyping locally offline or turning conversations into a searchable, distillable, portable knowledge base for the whole team.
Use Cases
- Multi-turn agents that must preserve and recall context across sessions
- Offline or air-gapped environments where cloud embedding APIs are unavailable
- Turning accumulated conversations into a browsable, portable knowledge base
Best For
- Developers building dialogue agents within the DeepSeek Harness ecosystem
- Teams that need a memory layer running fully offline with no native dependencies
- Architects wanting a single stack covering sliding windows, vector recall, and layered personas
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.