sunaono1/dsh-plugin-dual-brain

sunaono1/dsh-plugin-dual-brain

双脑协作 agent 预设:主脑先出框架,再把执行步骤委派给锁定另一模型的子代理。内置 brain-ds(DeepSeek-V4.1-Flash 规划、MiMo-V2.6-Flash 执行)与 brain-mimo(反向),按会话切换。需配置 Xiaomi MiMo 与 DeepSeek 账号两个 provider,主脑须手动选择。

工作流与自动化deepseek-harness

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