Codex-Orchestration plugin enables multi-model workflows in Codex

The open-source Codex-Orchestration plugin allows users to assign specific roles like Planner, Advisor, and Executor to different AI models within a single Codex task.

cpaua3 min295

The open-source Codex-Orchestration plugin allows users to coordinate multiple AI models, such as Claude Fable 5 and GPT-5.6 Sol, within Codex by assigning them specific roles. This tool enables the distribution of tasks across different models to improve planning and implementation speed, while reducing the frequency of hitting premium-model limits. It requires Python 3.11 or newer for setup.

Role distribution for Planner, Advisor, Designer, and Executor

The plugin introduces four distinct roles to manage a Codex task. The Planner creates and improves the initial plan, while the Advisor reviews it for gaps and provides approval. If a task requires a design handoff, the Designer converts requirements into visual or UX specifications. The Executor is the only required role, responsible for implementing the final approved plan.

The root model selected for the Codex task remains the coordinator. It manages the movement of work between roles and verifies results before delivering the final answer. To ensure independent review, the Planner and Advisor must use different configured model routes. The system allows up to eight review cycles between the Planner and Advisor before stopping if approval is not reached.

Performance gains and limit reduction

Testing a combination of Fable 5 High as the planner and GPT-5.6 Sol Extra High as the executor showed that tasks previously difficult for Opus and GPT-5.5 were completed in 30 minutes. This configuration resulted in implementation speeds twice as fast and a 40% reduction in limit triggers. These figures are targets based on specific tasks and depend on the chosen models and available parallel work.

Users can integrate these workflows into AI agent plugins or use them with Codex Goals. In a Goal-based workflow, Codex maintains the state and permissions while the plugin determines which model performs each specific role.

Integrating external models and Claude subscriptions

External models are added as roles rather than picker entries, meaning the root GPT model and OpenAI authentication remain unchanged. Users can configure roles via OpenRouter, such as the Kimi K3 model, which supports a 1,048,576-token context and max reasoning. The plugin uses a staged setup involving a provider adapter and a billable Gate 0 probe to verify the connection.

Fable 5 and Opus 5 are handled as sealed subscription exceptions. They are available only as Planner or Advisor roles through a first-party Claude login via the Claude Code CLI, removing the need for an Anthropic API key. Opus 5 requires Claude Code version 2.1.219 or newer. These models support effort levels including Low, Medium, High, XHigh, and Max.

Installation and role configuration

To install the plugin, the following commands are used in Codex:

bash
codex plugin marketplace add Cjbuilds/Codex-Orchestration
codex plugin add codex-orchestration@codex-orchestration

After installation, roles are assigned using the $codex-orchestration:codex-orchestration setup command. For example, to assign Fable 5 as the planner and Sol as the advisor, the prompt is:

code
$codex-orchestration:codex-orchestration setup planner: Claude Fable 5 High, advisor: GPT-5.6 Sol High, executor: GPT-5.6 Luna Extra High

Users can also create project-specific roles stored in .codex/agents/ or personal roles in ~/.codex/agents/. Status checks and repairs can be performed using the status and repair prompts within the Codex chat.

Sources

Cjbuilds/Codex-Orchestrationgithub.com/Cjbuilds/Codex-Orchestration
Share

Author

cpaua

VibeCode blog admin. Writing about vibe coding, AI and open source.

Related news

Comments

To leave a comment, log in
Loading...

Weekly digest

The best of vibe coding, AI agents and open source — once a week, no spam.