All documentation pages

Conversations

A conversation is the chat between you and both agents. Each message goes to one agent, both agents see what was said, and the full pipeline runs only when you ask for it.

On this page

Who answers

A plain message goes to the agent named under the input: Codex in a new conversation, then whoever you picked last.

Choosing the recipient
You type or pickWhat happens
/claude <question>Asks Claude Code this once.
/codex <question>Asks Codex this once.
/claude or /codex aloneYour next messages go to that agent.
/claude -- <question>Always a question, even when it starts like a setting (see below).
The recipient menu (desktop, VS Code)Codex, Claude, Discuss or Pipeline for the next message. A typed command wins over the menu.

Each answer is shown whole, once, with the provider’s mark (Anthropic or OpenAI) and the model it ran on.

Note

/claude model opus changes Claude’s model, because the words fit that setting exactly. /claude model which is best for this repo? does not fit, so it goes to Claude as a question, word for word. Settings commands.

What each agent sees

  • Both agents get the whole conversation, up to 120,000 characters of it. Older exchanges are dropped whole, and the chat says so.
  • /pipeline <task> gives every role of the run what was said before the task, and what the conversation’s earlier pipeline tasks did.
  • A workspace runs one pipeline at a time. In VS Code, conversation tabs answer side by side; a second /pipeline says which conversation’s run is going.

Models

The input shows both agents’ models. Before the first answer AgentDuo looks them up without a model call: Codex’s with codex doctor --json (with your -c, --enable and --disable overrides), Claude’s from --model, ANTHROPIC_MODEL and Claude Code’s settings files.

  • A Claude settings alias shows as default → sonnet (configured alias) until Claude’s first answer names the exact model.
  • With a Codex --profile, the model shows as unresolved, with the reason: codex doctor does not take a profile.
  • Each question and run looks again, so an edited ~/.codex/config.toml or Claude settings file shows from the next one.
  • Change a model for AgentDuo only with /claude model <name> or /codex model <name> [effort]. Configuration.

Messages while a pipeline runs

While a pipeline step runs, what you type is a note: every step from the next one on carries it. /claude, /codex, /pipeline and /discuss say the workspace is busy instead. Files you attach go with the note.

Stopping an answer

Esc (or Stop in the desktop app and VS Code) stops what runs. A stopped answer or discussion just ends, and nothing of it joins the conversation. A stopped pipeline step stays resumable: Stop and resume.

History and continuing a conversation

Conversations are saved under the runs folder, in .agentduo/runs/conversations/<id>/: what was said, the attached files, and the logs of each call.

Desktop app

  • The sidebar lists each project’s conversations; Conversations at the top holds the chats without a project. Click one to go on with it: its next question carries what was said before.
  • Conversations come back after a restart with what they showed and their drafts.

VS Code

  • Each conversation is a tab; VS Code reopens them after a reload or restart. The Conversations view lists the workspace’s conversations, open and closed; open a closed one to go on.
  • A tab keeps up to 400 entries and about 2,000,000 characters of answers; older turns are dropped whole, with a notice of where the full logs are, and the newest answer always stays.

Terminal

  • Each duo session starts a new conversation; /new starts another one in the same session. Earlier sessions stay on disk, but the terminal chat does not reopen them.
  • What the terminal does continue is a pipeline run: /resume or duo resume, also for a run started from the desktop app or VS Code.

Chats without a project

Conversations and /discuss need no Git repository. With no folder open, the desktop app and the VS Code extension work in your home folder, as duo does when you start it there, so those conversations and their configuration go to ~/.agentduo. A pipeline needs a project folder inside a Git repository; from the home folder you are asked to open one.