Reddit user explores coordinating Codex and Claude Code
A Reddit user is exploring how Codex and Claude Code could work on the same project, potentially at the same time. The proposed orchestration layer would break tasks into independent pieces, assign them to either agent, isolate changes in separate Git worktrees or branches, run tests and validation before integration, have one agent review another’s work, and require human approval for sensitive operations and important merges. The post presents these as an emerging direction and raises unresolved questions about coordination failures, incompatible changes, and automated review. It does not establish that the setup is fully implemented or reliable, and the assertion that each agent is better suited to certain tasks lacks supporting measurements.
The post offers a concrete design for coordinating two AI coding agents through isolation, validation, review, and human oversight, while leaving its implementation and effectiveness unverified.
I’m experimenting with Codex and Claude Code working on the same project. Here’s what I’m trying to solve. I’ve been using AI coding tools for a while, and lately I’ve been thinking about something that seems more complicated than it should be. Why am I still treating each coding agent like a separate developer working alone? Codex is good at certain tasks. Claude Code is good at others. But when you’re working on a real project, switching between them manually gets old pretty quickly. So I’ve started exploring a setup where both can work on the same codebase, potentially at the same time. Not just passing prompts between them, but actually coordinating the work. The problem I’m trying to solve Imagine having two developers working on the same project. One is implementing a feature while the other is reviewing the architecture, checking security, or writing tests. That sounds useful until both start modifying the same files, making conflicting assumptions, or introducing changes that work individually but break when combined.
Now replace those developers with Codex and Claude Code. That’s basically the challenge. What I’m exploring My current direction is to use an orchestration layer that can: Break larger tasks into smaller, independent pieces. Assign tasks to Codex or Claude Code based on what needs to be done. Give each agent an isolated Git worktree or branch. Keep a shared understanding of the project requirements without letting agents blindly overwrite each other’s work. Run tests and validation before integrating changes. Have one agent review another agent’s work. Require human approval for sensitive operations and important merges. I’m also considering whether a third agent should act as a coordinator, or whether that would just introduce another layer of complexity. The part I’m most interested in is failure handling. What happens when one agent finishes a task based on code that another agent has already changed? What if both agents produce perfectly valid changes that are incompatible when merged?