Codex Orchestrator Pattern: Astra/Sol Orchestrator with Luna Subagents
Melvin Vivas · X post · 2026-10-02 · Open on X
Topics: AI Agents, Tool Use & MCP, AI Dev Tools & Productivity · Level: intermediate
Summary
The creator updated his open-source Codex setup so that GPT-6.1 Sol (or Astra) acts as the orchestrator and hands work to cheaper Luna subagents. The repo shows a multi-agent pattern for coding agents: a strong model plans and coordinates, and lighter models do the subtasks.
Key points
- Orchestrator/subagent pattern: a strong model (Astra or Sol) coordinates and Luna models run as subagents in Codex.
- The repo has been updated to use GPT-6.1 Sol as the orchestrator model.
- Using cheaper or faster models for subagents can cut cost and latency while the strong model handles planning.
- The setup lives in the GitHub repo donvito/codex-astra-luna-orchestrator.
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: 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), Orchestrator/Subagent Patterns: Astra-Luna Skill vs Fusion and Advisor (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
- Clone the codex-astra-luna-orchestrator repo and try the orchestrator/subagent setup in Codex.
- Build a Codex workflow where a strong model plans and hands subtasks to cheaper subagent models.
More in AI Agents, Tool Use & MCP
- There Is No Best Agent Harness: Guide to Multi-Harness RL
- Chief-of-staff bot that delegates to other bots
- Morning digest from a chief-of-staff agent
- Dots Demo: A Voice AI Agent Handling Travel Booking and Feedback Triage
- LLM Council Agent in Pi Using Codex and Claude Models
- Docker Sandboxes for Running Coding Agents Locally