dsh-agent-memory
Run the following command in DeepSeek Harness:
dsh plugin install BPTumbleweed/dsh-agent-memory
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install BPTumbleweed/dsh-agent-memory in your terminal to install the plugin; the full source code is available at https://github.com/BPTumbleweed/dsh-agent-memory.
About this plugin
Every DeepSeek Harness conversation is stateless by design—the agent remembers nothing between turns, and users find themselves re-explaining context over and over. dsh-agent-memory closes that gap with zero runtime dependencies: it hooks into session/event to capture user messages in real time, stores them under the local memory directory, and then injects per-session memory before the latest user message via agent/pre-step, giving the agent a 2 KB window of prior context without any manual copy-paste.
Beyond injection, the plugin surfaces a live Memory tab inside the Web UI that shows capture status, session index sizes, and preference digests at a glance. Ten read-only data endpoints let external tools query the evidence store without arbitrary-path exposure. On the safety side, every write passes through a redaction layer that strips bearer tokens, cookies, JWTs, private keys, and other secret patterns; all routes enforce the browser-trust fence (fail-closed when unavailable), and a circuit breaker isolates any single capability failure so the DSH main loop is never affected.
It is best suited for DSH users running multi-turn, context-heavy workloads—code review, architecture design, long-form writing—where losing prior context each turn is genuinely costly. The plugin stays out of the global-injection path managed by the official agent-instructions, writes only under its own store root, and survives DSH upgrades with a simple re-install, requiring zero changes to DSH configuration.
Use Cases
- Maintaining context continuity across multi-turn conversations without manual re-explanation
- Reviewing capture status and session index in the Web UI Memory tab in real time
- Preserving discussion history for long-form writing or code review with automatic secret redaction
Best For
- DSH users running context-heavy multi-turn workloads like code review or design
- Agent developers who need per-session memory injection without touching global config
- Plugin users who prioritize zero runtime dependencies and one-command upgrade recovery
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.