Cost-Efficient Codex Subagents: Astra/Sol Orchestrator + Luna Workers
Melvin Vivas · X post · 2026-09-26 · Open on X
Topics: AI Agents, Tool Use & MCP, AI Dev Tools & Productivity, LLMOps, Deployment & Monitoring · Level: intermediate
Summary
How to set up subagents in Codex without using up usage limits too fast. Set each subagent's model and reasoning level explicitly. Use a strong model (Astra or Sol) to orchestrate and a lighter model (Luna) for the subagents. The creator's GitHub repo has a ready-made setup.
Key points
- Set each subagent's model and reasoning level explicitly instead of relying on defaults.
- Use Astra or Sol as the orchestrator model.
- Use Luna for the subagents that do the work.
- If you leave defaults in place, subagents burn through your usage limits fast.
- The donvito/codex-astra-luna-orchestrator repo has a ready-made version of this pattern.
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), 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 · recommended by both Bashiri Smith & Melvin Vivas
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: Developers moving from ChatGPT/Codex to Claude (Melvin Vivas on X · notes), Creator Opinion: Codex Is Still the Best at Computer Use (Melvin Vivas on X · notes), OpenAI Codex Ambassador applications are open (Melvin Vivas on X · notes), GPT-Live-1.1: Multilingual Voice Update for ChatGPT and Codex (Melvin Vivas on X · notes) and 264 more
Try this
- Set the model and reasoning level explicitly for every Codex subagent.
- Use Astra or Sol to orchestrate and Luna for subagents.
- Try the codex-astra-luna-orchestrator repo.
More in AI Agents, Tool Use & MCP
- Grok Bot Templates: Sharing, Publishing and Safely Installing Bots
- Picking models for orchestrator and subagent roles in Codex
- Open-source Codex skill: Astra/Sol orchestrator with Luna subagents
- Google's multi-agent framework for consistent long-form video
- Docker Cloud Sandboxes: Run AI Agents in Local or Cloud microVMs
- Gemma 4 Runs Locally On-Device in the Antigravity SDK