Get started directly
One agent implements and the other verifies, for well-defined tasks.
If you are willing to spend more time and tokens for a higher-quality result, Duo is for you.
Austin and Tony are two peers who discuss and complete the same task together in FAST, GOAL or STEP mode. They are not a boss and an employee, or permanently assigned to planning, implementation or review.
$ curl -fsSL https://raw.githubusercontent.com/atfa/duo/main/scripts/install-release.sh | bash$ cd ~/projects/your-repo $ duo Austin discuss · work · review Tony discuss · work · review FAST / GOAL / STEP
What is Duo?
Duo is not an agent and does not provide a model. Install and configure at least one of pi, opencode, codex or agy first. The two agents can use the same or different tools and models.
Duo spends more time and tokens in pursuit of a better result through discussion and mutual review. You still decide whether the result is good enough.
Three modes
One agent implements and the other verifies, for well-defined tasks.
Both agents agree on a plan, work independently and review each other, for complex tasks.
Both agents agree on an ordered list and implement and verify each step, for longer tasks.
Phone and browser
Enter /qrcode in Duo and scan it to pair your phone. Check status, submit tasks, pause or continue, and change the mode, agent or model.
xduo is a session manager: create, open, resume and switch between multiple Duo instances. Each instance has its own session and phone pairing.
Click Server in xduo and open the displayed address locally. Other devices can use the LAN address and room code. When a browser connects, the local terminal locks; click STOP SERVER to regain control.
Choose your own tunnel or reverse proxy. The Tunnel button supports a configured Cloudflare Tunnel and requires your own domain and credentials; see the setup guide. desktop.xduo.dev is not an automatically shared endpoint for all users.
Install and use
Install and configure pi, opencode, codex or agy, and install Git.
On macOS or Linux, run:
curl -fsSL https://raw.githubusercontent.com/atfa/duo/main/scripts/install-release.sh | bashFor Windows, see the README.
Enter your project directory, run duo, and describe your task. First run guides you through the required setup.
cd /path/to/project duoOn Linux, install tmux 3.2 or newer, run xduo, and select [+] to create a workspace. Click Server for browser access; configure a tunnel for remote access.
xduo$ cd ~/projects/your-repo $ duo # Or manage multiple sessions on Linux $ xduo
Agents run with your permissions; Git worktrees are not a security sandbox.