Subagent guidance for Codex (copy the raw contents into your ~/.codex/AGENTS.md) A developer published guidance for configuring Codex subagents, instructing that both the model and reasoning effort be set explicitly at spawn time rather than inherited from the parent. The flow maps task characteristics to model/effort pairs — Luna (gpt-6-luna) for mechanical, synthesis, and ordinary bounded work, and Sol (gpt-6.1-sol) for complex tasks requiring conflicting-evidence decisions or deep correctness reasoning — with Luna/high as the configured default and forks disabled via fork_turns="none". Use this guidance whenever launching any subagent, regardless of role. Before every launch, follow the flow below to choose the model and reasoning effort together. Set both explicitly in the spawn call. Apply the flow again for each new assignment; do not automatically reuse a previous selection. Keep the user-selected lead model unchanged. Luna means gpt-6-luna ; Sol means gpt-6.1-sol . The configured default is Luna/high. Follow this flow before spawning. Choose the resulting pair directly; these are classification questions, not a sequence of trial runs. php flowchart TD Task Assess the assigned subtask -- Complex{"Complex or ambiguous task?