dsh-memory-evolve: A Cross-Session Long-Term Memory Plugin for DeepSeek Harness
brianwang2007xjtu/dsh-memory-evolve
Provides DeepSeek Harness with cross-session long-term memory, supporting add/update/recall/forget, decay-reinforcement, and automatic merging to keep context intact across conversations.
dsh-memory-evolve is a long-term memory plugin designed for DeepSeek Harness, freeing AI context from single sessions so memories remain intact across conversation switches. Persisted locally via a JSON backend, memories decay, merge, and prune over time, forming an evolving knowledge base. It offers four tools for adding, recalling, evolving, and forgetting memories, with workspace-based isolation, ideal for developers who need cross-session context. With it, DeepSeek Harness truly remembers you.
How to Install
dsh plugin --profile web add github:brianwang2007xjtu/dsh-memory-evolve- Category
- Memory & Context
- Platform
- DSH Plugin
- Author
- brianwang2007xjtu
- Distribution
- Plugin
dsh-memory-evolve Key Features
dsh-memory-evolve Repo Summary
What Does It Do?
dsh-memory-evolve is a DSH plugin for DeepSeek Harness that provides cross-session long-term memory, keeping context intact even when you switch conversations. It solves the problem of AI losing memory between sessions by persisting memories in a storage-domain form (JSON backend) under the local storage directory. The plugin manages to-dos and skills, orchestrates multiple AI sessions and external agents, and learns from you over time. Core capabilities include adding, recalling, evolving, and forgetting memories, with namespacing by workspace.
Core Features
- memory_remember: adds or updates a memory, merging near-duplicate content into existing entries.
- memory_recall: retrieves memories by query or tags, ranked by relevance, importance, and recency; reading reinforces the memory.
- memory_evolve: forces a consolidation pass that decays importance by age, merges near-duplicates, and prunes below the retention threshold.
- memory_forget: deletes a single memory by ID or clears the entire workspace.
- Configurable: supports namespace, max memories, decay half-life, prune threshold, merge threshold, and recall limit.
How to Use This Plugin?
After enabling the plugin in DSH, call the memory_remember tool to record important information, and later invoke memory_recall in any session to retrieve relevant memories. Memories are namespaced by the session's workspace (cwd), falling back to the configured namespace for sessions without a workspace. To adjust behavior, modify parameters like maxMemories, decayHalfLifeDays, pruneBelow, and mergeThreshold in the plugin configuration.
This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: brianwang2007xjtu/dsh-memory-evolve. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.
DSH Plugin FAQ
