Skip to main content
The HydraDB plugin for the DeepSeek Harness (dsh) retrieves relevant context before each turn, syncs workspace docs when files change, and saves conversations as memories. It is a native Cordis plugin that wires onto the harness interception seams.

Quickstart

1

Install

Requires the DeepSeek Harness (dsh) and Node.js 18+.The package ships as a dsh bundle, so dsh plugin add installs it from npm and wires it as a profile layer in one step:
dsh appends it to the profile’s bundles and inserts the plugin row, so you edit no config file by hand.
2

Configure

Set credentials in the environment, or pass them in the bundle’s config block:
Optional: HYDRADB_COLLECTION (the collection to use) and HYDRADB_BASE_URL. The dsh-prefixed names HYDRA_DEEPSEEK_API_KEY and HYDRA_DEEPSEEK_TENANT_ID also work; the canonical HYDRADB_* names take precedence.
3

Run

Run a one-shot task with the headless command, reusing the profile you installed the plugin into (any other dsh surface works too):
On the first step of each turn, the plugin queries HydraDB and prepends relevant memory to the prompt.

Configuration

This plugin runs on the same engine as the Claude Code plugin, so the modes and other configuration settings there apply here too.

How it works

Manual actions come from the shipped skills: query, ingest, doctor, setup, and last-recall.

Feedback and contributions

This plugin is open source. Raise an issue or contribute on GitHub.