agent-orchestrator icon indicating copy to clipboard operation
agent-orchestrator copied to clipboard

[Feature]: Codex reviewers cannot configure model or reasoning effort independently

Open Kotankoro opened this issue 3 months ago • 4 comments

Problem

As a user who assigns different responsibilities to implementation workers and reviewers, I need to configure the Codex reviewer's model and reasoning effort independently because the best cost/performance profile for implementation is not necessarily the best profile for review.

For example, I may want to run:

  • Worker: gpt-5.6-luna with max reasoning
  • Reviewer: gpt-5.6-sol with xhigh reasoning

Today AO lets a project choose the reviewer harness, but the Codex reviewer does not expose reviewer-specific model or reasoning-effort configuration. It therefore falls back to the Codex/default configuration rather than allowing the reviewer role to be tuned independently.

Changing the user's global Codex configuration is not a good substitute because that also affects unrelated Codex sessions.

A local workaround is to hard-code --model and model_reasoning_effort into the Codex reviewer launch arguments, but that is not suitable as a general solution.

Proposed direction

Allow reviewer configuration to optionally carry Codex model and reasoning-effort overrides, independently from worker and orchestrator configuration.

Conceptually, something like:

reviewers:
  - harness: codex
    agentConfig:
      model: gpt-5.6-sol
      reasoningEffort: xhigh

The exact schema is up to the maintainers.

Expected behavior:

  • Reviewer model can be configured independently.
  • Reviewer reasoning effort can be configured independently.
  • When unset, current/default behavior remains unchanged.
  • Reviewer settings do not affect workers or orchestrators.
  • Invalid reasoning-effort values fail validation instead of silently falling back.
  • Existing Codex reviewer read-only/sandbox behavior remains unchanged.
  • The configuration applies consistently to reviewer launches and subsequent review passes.

Related: #3166 adds per-role Codex model and reasoning configuration for workers and orchestrators. Extending the same underlying configuration concept to the reviewer path may provide a consistent model.

This request is specifically for reviewer configuration; it does not require changing the default reviewer model or hard-coding a particular model.

Alternatives considered

I considered a few workarounds:

  • Hard-code --model and model_reasoning_effort in the Codex reviewer launch arguments. This works locally, but it is not configurable and is not suitable as an upstream solution.
  • Change the global Codex configuration. This affects unrelated Codex sessions and does not provide reviewer-specific behavior.
  • Reuse the worker/orchestrator model configuration for reviewers. This couples roles that may intentionally need different cost/performance profiles.

A reviewer-specific optional configuration seems preferable because it preserves the current defaults while allowing projects to tune review independently.

Before submitting

  • [x] I searched existing issues / discussions for something similar
  • [ ] I am willing to help implement this if maintainers agree on scope

Kotankoro avatar Aug 13 '26 00:08 Kotankoro

Thanks for contributing to Agent Orchestrator.

This issue is being picked up by the current external contributor on-call pair:

  • @neversettle17-101
  • @illegalcall

If someone is already working on this, please continue as usual. The on-call pair is added for visibility, tracking, and support, not to take over the work. If you need help with review, direction, reproduction, or next steps, please tag @neversettle17-101 and @illegalcall here.

For faster context or live questions, you can also join the AO Discord.

Join the session here: https://discord.gg/H6ZDcUXmq

Come by if you want to see what is being built, ask questions, or just hang around with the community.

somewherelostt avatar Aug 13 '26 15:08 somewherelostt

This feature would be super useful

PatrykMilewski avatar Sep 09 '26 15:09 PatrykMilewski

hey @PatrykMilewski @Kotankoro We have added model for reviewer agents. Will pick up the work on reasoning effort as well.

neversettle17-101 avatar Sep 09 '26 16:09 neversettle17-101

Closing as implemented by #5075. Project Settings now persists reviewer-specific agentConfig.model and agentConfig.effort, the review engine resolves and merges that reviewer configuration independently of worker/orchestrator roles, validates it before launch, and reuses it across subsequent review triggers.

codebanditssss avatar Sep 23 '26 14:09 codebanditssss