Repository navigation
Description
Background and problem
I would like to use Hermes as a supervised Orca worker and specify the model and reasoning effort for each task. Hermes itself supports per-invocation overrides, but Orca rejects worker-start --agent hermes --model ... --effort ... before launch.
I want to avoid rewriting the global Hermes configuration before each launch because that can race with other coordinators or concurrent launches. The requested support should preserve Orca-managed agent-first startup, Task/Dispatch tracking, completion reporting, and release.
Environment and reproduction
- Windows 11
- Orca CLI:
1.4.211 - Hermes:
v0.21.5+2144.g7b761da(upstream7b761da2) - Hermes provider:
openai-codex
With the coordinator bound to a Run, I executed a command of the following form (Run and terminal identifiers are redacted):
orca orchestration worker-start \
--spec "文書とテンプレートを整備する" \
--worktree new-child --name model-selection-repro \
--agent hermes --model gpt-6-luna-900k --effort max \
--setup run --run <run_id> --from <coordinator_handle> --jsonThe Japanese task text in --spec means "Prepare documentation and templates."
The result was invalid_argument:
Agent hermes does not support launch-time model selection. Omit --model to run the model from its own config.
After the failure, both task-list and worker-list for the affected Run were empty. The request did not reach the model API, so this report does not establish the availability of any particular model or a successful API call.
Meanwhile, hermes --help in the installed version exposes:
-m, --model MODEL: a model override for this invocation, including the TUI.--provider PROVIDER: a provider override for this invocation.--reasoning LEVEL: a reasoning effort override for this invocation.- CLI reasoning choices:
none, minimal, low, medium, high, xhigh, max, ultra.
These are CLI-accepted values, not a claim that every provider/model supports every effort level.
Source inspection
Inspected upstream main SHA: 646e9a5b02514795af5139961ccca225dfa01b12.
CATALOGSinsrc/shared/agent-session-option-catalog.tshas no Hermes entry.src/shared/agent-session-option-launch.tsreturns empty launch arguments and applied values when no catalog exists.src/shared/tui-agent-launch-command.tsuses this shared session-option resolution.
This suggests that support needs to cover validation, Hermes argument generation, and reporting of applied settings, rather than merely expanding a CLI allowlist. This is an inference from source inspection; no patch or runtime trace has been produced.
Proposed solution
- Add a Hermes session-option catalog / launch adapter.
- Map
--model <opaque-id>to Hermes's--model <opaque-id>and--effort <level>to--reasoning <level>, preserving the model ID exactly. - Preserve the provider configured in the selected Hermes profile. If per-launch provider selection is added, handle it per invocation without rewriting secrets or global configuration.
- If existing arguments or command overrides conflict with the requested model/effort, apply explicit precedence rules or return a typed error, consistently with other agents. Do not silently ignore the requested settings.
- Record requested/effective settings in the receipt. Distinguish settings passed through argv from settings observed in the actual process/session; echoing the request alone must not be treated as proof of the model actually used.
- For unsupported remote runtimes or older Hermes versions, return an explicit capability/version error instead of falling back to rewriting configuration.
Scope and acceptance criteria
- No regressions in existing agent catalogs, unknown-model handling, or argument-conflict detection.
- Hermes model/effort settings reach both normal TUI agent-first launches and supervised
worker-startlaunches. - Launching two workers with different model/effort settings does not change persistent Hermes configuration or affect the other worker.
- Tests cover generation of
--modeland--reasoning, invalid-input rejection, and Windows argument quoting. - Task/Dispatch ownership, prompt delivery,
worker_done, andworker-releaseremain intact. - Verify a real launch with a test model, separately checking configuration-file immutability, generated argv, and observable runtime information.
Related issues and duplicate check
I searched existing Hermes issues and model-launch issues. This request is distinct from:
- [Feature]: orchestration worker-start — accept --model (and --effort) for --agent opencode, with launch.effective in the receipt #19980: the analogous per-launch model/effort request for OpenCode.
- [Bug]: worker-show accepts no worktree selector, and launch.effective echoes the request — the model a worker actually ran stays unauditable #16527: distinguishing requested/effective settings from observation of the model actually used.
- [Feature]: Hermes multi-profile support — resume into the right profile, and choose one when launching #19287 / [Feature]: First-class support for persistent Hermes Profiles/Bots in the Agents sidebar #20678: Hermes profile selection and persistent-agent management.
- [Feature]: Add Hermes Agent support to native Chat UI #15132: Hermes native Chat UI support.
This proposal is limited to passing model/effort settings when launching an existing Hermes TUI as a supervised worker. It does not request rewriting Hermes configuration, copying provider credentials, or implementing native Chat UI support.
Activity
[-][Feature]: Hermes の worker-start で起動単位の --model / --effort 指定に対応する[/-][+][Feature]: Support per-launch --model / --effort for Hermes worker-start[/+]karazaku commentedon Sep 25, 2026
I opened this issue by mistake and have closed it. Could a maintainer delete it when convenient? Sorry for the inconvenience.