diqierjia/StrataGate-AgentMemory ↗★ 115

stratagate-dsh

Recent conversations stay vivid. Older ones fade into summaries, not oblivion. StrataGate gives DeepSeek Harness six-layer, time-decaying memory, while lasting events and relationships settle into a knowledge graph. Bring your memories from other AIs with you—no need to start over.

Package
stratagate-dsh
Compatibility
Unverified
Harness peer range
0.1.2-rc.1 || >=0.1.5-rc.1 <0.3.0-0
Cordis peer range
4.0.2 || ~4.0.4 || ~4.1.0
Version
0.3.46
License
MIT
Last updated
Nov 10, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add stratagate-dsh

Model configuration and upgrades

Chat and memory processing can use different models.

Model purposeWhat it handlesHow to select it
Chat modelConversations and answersSelect in DSH
Memory-processing modelConversation compression, Event extraction, topic organization, and DreamingFollow the chat model or specify a separate model
Embedding model (optional)Find semantically related EventsConfigure separately
Reranking model (optional)Reorder automatic-recall candidatesConfigure separately; usable independently of vector retrieval

Under More → Advanced settings → Host configuration → Memory-processing model, choose to follow the chat model or specify a separate model. Saving applies the choice to subsequent memory-processing requests without changing the main chat model. Requests already running continue to completion.

The memory-processing model uses providers and models already configured in DSH. A model with tool-calling support and sufficient context capacity is recommended. If the specified model is unavailable, the task retains its failure state rather than automatically switching to the main chat model.

Enable vector retrieval and reranking separately.

In advanced settings, enter each service's API URL, key, and model, then save. A service is enabled only when its configuration is complete; clear its URL and save to disable it.

The embedding model supplements semantic matching, while the reranking model refines automatic-recall order. Neither replaces Event sources or the evidence gate's assessment.

When enabled, the search text and Event titles and summaries (candidate Event content for reranking) are sent to the selected service provider and may incur API charges.

Restart the corresponding DSH profile after upgrading.

The current version covers DSH 0.2.x, including prereleases, and retains previously supported older hosts. DSH 0.3.x is not yet supported. See the plugin guide for the complete version range, older-host repairs, and recovery procedures.

Conversation sources and long-term memories are stored in local SQLite, while daily notes are separate Markdown files. Uninstalling the plugin does not automatically delete this data.