r/claude • u/keyboard-warrior-82 • 1d ago
Question Getting Claude Code and Codex working together autonomously through PRs?
Hi folks,
I'm working on a project where I'm refining a mobile app with Claude Code (mostly Opus 5.5). It gets its data from an API/database that is mostly maintained by Codex.
To implement new API changes and server routes, I usually get Claude to start a PR to agree on a contract, iterate on it through several rounds with Codex and then use Codex to build to that spec. I also use Codex to review Claude PRs on the mobile app side and it often find issues and seems to make good suggestions. I've recently added an extra step of having Fable 5.2 review the PR Opus 5.5 made before handing it over to GPT - not sure how productive it is but it adds extra time and usage.
I'm finding myself staying up very late every evening waiting for Claude to complete some code only to type in Codex can you review PR x, then ask Claude to review the comments on PR x until it's all squared away. Occasionally there's a decision that requires my input but it's becoming the exception rather than the rule.
Does anyone have tips for how to get these two talking in this way of working? I've come to trust the way Claude Code CLI and Codex work and I don't really want to disrupt it because the quality of work is excellent, I'd just like to take myself out of the loop so much for basic communication coordination.
TIA!
1
u/Pseud_Epigrapha 1d ago
Use a non-proprietary harness (I use T3), it allows you to mix and match your models and have them communicate with each other. Claude code has orchestration (spawning new agents and so on) but it only allows you to use Anthropic models.
1
u/smabarnsfar 4h ago
I think you should be able to tell Claude and Codex to do what you want them to do.
Codex: Wait for Claude to commit PR X, review it and put the comments here. Claude will respond, so iterate until done.
Claude: Do this. When done, commit here. Codex will review, so monitor for that. Continue to iterate until done.
Multiple sessions in Claude Code can cooperate like this. I haven't tried it in Codex.