Codex Provider CourseENPT

Swarms ยท Lesson 3

Pick Orchestrator, Executor, Validator

You can launch a cross-provider roster and know which model is doing each role.

RegistryProfileOrchestratorExecutorValidatorProof

Simple layer

A swarm is just an opinionated roster: Claude orchestrates, Kimi or Alibaba executes, GPT or Claude validates. The registry names these rosters so you do not rebuild them from memory.

Technical layer

`claude_kimi_gpt` maps `provider_orchestrator_claude` -> `provider_executor_kimi` -> `provider_validator_gpt`. `claude_alibaba_claude_validator` swaps the executor to Qwen and validator to Claude.

Real command

node ~/.codex/scripts/codex-providers.mjs swarm claude_kimi_gpt '<bounded task>'

Practice with feedback

Which role must be independent from the builder?

Local proof

SCOPE.md
LOOP-LOG.md
~/.codex/provider-registry.json
~/.codex/provider-*.config.toml