dsh-plugin-dual-brain
Agent 与会话 活跃维护

dsh-plugin-dual-brain

sunaono1/dsh-plugin-dual-brain

双脑代理预设,由规划模型负责策略拆分与任务计划,执行模型专注具体操作落地,两者自动衔接形成完整流程,支持灵活配置,集成后即可启用。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
5 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:sunaono1/dsh-plugin-dual-brain
git clone https://github.com/sunaono1/dsh-plugin-dual-brain.git
git clone git@github.com:sunaono1/dsh-plugin-dual-brain.git
README.md main

dsh-plugin-dual-brain

双脑协作插件 for DeepSeek Harness:DeepSeek-V4.1-Flash 负责规划出框架,MiMo-V2.6-Flash 负责动手执行,两个方向在 Agent 预设里一键切换。

它做什么

装好后注入两个智能体预设(agent preset):

预设 主脑(对话/规划) 副脑(子代理,执行)
brain-ds 双脑·DeepSeek规划+MiMo执行 你选 deepseek-flash 锁定 mimo-v2.6-flash
brain-mimo 双脑·MiMo执行+DeepSeek出框架 你选 mimo-v2.6-flash 锁定 deepseek-flash

都是软约定:靠预设指令让主脑"先出框架、再委派",不是硬门禁。子代理模型通过 tool-subagent 的 agentOptions 锁定。

安装

在 DSH 里从插件市场安装,或手动:

cd "$DSH_HOME/profiles/web"
pnpm add git+https://github.com/<you>/dsh-plugin-dual-brain.git

然后把 dsh-plugin-dual-brain 加入 profile 的 dsh.profile.bundles,重启 DSH Desktop。

一个必须知道的限制

主脑模型无法被 preset 自动设定——agent-default-model 是全局 HOST 层配置,不在 preset realm 里。所以 subagent 模型能锁,主脑模型仍需你在右上角模型选择器手动选。

配置

插件本身只带一份 cordis.patch.yml(两个 - insert: 预设)。改文案或换锁定的模型,编辑 cordis.patch.yml 后重装即可。

License

MIT