Codex setup: Astra orchestrator with Luna subagents
Melvin Vivas · X post · 2026-09-09 · Open on X
Topics: AI Agents, Tool Use & MCP, AI Dev Tools & Productivity · Level: intermediate
Summary
The creator shares a GitHub repo that sets up Codex so a large model (Astra or Sol) orchestrates and smaller Luna models run as subagents. He invites people to fork it and share their own setups.
Key points
- Pattern: a strong model (Astra or Sol) plans and coordinates.
- Narrower tasks go to cheaper Luna subagents.
- This lowers cost and helps you stay under usage limits.
- The repo is meant to be forked and adapted to your own setup.
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
- Fork the repo and adapt the orchestrator/subagent setup.
- Share your own Codex setup.
- Set up a multi-agent Codex workflow with a large model for planning and small models for subtasks.
More in AI Agents, Tool Use & MCP
- Single Agent vs Subagents in Codex: Trying Astra Only
- Codex Astra/Luna Orchestrator: Reasoning Defaults for Pro vs Plus
- Coworker: open-source agent that runs on local models
- Cost-aware agents: big model plans, small subagents execute
- A TUI for Managing Codex Subagent Configurations
- Using a Grok Bot to Automate LinkedIn and Collect Leads