DuoX is a drop-in CLI alternative to Claude Code and Codex CLI that runs them together — plus Ollama (local) and OpenClaw (inter-agent channels) — under a single supervisor loop with a shared transcript.
Every peer sees every message. No more copy-pasting between terminals — one scrolling interface for the whole swarm.
The supervisor checks every delegated step before moving on. Catch wrong edits before they compound.
Fan the same task across peers and let the supervisor merge results — or run independent jobs in parallel.
429 / rate-limit / out-of-credits auto-fails over to another peer. Local Ollama is the last-resort net.
Inline file, directory, and line-range excerpts in any prompt. @src/main.py:40-80 just works.
duox -p gives you plain-text or JSON output — drop it into CI, git hooks, or scripts.
Configure [mcp.servers.*] once; DuoX forwards them to Claude Code automatically.
Markdown prompts in ~/.duo/skills/ auto-inject by keyword. Pre/post hooks run your tests and linters.
duox serve exposes goals and sessions over JSON for remote control and automation.
# install + verify peers $ pip install duox $ duox init $ duox doctor # start the loop $ duox > refactor the auth module > @src/api.py:1-60 add tests for the error paths > /peers /cost /compact /remember
# plain text out $ duox -p "summarise the last 10 commits" # JSON envelope with per-peer stats $ duox -p "audit this PR" --output-format json # pipe stdin $ echo "review my changes" | duox -p # specific peers + supervisor $ duox --peers claude,codex,ollama \ --supervisor claude --parallel
A Gradio demo of the supervisor/executor loop, running on a Hugging Face-hosted model instead of real peer CLIs. Install duox locally for the real thing.