Add Orchestrator/delegate mode such that the main agent is strictly read-only
Resolved 💬 5 comments Opened Apr 16, 2026 by Raylinkh Closed May 31, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What variant of Codex are you using?
CLI
What feature would you like to see?
Main agent has the tendency to do everything by itself, especially after context fills up, even explicit instructions and agents.md do not prevent the behaviour.
It is observed that when main-agent delegates effectively, tasks are done better and more efficiently, however, it is not straightforward in codex to enforce this behaviour because subagents inherit permissions from main agent. For claude code, hooks can be used with agent_id to identify subagent, but in codex there is no such arg apparently.
Additional information
_No response_
5 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I agree this is the better thread to consolidate into.
A few concrete requirements from #18193 that may be useful to fold into this request:
AGENTS.md, skills, and.codex/config.toml, then decide that a task is in orchestration territory without the user having to separately say "use subagents"..codex/agents/*.tomlrather than falling back to generic workers.So from my perspective, the missing behavior is something like:
Closing #18193 in favor of this issue.
Adding a narrower use case that seems worth preserving under this broader feature request.
I use Codex in repo/workflow setups that rely heavily on bounded subagent use. The current requirement that I restate delegation permission in the prompt (for example: "use subagents when needed") is a real UX tax in those environments.
What I want is not global default-on delegation. I want an explicit opt-in setting/profile/repo-level mode that allows bounded autonomous delegation for users and workflows that intentionally want it.
A shape like this would cover my use case:
explicit: current behaviorworkflow: allow delegation when repo/workflow instructions explicitly route the task to orchestrationauto: allow bounded sidecar delegation when usefulImportant constraints:
So from my side, this broader orchestrator/delegate request is the right umbrella issue, but I wanted to add that a first-class opt-in delegation policy/setting would already solve a lot of the day-to-day friction for subagent-heavy workflows.
This feature request hasn't received enough upvotes, so I'm closing.
https://github.com/Raylinkh/delegate-mode implemented a workaround here if anyone needs it