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 peer 범위
0.2.0-rc.2
Cordis peer 범위
~4.0.4
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 10. 11.

설치

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

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.