Back to directory

stratagate-agentmemory

Curated pickMaintenance: Active

diqierjia/stratagate-agentmemory

DSH 跨会话记忆插件:本地优先(SQLite)自动捕获对话与工具结果、L0-L5 分层存储、事件/元素卡片+知识图谱+时间线 UI、BM25+结构化混合检索、证据门控防无据作答、来源追溯

View on GitHub
$ dsh plugin --profile web add stratagate-dsh

32

stars

4

forks

TypeScript

Language

MIT

License

2026-08-10

Created

2026-09-04

Last push

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

  1. 01

    $ dsh plugin --profile web add stratagate-dsh

  2. 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

DSH integrationNative runtime

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 resultslocal SQLite database (no separate memory server)

  • Layered / compact memory

    recent and older historydetailed recent history plus a compact index that expands on demand

  • Event cards with source & time

    lasting memory recordsrecords origin and separates when something was mentioned from when it happened

  • Hybrid BM25 + structured search

    memory graph / eventscompact facts via searchEvents() / searchGraphNodes() with reciprocal-rank fusion

  • Evidence-gated recall

    retrieved contexta sufficiency check (evidence refs) before the agent relies on memory

  • External memory import

    structured memory exported by another AItraceable 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.
Not specified by the authorNot specified by the authorstratagate-dsh-v0.2.49

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.

08Data and sources

  • Author-claimedgithub.comc1bd0dbf1149…

    ## 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.

DSH Plugins is an independent community directory of DeepSeek Harness plugins. Not affiliated with or endorsed by DeepSeek. Third-party plugins are not security-audited — review the source before installing.

New DeepSeek Harness plugins, weekly. No spam.