DSH-Mem0

Mem0-backed long-term memory for DeepSeek Harness with managed Platform, self-hosted server and local OSS backends; visual settings, automatic recall (from the first turn) and capture, editable memory summary, token budgets and weekly memory hygiene that only deletes memories this plugin wrote. Captured text is redacted; the memory summary is a stable system-prompt section (plugin:dsh-mem0:profile) and recall a separate mem0:recall block appended last, so the cached prompt prefix stays stable; recall and capture have timeouts (recallTimeoutMs, addTimeoutMs). With dsh-strata installed, recall size follows its strataBudget allowance, and the optional captureStrataFolds setting (off by default) also saves its fold summaries as memories.

Overview

Mem0-backed long-term memory for DeepSeek Harness with managed Platform, self-hosted server and local OSS backends; visual settings, automatic recall (from the first turn) and capture, editable memory summary, token budgets and weekly memory hygiene that only deletes memories this plugin wrote. Captured text is redacted; the memory summary is a stable system-prompt section (plugin:dsh-mem0:profile) and recall a separate mem0:recall block appended last, so the cached prompt prefix stays stable; recall and capture have timeouts (recallTimeoutMs, addTimeoutMs). With dsh-strata installed, recall size follows its strataBudget allowance, and the optional captureStrataFolds setting (off by default) also saves its fold summaries as memories.

Installation

Install from GitHub

dsh plugin --profile web add github:light-cheng/DSH-Mem0

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.

Installation notes

  • May run terminal commands