dsh-memory-graph
Run the following command in DeepSeek Harness:
dsh plugin install zmh2000829/dsh-memory-graph
Paste the following prompt into your AI chat to install this plugin:
Clone the repository from https://github.com/zmh2000829/dsh-memory-graph, validate the checkout, then run dsh plugin install zmh2000829/dsh-memory-graph to link it into your DSH profile and restart DeepSeek Harness.
About this plugin
A DeepSeek Harness agent loses context the moment a session ends: user preferences, hard-won facts, constraints, and lessons learned simply vanish. dsh-memory-graph fills that gap with a local-first, durable memory layer backed by SQLite and a temporal knowledge graph. Stable facts are superseded rather than overwritten, every record carries full provenance, and any entry can be reverted to its previous version with a single call. Retrieval blends lexical match, graph proximity, importance, time decay, and explicit access reinforcement into one bounded ranker, and a dedicated FTS5 trigram index plus short-query fallback handles continuous CJK text without whitespace tokenization. An optional OpenAI-compatible embedding endpoint can layer cosine similarity on top, while the system degrades gracefully back to lexical and graph recall when no key or endpoint is available. The plugin plugs into DSH purely through lifecycle extension points—no source patch, no agent-loop fork—and unloading it strips every tool, listener, route, and UI contribution in one step. On the web side, an interactive graph view supports search, drag, zoom, entity merge/rename/delete, orphan discovery, and per-turn Memory On / Off / Mixed latches so you can dial automatic recall, summarization, and archiving on or off for the very next turn without touching global defaults. It is a natural fit for developers and teams running long-lived multi-session agents, those who keep all data on their own host, and anyone whose conversations are predominantly in Chinese.
Use Cases
- Retaining preferences, facts, and constraints across long multi-session conversations
- Auditing a memory knowledge graph with entity merge, orphan detection, and relation fixes
- Retrieving CJK-heavy historical context accurately without relying on whitespace tokenization
Best For
- Developers running long-lived agents with strict data-locality and zero-cloud policies
- AI product teams that need auditable, revertible memory trails for every turn
- AI application builders whose primary user base interacts predominantly in Chinese
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.