RocoFish/deepseek-memory ↗★ 1

deepseek-memory

Curated long-term memory for DeepSeek Harness: two tiers of small plain-text facts, memory tools, per-request injection, and after-turn consolidation. 适合需要智能体跨会话记住个人偏好或项目背景信息的用户。

パッケージ
deepseek-memory
互換性
未検証
Harness ピア範囲
0.2.0-rc.2
Cordis ピア範囲
~4.0.4
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/10/11

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:RocoFish/deepseek-memory

ドキュメント

README 全文を読む ↗

Configuration

Every key can be overridden in a profile's cordis.patch.yml by targeting the memory row:

- id: memory
  config:
    maxEntries: 80
    consolidation: always
KeyDefaultMeaning
usertrueEnable the user-level tier.
projecttrueEnable the project-level tier.
maxEntries50Maximum entries per tier.
maxEntryChars500Maximum characters per entry.
injectChars4000Maximum characters of memory injected into one request.
toolstrueRegister the memory tools.
consolidationgatedoff, gated, or always.
minTurnsBetweenRuns1Minimum closed turns between consolidator runs in one session.
keepHistorytrueKeep the previous revision of each store in history/.
consolidationSubagentProviderin-processRegistered subagent provider the consolidator child runs on. A provider name, not a model route.
consolidationRouteProvider—Provider route for the fallback path, used only when no subagent provider is mounted. Omit to reuse the session's own logged route.
consolidationRouteModel—Model id paired with consolidationRouteProvider.
consolidationTimeoutMs120000Wall-clock cap for one consolidation run.