DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to let the agent file durable facts when a session ends with DSH Auto Memory

Turn on auto-summarize so a background model saves new durable facts after each session.

Short answer: Open the profile's cordis.patch.yml file; then 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. All steps.

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

  1. Open the profile's cordis.patch.yml file.
  2. Add an auto-memory entry with config that sets autoSummarize: true and autoSummarizeMaxMemories: 5.
  3. Keep maxBytes and the other values you need, because the config replaces wholesale.
  4. Run dsh --profile demo to 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer