MIT-licensed, local-first long-term memory for DeepSeek Harness — automatic capture, evidence-gated recall, source tracing, and BM25 + structured hybrid search, all in a local SQLite store with no separate memory server.
DSH integration
Native runtime
Author-claimed
Safety audit
Unaudited
Last verified
2026-09-06
License
MIT
01What can it help you accomplish?
Capture and search long-term memory across DeepSeek Harness sessions
Searchable local memory of completed main-agent turns plus a Memory UI under DSH Settings → StrataGate-AgentMemory
DeepSeek Harness (dsh) users running long-lived agents who need persistent, source-traced cross-session memory
02How to install into DeepSeek Harness
Prerequisites
- DeepSeek Harness (dsh) must already be installed
Installation steps
- 01
$ dsh plugin --profile web add stratagate-dsh
- 02
Restart that profile, then keep using DSH normally.
Verify the integration
- StrataGate exposes its Memory UI under DSH Settings → StrataGate-AgentMemory
03DSH integration and capability boundaries
Installed as a native DeepSeek Harness (dsh) plugin — `dsh plugin --profile <name> add stratagate-dsh`
Automatic local-first capture
completed main-agent conversations and tool results→local SQLite database (no separate memory server)
Layered / compact memory
recent and older history→detailed recent history plus a compact index that expands on demand
Event cards with source & time
lasting memory records→records origin and separates when something was mentioned from when it happened
Hybrid BM25 + structured search
memory graph / events→compact facts via searchEvents() / searchGraphNodes() with reciprocal-rank fusion
Evidence-gated recall
retrieved context→a sufficiency check (evidence refs) before the agent relies on memory
External memory import
structured memory exported by another AI→traceable Events while the imported source text remains preserved
04Who is it for? When not to use it?
Good for
- DeepSeek Harness (dsh) users running long-lived agents who need persistent, source-traced cross-session memory
Not for
- The current version still has 31 majority-wrong questions on its evaluation set, so recalled answers are not guaranteed correct — verify important recalls against the cited source.
05Compatibility, maintenance and safety notes
- The current version still has 31 majority-wrong questions on its evaluation set, so recalled answers are not guaranteed correct — verify important recalls against the cited source.
- StrataGate supplies state, constraints and validation, but the integrating application still controls model calls, tool iteration and the maximum retrieval budget.
readme_verified
06Frequently asked questions
How do I install StrataGate AgentMemory in DeepSeek Harness?
If DeepSeek Harness is already installed, add it to your profile with `dsh plugin --profile web add stratagate-dsh`, then restart that profile. StrataGate then captures completed main-agent turns and shows its Memory UI under DSH Settings → StrataGate-AgentMemory.
Where is my memory stored?
By default the database is at `DSH_HOME/stratagate/memory.db` in a local SQLite file. There is no separate memory server, and removing the plugin does not delete the database.
How does StrataGate avoid answering from weak evidence?
Between retrieval and answering it inserts a fixed protocol that judges sufficiency from evidence refs; if evidence is incomplete it changes strategy, expands an event, or inspects the source before answering.
Can I import memory from another AI tool?
Yes. Structured memory exported by another AI can become traceable Events while the imported source text remains preserved, so provenance is kept.
Is it safe to rely on the recalled answers?
Not guaranteed. The current version still has 31 majority-wrong questions on its evaluation set, so verify important recalls against the cited source before trusting them.
07Related DSH workflows
memos
by memtensor
Self-evolving memory OS for LLM & AI Agents: ultra-persistent memory, hybrid-retrieval, and cross-task skill reuse, with 35.24% token savings and DeepSeek Harness support.
dsh-anchored-standard
by xiaobright
Two-phase DeepSeek Harness preset: Minimal-aligned bootstrap, then full Standard tools (Project2 98/99)
mem9
by mem9-ai
Unlimited memory for OpenClaw
mindmemos
by mindscale-noah
Gives dsh agents persistent cross-session memory: auto-recalls relevant user/task context before each turn and writes back lessons after each turn, evolving memory via schema learning and skill distillation
08Data and sources
## Quick start: DeepSeek Harness If DeepSeek Harness is already installed, add StrataGate to the profile you use: ```b…
This page is generated from the project’s public documentation, repository metadata and a structured parse of DSH Plugins; last verified on 2026-09-06. Found an error? Submit a correction.
Best DeepSeek Harness Plugins
Twelve plugins worth installing first — picked from the whole catalog, across every category.
