Codex 多智能体配置:Astra 只当架构师
把 GPT-6.1 Sol 设为主力写码,Astra 只在定方案、重复报错、收尾三处被叫出来审查,附可直接粘贴的 Codex 配置提示词。
Codex tip: once GPT-6.1 Sol is your main model, there's no need to run Astra on every turn. Keep Astra on call as an architect agent. GPT-6.1 Sol still writes the code. Bring in Astra at three points: → before a plan: is this the right approach? → when the same error comes back: am I looking in the wrong place? → before saying "done": what did I miss? Astra reviews. Sol ships. Jev engineering works the same way one layer down: simple choices (which file, which tool, retry or stop) go to Jev in under half a second. The larger models only see decisions that need deeper reasoning. - the full tree > GPT-6.1 Sol on high runs the main session > explorer reads the code on Luna > worker edits and runs tests on Sol > researcher looks up the docs on Luna > all three on medium > Astra stays on call as the architect > auto_review checks every approval Paste this tree and prompt into Codex ↓ "Rebuild my Codex setup around this tree: 1. Check ~/.codex/agents and .codex/agents for agents that already fit the explorer, worker and researcher roles. > Draft new TOML files only for missing roles > Set explorer and researcher to gpt-6-luna, worker to gpt-6.1-sol, all with model_reasoning_effort medium > Add an architect agent on gpt-6-astra with model_reasoning_effort high, focused only on reviewing plans, recurring errors and finished work > Skip agents that pin a different model and list them 2. In ~/.codex/config.toml, set model to gpt-6.1-sol, model_reasoning_effort to high and approvals_reviewer to auto_review 3. Check for anything that could override these settings (active profiles, flags in my shell aliases, agents.default_subagent_model). Report what you find without changing it 4. Add one rule to AGENTS.md: spawn the architect before a large plan, when an error repeats, and before calling a long task done Show me every proposed change as a diff first. Don't edit anything until I say go." ↳ http://developers.openai.com/codex/subagents
这条是引用着另一条写的:x.com/0xwhrrari/status/2106731085346304496