All documentation pages

Discussions with /discuss

/discuss <question> has both agents work out one answer instead of each giving its own. Use it for a design question, a review of an approach, or anything where a second opinion should shape the answer.

On this page

How a discussion runs

  1. Answer

    The agent named under the input answers the question.

  2. Review

    The other agent reviews that answer and ends with VERDICT: AGREE or VERDICT: REVISE. A review without a verdict counts as REVISE.

  3. Revise

    Until the reviewer agrees, the first agent revises its answer and the other reviews again, for at most limits.max_discussion_rounds reviews (3 by default).

  4. Synthesize

    Codex, in a call of its own, writes the final answer from the whole discussion: it keeps what held up from both agents, adds the points of the reviews the last version still misses, and leaves out what the discussion showed to be wrong.

duo

/discuss Should the cache be invalidated on write or with a TTL here?

What you get

  • Each turn is shown as it ends, with the reviewer’s verdict. In the terminal you see each turn’s first lines (--verbose shows them whole); in the desktop app and VS Code the turns fold into one row once the discussion is over.
  • Then the final answer, whole. Only that answer joins the conversation, as Codex’s answer discussed with Claude.
  • If the last review still asked for changes, the answer ends with a short section on what is still disputed.
  • If the synthesis fails, a warning says so, and the latest version is the answer, from the agent that wrote it.

Note

Codex always writes the synthesis. When Codex also answered, the synthesis comes from the same model, in a fresh call asked to be neutral.

Calls and limits

  • A discussion makes 3 to 2N+1 agent calls, N being limits.max_discussion_rounds: at least an answer, a review and the synthesis.
  • limits.max_discussion_rounds is read when a discussion starts: changing it while one is under way applies to the next one.
  • Attached images are sent again with every call of the discussion. Images and cost.
  • Esc stops a discussion; nothing of it joins the conversation.

When to use it

  • /discuss for a question whose answer should be checked: a design choice, a risk assessment, a plan you want to refine before /pipeline.
  • A plain message for a quick answer from one agent.
  • /pipeline when the answer is a change to the code: the pipeline plans, implements, checks and reviews it.