What you need
AgentDuo runs two CLIs made by other companies, with your accounts. Install and sign in to both once; every AgentDuo interface then uses them.
On this page
Your accounts and what they cost
AgentDuo is free, but it does not include Claude Code, Codex, a subscription or API credit. Each agent runs with the sign-in its own CLI has: a plan with the provider, or an API key. Every question, discussion and pipeline step uses that plan or key.
- A pipeline run makes several agent calls: at least one per step, more with critique and review rounds.
/discussmakes 3 to 2N+1 calls, N being the review limit (3 by default). - Images you attach are sent again with each call of a discussion or a pipeline, which costs tokens each time.
- Account & Usage shows how much of your plans’ limits is used;
claude.max_budget_usdcaps the cost of one Claude call.
Install and sign in to Claude Code
Follow Anthropic’s Claude Code setup guide for your system; it lists the current installers. Then start Claude Code once in a terminal and sign in:
Terminal
claude
# then, inside Claude Code:
/loginCheck that the command works and is signed in. claude auth status prints your sign-in as JSON; when you are signed out it exits with an error but still prints it.
Terminal
claude --version
claude auth statusNote
If Claude Code is installed only through its VS Code, Cursor or Windsurf extension, AgentDuo still finds the binary that extension bundles. You can also point AgentDuo at any binary with claude.bin.
Install and sign in to Codex CLI
Follow OpenAI’s Codex CLI documentation for the current installers. With npm, for example:
Terminal
npm i -g @openai/codex
codex logincodex login signs in with ChatGPT or another method Codex offers. Check it with:
Terminal
codex --version
codex login statusWhen you need Node.js and Git
| Interface | Node.js 22.12 or later | Git |
|---|---|---|
| Desktop app | Not for AgentDuo: its engine runs on the Node inside the app. A CLI you installed with npm still needs its own Node on the PATH. | For pipeline runs |
Terminal (duo) | Yes: the npm package runs on your Node | For pipeline runs |
| VS Code extension | Yes: it takes the first suitable node on VS Code’s PATH, or agentduo.nodePath | For pipeline runs |
| Building from source | Yes, with npm | Yes |
A pipeline run snapshots and diffs your files, so its workspace must be inside a Git repository. Chat and /discuss work in any folder, including your home folder. Download Node.js from nodejs.org.
Check everything at once
Each interface checks the CLIs without calling a model:
- Desktop app: the first-run screen checks both CLIs: found or missing, signed in or out. Settings → Diagnostics shows the details later.
- Terminal:
duo doctorchecks Node, Git, the configuration, both CLIs and the flags AgentDuo needs from them. - VS Code: the command agentduo: Doctor writes the same checks to the agentduo output channel.
Terminal
duo doctorA line starting with ✗ must be fixed before a pipeline can run; a line with ! is advice. If a CLI is not found.