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.
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add stratagate-dsh说明文档
阅读完整 README ↗Model configuration and upgrades
Chat and memory processing can use different models.
| Model purpose | What it handles | How to select it |
|---|---|---|
| Chat model | Conversations and answers | Select in DSH |
| Memory-processing model | Conversation compression, Event extraction, topic organization, and Dreaming | Follow the chat model or specify a separate model |
| Embedding model (optional) | Find semantically related Events | Configure separately |
| Reranking model (optional) | Reorder automatic-recall candidates | Configure 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.