Codex Orchestrator: Astra/Sol Orchestrator with Luna Subagents
Melvin Vivas · X post · 2026-09-07 · Open on X
Topics: AI Agents, Tool Use & MCP, AI Dev Tools & Productivity · Level: intermediate
Summary
Melvin Vivas updated his open-source setup script for running multiple agents in Codex. Astra or Sol acts as the orchestrator and Luna runs the subagents. A new option for Codex Plus users makes the orchestrator default to Luna max, so you avoid burning scarce Astra credits.
Key points
- Pattern: use a stronger model (Astra or Sol) as the orchestrator and a cheaper model (Luna) for worker subagents.
- On the Plus plan, the orchestrator now defaults to Luna max to save usage limits.
- For pure Luna execution, you also have to change the reviewer agent to Luna.
- The setup script in the repo has been updated with the Plus option.
Resources mentioned
- donvito/codex-astra-luna-orchestrator · repo · github.com · free
The creator's Codex skill for an orchestrator-plus-subagents setup (Astra orchestrator, Luna subagents), configured through config.toml.
Also in: Codex Orchestrator Pattern: Astra/Sol Orchestrator with Luna Subagents (Melvin Vivas on X · notes), Open-source Codex skill: Astra/Sol orchestrator with Luna subagents (Melvin Vivas on X · notes), Cost-Efficient Codex Subagents: Astra/Sol Orchestrator + Luna Workers (Melvin Vivas on X · notes), Codex Orchestrator v0.2.1: GPT-6 Sol orchestrator with Luna subagents (Melvin Vivas on X · notes) and 27 more - OpenAI Codex · tool · openai.com · paid
OpenAI's coding agent. In the diagram it writes code, fixes review findings and drives the build loop. The creator also used it to make this video.
Also in: An agent bot that installs and drives Codex on its own (Melvin Vivas on X · notes), Asking a Coder bot to install Codex (Melvin Vivas on X · notes), Sign in with ChatGPT: Setting Usage Limits for Each App (Melvin Vivas on X · notes), Codex Cloud Environments Must Be Saved & Published Before Use (Melvin Vivas on X · notes) and 240 more
Try this
- If you're on Codex Plus and want pure Luna execution, change the reviewer to Luna too.
- Re-run the updated setup script from the repo.
- Set up a Codex orchestrator/worker/reviewer agent system that mixes expensive and cheap models to manage cost.
More in AI Agents, Tool Use & MCP
- Luna Subagents Save Usage Limits in Codex Pro
- Measuring Codex Pro Runtime: Astra(low) + Luna(max) Subagents
- Codex Orchestrator Skill: Astra Orchestrates, Luna Subagents Execute
- JSONL Viewer v1.3.4: Inspecting Nested Codex Subagent Traces
- Cutting Codex Subagent Costs: Luna Orchestrator, Astra Reviewer
- Cutting Token Costs in Codex Orchestrator/Subagent Setups via config.toml