DeepSeek Harness Plugin¶
Persistent semantic memory for DeepSeek Harness (DSH). The native DSH plugin captures completed turns, helps the agent recall relevant work on demand, and keeps the same markdown memory available to every other MemSearch platform plugin.
Why MemSearch for DSH?¶
DSH can host long-running web, TUI, and headless agent sessions across multiple projects. MemSearch adds a durable memory layer that follows each project instead of disappearing with the current conversation:
- Automatic capture -- completed turns are summarized and appended to
.memsearch/memory/YYYY-MM-DD.md - On-demand recall -- a brief reminder lets the agent choose when to search past work
- Native skill integration -- DSH registers the
memory-recallskill for search, expansion, and transcript drill-down - Cross-agent continuity -- memories are shared with Claude Code, Codex, OpenClaw, and OpenCode when they use the same project
- Web memory dock -- the web profile provides a compact skill-candidate review panel and a read-only
.memsearchbrowser - Background maintenance -- optional tasks keep
PROJECT.md,USER.md, and reusable skill candidates current
Quick Start¶
# Install the MemSearch CLI and local ONNX embedding model support
uv tool install "memsearch[onnx]"
# Attach the plugin to a DSH profile
dsh plugin --profile web add @zilliz/memsearch-dsh
For default summaries with an API key saved on DSH's Models page, give
headless jobs access to saved keys. Add or update this top-level entry in
~/.dsh/profiles/headless/cordis.patch.yml, or ask memory-config to do it.
Replace web with the DSH profile you use. Restart it or start a new session,
complete a turn, and check today's file in .memsearch/memory/ for its summary.
To recall previous work, ask naturally or name the registered skill:
What Happens Automatically¶
| Event | MemSearch behavior |
|---|---|
| A turn completes | Summarizes the user, assistant, and tool activity into the project's daily markdown journal |
| A new turn begins | Adds a brief memory-recall reminder before the first model step when memory exists |
| The agent needs exact history | Uses memory-recall to search, expand a section, and inspect the original DSH transcript |
| A DSH session closes | Runs enabled maintenance tasks when their configured interval is due |
| You open the web dock | Lists skill candidates and previews supported .memsearch files without modifying them |
Memory Stays Portable¶
The markdown files are the source of truth; Milvus is a rebuildable search index. A project that moves between supported agents keeps the same memory history:
Claude Code ─┐
Codex ───────┤
DSH ─────────┼──> .memsearch/memory/*.md ──> Milvus hybrid search
OpenClaw ────┤
OpenCode ────┘
No export step or proprietary memory format is required.
Next Steps¶
- Installation -- profiles, verification, configuration, updating, and uninstalling
- How It Works -- capture, recall hints, summarization, maintenance, and the web dock
- Platform Comparison -- compare DSH with the other supported plugins
- Configuration -- embedding providers, Milvus, and shared MemSearch settings