Codex 多模型团队配置:Sol 统筹、Luna 干活、Astra 当对手
分享一套 Codex CLI 多 agent 分工方案,并提到用 Jev 承接「开哪个文件、调哪个工具、重试还是放弃」这类 16ms 机械决策,让前沿模型只在路径分叉时才被唤醒。
Official OpenAI tip for Codex: stop burning GPT-6.1 Sol context on tasks GPT-6 Luna can swarm, while GPT-6 Astra sits idle put Astra on call as a dedicated adversary codex --model gpt-6.1-sol --agent adversary GPT-6.1 Sol acts as the lead architect, scoping architecture and validating pull requests GPT-6 Luna teammates take isolated git worktrees and hammer out implementations at medium effort GPT-6 Astra monitors the peer-to-peer bus as a dedicated adversary, only stepping in at three critical moments: → before a contract locks: does the frontend payload match the backend schema? → when a test breaks twice: are we patching the bug or just hiding the symptom? → before calling done: what attack surface or edge case did everyone overlook? GPT-6 Luna builds. GPT-6 Astra challenges. GPT-6.1 Sol merges and ships Jev engineering runs the identical pattern one layer down: mechanical decisions that need no reasoning (which file to open, which tool to invoke, retry or abort) execute in 16ms, so the frontier models only wake up when execution paths actually diverge Plan on high. Delegate on medium. Keep the adversary on peer-to-peer call. - the full team setup > GPT-6.1 Sol on high coordinates the session and synthesizes PRs > teammate-ux builds client state inside a separate git worktree > teammate-back writes endpoints and handles Redis atomic locks > teammate-adv runs invariant fuzzing and catches replay vulnerabilities > all teammates communicate directly over peer-to-peer messaging without coordinator drag > tasks.json manages file-level mutex locks so nobody steps on another worktree paste the setup and this prompt into Codex CLI below: "Configure my Codex workspace for autonomous agent teams: 1. Audit ~/.codex/agents and .codex/agents for teammate profiles fitting ux, backend, and adversary > Generate definitions only for missing roles > Pin model: gpt-6-luna, model_reasoning_effort: medium for workers, and model: gpt-6-astra for adversary > Assign each worker an isolated git worktree branch to eliminate file conflicts 2. Enable agent teams in ~/.codex/config.toml: > Set [agents] max_concurrent_threads_per_session = 8 > Lock main session model to gpt-6.1-sol with model_reasoning_effort = 'high' > Set approvals_reviewer = 'auto_review' 3. Initialize tasks.json in repo root with atomic file locking, allowing teammates to claim subtasks and resolve contracts directly over inter-agent messaging without coordinator intervention 4. Add a team rule to AGENTS.md: teammates must request an adversary security review before opening a pull request for the lead session Show every configuration diff first. Do not apply edits until confirmed" ↳ http://learn.chatgpt.com/docs/environments/git-worktrees
这条是引用着另一条写的:x.com/mirku21/status/2098836008468992471