Who it is forA developer whose sessions produce useful decisions and facts that they never write down manually.
The problemImportant facts from a session are lost unless the user remembers to ask the agent to store them.
The outcomeWhen a root session ends, a background LLM files up to the configured number of durable new facts as memories.
What you need first
- DeepSeek Harness (@deepseek-ai/dsh) version 0.1.5-rc.2 or newer, or the official desktop client (verified on 0.2.0-rc.2)
- Node.js ^22.19 or >=24
- A dsh profile to install the plugin into (the README uses the profile name demo)
Steps
- Open the profile's cordis.patch.yml file.
- Add an auto-memory entry with config that sets autoSummarize: true and autoSummarizeMaxMemories: 5.
- Keep maxBytes and the other values you need, because the config replaces wholesale.
- Run
dsh --profile demoto restart the profile, then finish a session and check the memory folder.
Prompt for your agent
Edit the cordis.patch.yml for the DeepSeek Harness profile demo so the dsh-auto-memory config sets autoSummarize to true and autoSummarizeMaxMemories to 5. Expected output: after a session ends, new memory files appear under the memory folder. Verify that the new files contain durable facts only and that MEMORY.md lists them.
Caveat. Auto-summarize uses a background LLM and is off by default, so review the filed memories because the README does not describe how it judges what is durable.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for AskTheWay/dsh-auto-memory and "Let the agent file durable facts when a session ends"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer