ChatGPTClaudeGrok / X / CursorGemini

dsh-agent-memory: Editable Durable Memory for DeepSeek Harness

kyle2241345145351324321/dsh-agent-memory

Memory & ContextVerified
Listed on 2026-11-13
Page last updated 2026-11-13

Durable memory for DeepSeek Harness agents: the agent writes global and per-project memories via a memory tool, all viewable and editable in Settings → Memory, stored locally as plain JSON.

dsh-agent-memory is a DSH plugin that gives the DeepSeek Harness agent long-term memory across conversations. It splits memories into two layers: global entries capture your language, tone, and long-term rules, while project entries record a workspace's conventions, architecture decisions, and past pitfalls so you never re-explain them. The agent saves what matters through the memory tool on its own, and you can add, edit, disable, or delete entries in Settings → Memory, both working on the same data. Everything is kept locally as two plain-text JSON files, with no database or cloud.

How to Install

install
npmdsh plugin --profile <your-profile> add @kylefu/dsh-agent-memory

Replace --profile with the profile name you actually run (see ls ~/.dsh/profiles/): usually web in the browser UI, desktop or desktop-NNN in the desktop app.

Category
Memory & Context
Platform
DSH Plugin
Author
kyle2241345145351324321
Distribution
Plugin

dsh-agent-memory Key Features

Global and per-project memoryAgent writes memories automaticallyEdit memories in Settings UILocal plain-text JSON storageDisable individual memories
Listed on dsh-plugin.org

dsh-agent-memory Repo Summary

What Does It Do?

Agent Memory is a DSH plugin for DeepSeek Harness that gives the agent durable memory: it stores what is worth remembering on its own, and you can view, edit, and delete it in Settings → Memory. It solves the problem of preferences and project knowledge being lost between conversations, with global memories about you and per-project memories about a workspace. Everything stays on the local machine as two plain-text JSON files, with no database, no cloud, and no telemetry.

Core Features

  • Global memories: store facts and preferences shared across all conversations, such as language, tone, long-term rules, and personal background.
  • Project memories: keep workspace-specific conventions, architecture decisions, useful commands, and past pitfalls in a file inside the project that can be version-controlled and edited directly.
  • Agent-written entries: when long-term preferences, corrections, or project knowledge appear in a conversation, the agent saves them through the memory tool with add, list, search, update, and remove actions.
  • Settings page management: add, edit, disable, or delete memories in the Settings → Memory tab, working on the same data the agent sees.
  • Disable without deleting: unchecked memories stay in the file but are no longer injected into the agent prompt, which is handy for temporarily turning one off.
  • Safe writes: atomic writes (temp file plus rename) prevent corrupted files, and if a file is edited into invalid JSON the plugin reports an error instead of overwriting it.

How to Use This Plugin?

After enabling it in DSH, open Settings → Memory, where a new Memory tab appears: the Global tab manages cross-project memories, and the Project tab lets you pick a project or paste a project path before viewing and editing its memories. In daily use, simply tell the agent things like "remember that I prefer replies in Traditional Chinese" or "remember this project's test command is pnpm test", and it calls the memory tool to save them; check the same settings page to confirm. Each entry can be unchecked, edited, deleted, or filtered with the search box, and changes apply on the next request without a restart. Global memories live in memory/global.json under the DSH home directory, while project memories live in .dsh/memory.json inside the project; add .dsh/ to .gitignore if you do not want them committed. The plugin is maintained by kyle2241345145351324321 under the MIT license and is written in plain JavaScript with no third-party dependencies.

How to Troubleshoot This Plugin?

If a memory file is edited into invalid JSON, the plugin reports an error instead of overwriting it, so fix the file contents back to valid JSON as described in the official instructions. If behavior does not change after installing or updating, note that host-side code changes only take effect after restarting dsh web, while the settings UI loads after a page refresh.

This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: kyle2241345145351324321/dsh-agent-memory. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.

Install, update, and uninstall this plugin in the Plugin Market of DeepSeek Harness's DSH Plugin Hub
ChatGPTClaudeGrok / X / CursorGemini

DSH Plugin FAQ