Claude and Codex can be configured to work together as pair programmers using a CLI tool called "loop," which runs both models side-by-side in tmux with direct communication between them.
One model acts as the main implementer while the other provides review feedback, creating a faster and more natural feedback loop than traditional human code reviews. When both agents agree on feedback, it signals high confidence in the suggested changes, and the interactive setup allows developers to stay involved, steer the process, and ensure context is preserved across iterations.