Credentials. Provider credentials are needed for each third-party provider you configure, so store them carefully and limit their scope.
Who it is forA developer using Codex who wants a cheaper or different model to handle a bounded subtask without changing the provider that runs the main session.
The problemCodex is tied to one controller provider, so delegating part of a job to another model normally means switching the whole session.
The outcomeCodex keeps its controller and sends selected subtasks to another provider through the MixAgents Broker plugin.
What you need first
- Codex with plugin support (the README says the broker is used from Codex 0.149.0 onward)
- Accounts and credentials for each third-party provider you configure, billed separately from any ChatGPT or OpenAI subscription
- Read SECURITY.md before install, since task content, file content and tool results may be sent to the configured provider
Steps
- Run
codex plugin marketplace add Utopia-V/mixagents - Run
codex plugin add mixagents-broker@mixagents - Open packages/broker/README.zh-CN.md (or packages/broker/README.md) and complete the configuration section for your provider
- Read packages/broker/SECURITY.md and confirm which task and file content will leave your machine
- Ask Codex to delegate one bounded subtask through the broker and check the returned result before accepting it
Prompt for your agent
Using the repo Utopia-V/mixagents, install the mixagents-broker package for Codex and configure it for <provider>. Delegate the subtask <subtask description> through the broker and return the provider's result. Verify that the controller in Codex did not change and that you read packages/broker/SECURITY.md before sending any file content.
Caveat. The README says these packages may send task content, file content and tool results to the configured third-party provider, and that those costs are separate from ChatGPT/OpenAI billing.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Utopia-V/mixagents and "Hand Codex subtasks to other model providers"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer