diqierjia/StrataGate-AgentMemory#deepseek-harness

Automatic, local-first cross-session memory for DeepSeek Harness: layered Event/Element cards, evidence-gated recall, and expansion back to original turns and tool results.

Long-term memory for long-running DSH agents that keeps the original evidence instead of turning every remembered detail into an unquestioned fact. Completed main-agent conversations and tool results are captured automatically into a local SQLite database, stored as layered L0–L5 views so recent history stays detailed while older history becomes a compact index that expands only when the agent needs more. An evidence gate judges whether recalled material is sufficient before the agent relies on it, and the L5 source messages are preserved permanently so any derived memory can return to its source.

Memory ★ 21 updated 2026-09-02
View on GitHub ↗

Install

dsh plugin --profile web add stratagate-dsh

README quick start for DeepSeek Harness (add StrataGate to the profile you use, then restart that profile). The memory store is local SQLite at DSH_HOME/stratagate/memory.db; removing the plugin does not delete the database. Memory UI appears under DSH Settings → StrataGate-AgentMemory. No memory server and no hosted account.

Compatibility

DSH web profile. TypeScript 5.7 project, MIT-licensed. Local-first: the database lives under DSH_HOME and there is no separate memory server; uninstalling the plugin leaves memory.db in place.

Details

Recent updates

README reports the public evaluation protocol: on LoCoMo conv-26, StrataGate averaged 80.46% across 10 independent Judge runs versus 63.22% for the Mem0 base, with the scope and protocol documented alongside it.

FAQ

How do I install StrataGate in DeepSeek Harness?
Run: dsh plugin --profile web add stratagate-dsh, then restart that profile. It is published on npm as stratagate-dsh.
Where is StrataGate memory stored?
In a local SQLite database at DSH_HOME/stratagate/memory.db. Removing the plugin does not delete the database.
Does StrataGate need a separate memory server or cloud account?
No — it is local-first: conversations and tool results are captured into the local SQLite store and the Memory UI is served from DSH Settings → StrataGate-AgentMemory.

More plugins in Memory

Browse more in Memory

Guides for Memory plugins