dsh-rugu: A DSH plugin that gives an agent one continuous life of memory
qiuyedx/dsh-rugu
Rugu (dsh-rugu) is a DeepSeek Harness memory plugin that gives the agent one continuous personal memory across QQ and DSH desktop, recalling before replying and judging what may be said.
dsh-rugu is a memory plugin for DeepSeek Harness that records not user preferences but what the agent herself lived through: where, from whom, and in front of whom she learned something. Events from QQ groups, QQ private chats, and the DSH desktop flow into one memory; before replying she recalls candidates by meaning, literal text, people and events, time, and who was present, then judges whether it can be said here. Original utterances are kept, nightly background work corrects errors against them and rewrites impressions of people, and a management page lets you view, edit, delete, and back up.
How to Install
dsh plugin --profile <your-profile> add dsh-ruguReplace --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
- qiuyedx
- Distribution
- Plugin
dsh-rugu Key Features
dsh-rugu Repo Summary
What Does It Do?
Rugu is a DSH plugin for DeepSeek Harness that gives an agent its own independent memory and a single continuous life, so it behaves like a real person rather than a preference store. Instead of recording only what the user likes or said, it records what she herself experienced: where, from whom, who was present, and what she thought. Events from QQ groups, QQ private chats, and the DSH desktop all flow into one memory, and before replying she recalls part of it like a person would, then decides whether this is something she can say here. It is currently a public beta, maintained by QiuYeDx under the MIT license.
Core Features
- One memory across every entry point: what she hears in QQ is recalled on the DSH desktop and vice versa, keeping track of where, from whom, and in front of whom she learned it.
- Original utterances stay intact: extracted facts, experiences, and impressions of people are layered on top of the raw words and can always be checked against them.
- Nightly consolidation: every day in the background she corrects errors against the originals, turns experiences into understanding, and rewrites her impressions of people.
- Five-way recall: meaning (vectors), literal text, people and events, time, and who was present each contribute candidates before every reply.
- Discretion: whether to mention something and in how much detail is judged per item by who said it, who already knows, how sensitive it is, and the norms of the original setting, not by a blanket rule.
- Management page and comparison evaluation: view, edit, delete, or retract memories in DSH settings, toggle per setting, back up and restore, and compare runs with and without memory.
How to Use This Plugin?
After enabling it in DSH, open Settings → Memory and complete the first-run wizard; until the wizard finishes, the plugin opens no database and records nothing. The wizard explains that once QQ is connected, messages in her groups and private chats are recorded (all groups allowed by the bridge are selected by default and can be deselected), that raw text is kept for two years by default, and that the QQ alt-account route relies on a third-party bridge with a ban risk. Next choose how she recalls: no embeddings, local Ollama (4B or 0.6B recommended by your hardware, vectors computed locally at no cost), or an external OpenAI-compatible embedding service (memory text is sent to that service). Optionally connect the dsh-qq bridge, apply the whitelist patch from the settings page with one click, and fully restart DSH. Finally, pick the persona chat preset when creating a task; other presets are unaffected and it should not be set as the default. Data stays on your machine and uninstalling the plugin does not delete it.
How to Troubleshoot This Plugin?
As a public beta, the README lists several paths that have not yet been tested: the desktop add-plugin button and plugin list display, running the latest dsh-qq online, a real external embedding service, and real chatting and memory consolidation after a fresh install. For problems in these areas, report them as an issue following the official instructions. If the management page warns that the data directory's disk has less than 5 GB free, free up space before continuing.
This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: qiuyedx/dsh-rugu. 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
