dsh-memory-amem
Run the following command in DeepSeek Harness:
dsh plugin install Zhang-Zhengyuan/dsh-memory-amem
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install Zhang-Zhengyuan/dsh-memory-amem in your DeepSeek Harness terminal to install this plugin (source: https://github.com/Zhang-Zhengyuan/dsh-memory-amem).
About this plugin
DeepSeek Harness ships multiple chat agents but no native long-term memory: every new session starts from zero and the model has no way to recall prior conversations. dsh-memory-amem brings the A-MEM (NeurIPS 2025) paradigm into DSH, capturing every user message as a structured note and using an LLM-driven evolution step to link new memories to existing ones, so cross-session knowledge no longer disappears.
The plugin runs a six-stage pipeline behind the scenes: a deterministic admission gate filters out noise and sensitive content, an LLM extracts keywords and context tags, BM25 blended with TF-IDF retrieves the most relevant neighbor notes, and a final LLM decision strengthens, updates, or skips the evolution. On every turn the most relevant historical notes are dynamically injected into the system prompt, letting the model perceive prior context without an explicit tool call. Four tools are also exposed for on-demand use: memory_search, memory_add, memory_recent, and memory_stats, so the model can query or extend the knowledge base whenever it needs to.
This plugin is best suited for users who need persistent cross-session dialogue, multi-turn long-horizon reasoning, or agents within DSH that must build a continuously growing knowledge base. On the LoCoMo long-conversation benchmark, even paired with a small DeepSeek model, recall quality exceeds closed-source large-model baselines that have no memory at all, delivering near-long-context retrieval at a fraction of the inference cost.
Use Cases
- Recall prior facts and preferences across sessions so users never need to repeat context
- Maintain intermediate conclusions and entity relations across long multi-turn reasoning chains
- Build a continuously growing domain knowledge base for DSH agents in complex workflows
Best For
- Engineers building multi-agent applications on DeepSeek Harness
- AI product teams that need persistent conversational memory or enterprise-grade recall
- Researchers working on A-MEM, neuro-symbolic memory, or agentic knowledge systems
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.