Codex orchestrator/subagents setup: Astra or Sol + Luna
Melvin Vivas · X post · 2026-09-11 · Open on X
Topics: AI Agents, Tool Use & MCP, AI Dev Tools & Productivity · Level: advanced
Summary
The creator updated his open-source setup for Codex. A stronger model (Astra or Sol) acts as the orchestrator and hands work to cheaper Luna subagents. The code now supports profiles, so you can easily switch between different orchestrator/subagent configurations.
Key points
- Pattern: a capable model orchestrates the task and delegates subtasks to cheaper subagent models.
- Astra or Sol is used as the orchestrator and Luna for the subagents inside Codex.
- The repo now uses profiles to manage different orchestrator/subagent config setups.
- Profiles make it easy to swap model combinations without rewriting the config.
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
- Clone the codex-astra-luna-orchestrator repo and try different orchestrator/subagent profiles.
- Set up a multi-agent Codex workflow where an expensive orchestrator model delegates work to cheap subagent models, with switchable config profiles.
More in AI Agents, Tool Use & MCP
- Codex Orchestrator Profiles: Astra/Sol Lead, Luna Subagents
- Coworker v0.5.0: Local Desktop Agent with Markdown Memory
- Run Coworker desktop agents cheaply with GPT-5.6 Luna on OpenRouter
- Grok Bot Connects to Sales Tools (Salesforce, HubSpot, Gong)
- Coworker: Free Desktop AI Agent App with Cloud or Local Models
- Using Codex Subagents to Produce a Video End-to-End with No Manual Edits