hermes - 💡(How to fix) Fix Feature: Per-sub-agent provider/model selection in delegate_task

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
RAW_BUFFERClick to expand / collapse

Problem

Currently delegate_task sub-agents inherit the parent agent's provider and model. There's no way to say "use Claude Code for this sub-agent and DeepSeek for that one" within a single session.

Some orchestration tools let you assign different AI providers per sub-agent in the same session (Claude for reasoning, Codex for generation, Gemini for analysis). This is genuinely useful — different models have different strengths.

Proposed Solution

Add optional provider and model fields to the delegate_task task definition (both single and batch mode) so callers can specify different models per sub-agent.

What This Unlocks

  • Parallel specialised execution: Each sub-agent uses the best model for its task type
  • Cost optimisation: Use cheap models for simple review tasks, expensive ones for complex generation
  • Provider diversity: If one provider is rate-limited, others can still make progress

Implementation Notes

  • The AIAgent class already supports per-instance provider/model/base_url overrides in __init__
  • Need to thread these through delegate_task and batch_runner.py
  • Backward compatible: missing fields default to parent agent's config

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

hermes - 💡(How to fix) Fix Feature: Per-sub-agent provider/model selection in delegate_task