DeepSeek Harness memory and knowledge hub that routes update, retrieve, and subscribe calls across compatible plugins, with an optional transactional Rust backend.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-patchouli
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:memorax-ai/dsh-patchouli
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time. Only install sources you trust, and pin a commit (github:owner/repo#sha).
README
English · 简体中文
Overview
Patchouli exposes one update / retrieve / subscribe service inside
DeepSeek Harness. Connectors
provide trusted runtime data, memory and knowledge plugins own their algorithms,
and an independent Rust backend provides durable transactional storage.
DeepSeek Harness is the first supported integration. The database backend remains harness-neutral.
Features
- Common Memory Service with provider filters, user routing policies, and provenance.
- Consumer-side aggregation that keeps native plugin results intact.
- Agent Loop connector with configurable hooks and model tools.
- Pluggable local or remote memory and knowledge implementations.
- Managed image and workspace-file ingestion as typed Artifacts.
- Durable subscriptions and a transactional Rust backend with SQLite and remote providers.
Plugin compatibility
Official means the upstream plugin registers the patchouli service directly.
Patch means GOOJFC adapts one exact plugin version through
dsh-harmony. The table distinguishes
upstream integrations from version-pinned patches.
| Plugin | Tested package | Compatibility | Patchouli DB |
|---|---|---|---|
| MemoraX Code | @memorax-code/dsh-adapter@0.1.2 (source) |
Official | No — plugin-managed |
| OpenViking | @openviking/dsh-memory-plugin@0.1.0 |
Patch | No — plugin-managed |
| Hindsight | @vectorize-io/hindsight-coding-agents@0.3.4 |
Patch | No — plugin-managed |
| MemOS | @memtensor/memos-local-plugin@2.0.16-beta.1 |
Patch | No — plugin-managed |
| Mneme | @modusensus/dsh-mneme@0.3.7 |
Patch | No — plugin-managed |
| Mnemon | dsh-mnemon@0.1.6 |
Patch | No — plugin-managed |
| Memory Gate | dsh-memory-gate@0.9.0 |
Patch | No — plugin-managed |
| Lingshu Memory | @furongjun1999/dsh-memory@0.2.8 |
Patch | No — plugin-managed |
| Graph Memory | graph-memory@1.5.8 |
Patch | No — plugin-managed |
| Engramory | dsh-engramory@0.2.0 |
Patch | No — plugin-managed |
| Memory Evolve | dsh-memory-evolve@0.1.0 |
Patch | No — plugin-managed |
Building a DSH plugin or exploring compatibility with an existing one? Try dsh-harmony to inspect and adapt plugin behavior without maintaining an upstream fork.
Install and use
Requires Node.js ^22.19.0 || >=24, pnpm 11, and a DeepSeek Harness runtime
compatible with 0.1.0-rc.6. Install the database daemon first:
curl -fsSL https://raw.githubusercontent.com/memorax-ai/dsh-patchouli/main/scripts/install.sh | sh
dsh plugin --profile web add dsh-patchouli
dsh --profile web --dump-config
The installer downloads a checksum-verified daemon binary from the latest
GitHub release. The bundled DSH profile enables its storage client by default;
it connects to the local daemon and starts it when needed. The last command
should list patchouli, patchouli-storage, and the connector plugins.
Register at least one compatible memory or knowledge plugin to handle routed
update, retrieve, and subscribe calls.
See the Getting started guide for configuration and platform-specific details.
What does the plugin's name mean???
The name refers directly to Patchouli Knowledge, and also pays tribute to the widely known Minecraft mod Patchouli.
Links
More in this category
volcengine/OpenViking#examples/dsh-memory-plugin★ 28995
OpenViking memory and context bundle for DeepSeek Harness: pre-step auto-recall and profile injection, session capture, `viking://` URI guarding, and recall/write memory tools backed by an OpenViking server.
vectorize-io/hindsight#coding-agents★ 20139
Hindsight, agent memory that learns: long-term project memory with auto recall and retain, knowledge pages, deep reflection, and per-repo memory banks.
Ikalus1988/MisakaNet★ 405
Failure-recovery memory: search and record failure-recovery lessons from real engineering sessions, with BM25 + semantic RAG retrieval and a lessons knowledge base.
text2future/flowix#dsh-flowix-memory★ 316
Registers the local flowix-cli MCP server so the agent can search, read, create, and edit Flowix memos and mind-map artifacts.
dsh-engramory★ 155
The Engramory curated-memory discipline as an installable plugin ([npm: dsh-engramory](https://www.npmjs.com/package/dsh-engramory)): a deterministic 200-line / 25 KB cap on the `MEMORY.md` index via `ctx.tools.guard()` — growth denied, a shrinking rewrite always passes — plus the protocol registered as a runtime skill. The store is plain markdown, one file per fact, shared with Claude Code, Codex, Kiro, and OpenClaw.
omdsh-dev/dsh-mnemon★ 92
Cross-agent, local-first persistent memory plugin for DeepSeek Harness (DSH), powered by Mnemon. It shares long-term memory across Mnemon-enabled agents and adds runtime memory, searchable project documents, semantic recall, knowledge graph, and a Sidebar UI.