dsh-plugin-xt-memory
Run the following command in DeepSeek Harness:
dsh plugin install chucan1/dsh-plugin-xt-memory
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install chucan1/dsh-plugin-xt-memory in your DeepSeek Harness terminal to install this plugin; the project repository is available at https://github.com/chucan1/dsh-plugin-xt-memory .
About this plugin
DeepSeek Harness does not ship with cross-session memory by default, so every conversation begins from a blank slate. dsh-plugin-xt-memory is built for teams who have already accumulated project knowledge with XT-AGENT, or developers who want their assistant to automatically distill and reuse context across sessions. It ports the full core logic of XT-AGENT packages/memory into dsh's section-provider-plus-tool shape, meaning existing XT memory files work out of the box with zero migration.
On the injection side, a BM25 relevance score (with CJK 2-gram support), type weighting, and time decay select the top-K memories within a character budget and splice them into the system prompt, complete with an untrusted disclaimer line to keep injected content from being mistaken for instructions. The tool surface exposes memory_read, memory_search, and memory_write, with automatic sanitization and semantic de-duplication on every write. A background extraction pipeline intercepts each turn's primary messages, applies heuristic pre-filtering and a 60-second debounce, then calls a dedicated extraction model to persist key points, followed by semantic merge (write / merge / skip), all without interrupting the user.
Every memory carries hitCount and lastUsedAt telemetry; entries untouched for 30 days are auto-archived to an archive/ folder while the original text is preserved. Storage uses Markdown with frontmatter, fully compatible with the XT format, and environment variables such as XT_MEMORY_BUDGET_CHARS and XT_MEMORY_INJECT_TOP_K continue to work with dsh config taking precedence. This plugin fits developers who have already built a memory corpus in the XT-AGENT ecosystem, as well as teams looking to bootstrap cross-session self-learning for dsh from scratch.
Use Cases
- Auto-extract project key points across conversations
- Quickly retrieve historical memories when switching project contexts
- Seamlessly plug an existing XT-AGENT memory corpus into dsh
Best For
- Developers who have built a memory corpus in the XT-AGENT ecosystem
- Teams bootstrapping cross-session self-learning for dsh
- Developers working extensively with Chinese-language context
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.