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.
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:
codex plugin marketplace add Cjbuilds/Codex-Orchestration
codex plugin add codex-orchestration@codex-orchestrationAfter 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:
$codex-orchestration:codex-orchestration setup planner: Claude Fable 5 High, advisor: GPT-5.6 Sol High, executor: GPT-5.6 Luna Extra HighUsers 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
Related news
- AI AgentsUsing fable-advisor to Orchestrate Claude and GPT-6 ModelsThe fable-advisor plugin for Claude Code implements an architect pattern, using Fable 5.1 for specifications and review while delegating coding to GPT-6 models via Codex.·same source: github.com
AnthropicUsing Claude Fable 5 as an Advisor and OrchestratorAnthropic reveals two architectural patterns for combining Fable 5 with Sonnet 5 to optimize costs and performance in agentic workloads.·by shared tag
AI AgentsPonytail plugin forces AI agents to write minimal codePonytail is a prompt-based plugin that prevents AI agents from over-engineering simple tasks by prioritizing native platform features and existing dependencies over new code.·by shared tag
- AI AgentsNous Research publishes plugin creation guide for Hermes agentsHermes users can now drop a guide page into their agent and ask it to build custom plugins — from finance trackers to social scanners — without touching core code.·by shared tag
Comments
Weekly digest
The best of vibe coding, AI agents and open source — once a week, no spam.