fix(plugins): use shared handoff resources and native patch versions

This commit is contained in:
kartik-mem0
2026-09-10 19:20:14 +05:30
parent 19a71bbacf
commit 2ac8f2f9a9
83 changed files with 2515 additions and 2916 deletions
+6 -4
View File
@@ -1,11 +1,13 @@
---
title: DeepSeek Harness
description: "Add persistent memory to DeepSeek Harness with automatic recall, automatic capture, native Mem0 tools, and Claude-to-Codex handoff."
description: "Add persistent memory to DeepSeek Harness with automatic recall, automatic capture, native Mem0 tools, and shared session handoff."
---
Add persistent memory to the [**DeepSeek Harness**](https://github.com/deepseek-ai/deepseek-harness) with `@mem0/deepseek-plugin`. The plugin recalls relevant context before a model request, captures completed turns, and provides explicit Mem0 tools when the agent needs them.
<Info>Current package version: `0.3.2`.</Info>
<Info>Current package version: `0.3.1`.</Info>
For explicit session handoff, use `mem0_handoff` with action `save`, `list`, or `resume` and a resource path. All plugins share local resources in `~/.mem0/handoffs/`. Requires Python 3.11+; first use downloads and verifies the shared engine, then cached use works offline.
## Overview
@@ -17,7 +19,7 @@ The plugin provides automatic memory, two memory tools, and an explicit handoff
| Automatic capture | Stores the human and assistant messages from each completed turn |
| `search_memory` | Recall facts from Mem0 relevant to a query |
| `add_memory` | Store a fact in Mem0 for future sessions |
| `mem0_handoff` | Continue the current DeepSeek session in Codex |
| `mem0_handoff` | Save, list, or resume shared session context |
Unlike file-based memory plugins, Mem0 is a managed backend: server-side extraction, semantic dedup, and conflict resolution, with memories reusable by integrations that use compatible user identities and search filters.
@@ -69,7 +71,7 @@ source ~/.bashrc
2. Install it into a disposable Harness profile so Harness supplies its peer dependencies:
```sh
DSH_HOME=/tmp/mem0-dsh-dev pnpm dlx @deepseek-ai/dsh@0.1.1-rc.2 \
plugin --profile headless add /tmp/mem0-deepseek-plugin/mem0-deepseek-plugin-0.3.2.tgz
plugin --profile headless add /tmp/mem0-deepseek-plugin/mem0-deepseek-plugin-0.3.1.tgz
```
3. Copy `cordis.example.yml`, set its installed package path and your `userId`, then load it with the same profile: