Hermes Agent 官方插件支持按路由为各子 agent 分配不同模型
RT @IBuzovskyi: Hermes Agent 现在可以为每个子 agent 从你定义的路由中选择不同的模型。
查询用快的。调试用深的。
私有工作用本地的。只需一个插件。
Advanced Delegation(高级委派)。来自 @NousResearch 的官方插件。
两种模式:
▸ 模型路由(model routes)
定义命名路由。agent 会按任务挑选。
delegation:
backend: model_map
backends:
model_map:
options:
- name: fast
description: "便宜且快速:查询、摘要。"
provider: openrouter
model: google/gemini-3-flash-preview
- name: deep
description: "慢而谨慎:硬核调试。"
provider: anthropic
model: claude-opus-5
- name: local
description: "私密:在本机运行。"
base_url: http://localhost:8080/v1
model: qwen3-coder
default: fast
agent 只能看到名称和描述。
永远看不到原始的 provider、模型 ID 或 API key。
它无法自行编造路由,只能从你的列表里挑选。
▸ profile 路由(profile routes)
子 agent 以你的 Hermes profile 身份运行。
每个 profile 都自带自己的模型、凭据、
技能和 SOUL.md。
delegation:
backend: profile_routes
backends:
profile_routes:
profiles:
- name: coder
description: 编写和重构代码。
- name: researcher
description: 网络调研和摘要。
default: coder
委派一个调研任务。它会以你的 researcher profile 运行,
使用 researcher 的模型、researcher 的技能、
researcher 的记忆。完全隔离。
在任意聊天中切换模式:
/delegation models --now
/delegation profiles --now
/delegation default
或者从 CLI 配置:
hermes delegation config
hermes delegation config --show
安装:
hermes plugins install advanced-delegation
需要 Hermes 0.22.5 或更新版本。
查询用快的。调试用深的。
私有工作用本地的。只需一个插件。
Advanced Delegation(高级委派)。来自 @NousResearch 的官方插件。
两种模式:
▸ 模型路由(model routes)
定义命名路由。agent 会按任务挑选。
delegation:
backend: model_map
backends:
model_map:
options:
- name: fast
description: "便宜且快速:查询、摘要。"
provider: openrouter
model: google/gemini-3-flash-preview
- name: deep
description: "慢而谨慎:硬核调试。"
provider: anthropic
model: claude-opus-5
- name: local
description: "私密:在本机运行。"
base_url: http://localhost:8080/v1
model: qwen3-coder
default: fast
agent 只能看到名称和描述。
永远看不到原始的 provider、模型 ID 或 API key。
它无法自行编造路由,只能从你的列表里挑选。
▸ profile 路由(profile routes)
子 agent 以你的 Hermes profile 身份运行。
每个 profile 都自带自己的模型、凭据、
技能和 SOUL.md。
delegation:
backend: profile_routes
backends:
profile_routes:
profiles:
- name: coder
description: 编写和重构代码。
- name: researcher
description: 网络调研和摘要。
default: coder
委派一个调研任务。它会以你的 researcher profile 运行,
使用 researcher 的模型、researcher 的技能、
researcher 的记忆。完全隔离。
在任意聊天中切换模式:
/delegation models --now
/delegation profiles --now
/delegation default
或者从 CLI 配置:
hermes delegation config
hermes delegation config --show
安装:
hermes plugins install advanced-delegation
需要 Hermes 0.22.5 或更新版本。