@deepseek-ai/dsh-evolution
Five-layer self-evolution for DeepSeek Harness agents: durable memory, context-summary capture, post-session reflection, nightly dream consolidation, and gated source self-rewrite. 适合希望代理积累记忆与技能的用户,源码改写默认关闭,需装多项依赖。
Install
This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗
README
Read the full README ↗配置参考
{
enabled: true,
memoryDir: '.dsh/evolution', // 记忆根(相对项目根)
skillsDir: '.dsh/skills', // 技能输出目录
maxCoreMemories: 50, // 核心记忆条数上限
reflect: {
enabled: true,
idleMs: 600000, // 空闲多久后触发复盘(默认 10 分钟)
minTurns: 6, // 至少积累多少轮才复盘
maxTranscriptChars: 60000, // 复盘时发送给模型的上下文预算
},
dream: {
enabled: true,
at: '23:55', // 每天梦境整理时间(本地时区 HH:MM)
maxCoreMemories: 50,
},
sourceRewrite: {
enabled: false, // 源码自更新,默认关闭
srcDir: '.', // 允许改写的源码目录(路径隔离边界)
},
model: {
provider: '', // 可选:复盘/梦境专用 provider 覆盖
model: '', // 可选:专用 model 覆盖(留空则借用 agent 自身路由)
},
}