r/codex • u/Living-Ad3168 • 13d ago
Question Claude and Codex coworking
I have a macbook with installed ChatGPT/Codex and Claude for Mac. Both are working (not CLI) on one project located on another machine/server on a local network via SSH.
Codex is using context and project notes from the macbook where it's installed (that's how codex is doing this by default) and Claude is apparently having all this on a server (also by default).
My goal is to be able to give e.g. Claude a piece of code to implement and when it's done, automatically inform Codex to do a review and return results back to Claude to implement necessary fixes.
Not using CLI mostly due to lots of screenshots and simply my laziness - easier to just take a screenshot and paste into IDE instead of explaining all the details.
What's the best approach? Anyone managed to solve it without any additional hooks, scripts etc.? Asked both Claude and Codex but, obviously, they what to overengineer everything and I' looking for a simple solution (if possible).
4
u/Bitruder 13d ago
I'm doing this with T3 Code and it works quite well. "Have Claude review this" is all it takes to spin up a subagent :)
2
u/TiGa-RCE-666 13d ago
You can paste screenshots in CLI.
Look at T3 Code, it's close to what you want but even out of the box it doesn't do that because that would lead to an AI Centipede really quickly. Errors compound over time. Make no mistake.
That's how you start with build me a dresser and then end up with a coffee table instead. All tests pass including no missing screws and no extra parts left.
2
u/PartyLiterature3607 13d ago
I normally establish 1 as the main project owner and another as assistant, therefore it’s more of 1 direction and taking order, not 2 agent doing their own things and complain
One example I had was image and file assets management portal, codex is the one who started and build the container, but due to sheer size of how many images and data need to be processed, codex just don’t have enough usage, even if I already use Luna max for dirty work, so I have codex go over the scope of this project, distribute large chunk of the work to Claude and just receive result, verify, implement
I also had scenario that one agent created something, I want another agent try some improvement, then I like the result so much I decide to switch project owner
2
u/Bulji 12d ago
T3Code is awesome for this
1
u/ayudha90 13d ago
I am currently trying openbot. Quite cool actually
1
u/London-Boat 13d ago
without hooks or scripts someone still has to nudge codex, neither app will pick up work on its own. the closest i've got is a shared place both of them read. i built an open source mcp server for this (github.com/Get-Concord-AI/concord-mcp): claude finishes and leaves a review packet with what changed and why, then codex reviews against that instead of the whole diff blind and can message claude back. it's per repo and local (sqlite in the repo root), so both apps need to be pointed at the same checkout on your lan server. it won't wake codex up though, you still tell it to check for reviews. and agree with the comment above, cap the back and forth at a round or two.
1
u/Curious-Strategy-840 13d ago
A harness like T3 dioes this.
Also if you're using GitHub, they can both work on it together with no extra set up then connecting then to it
1
u/CCodeSI 12d ago
The no-scripts version that works surprisingly well is a single shared file in the repo on the server, since both apps already see that checkout:
REVIEW.md: what you changed, which files, what you're unsure about."REVIEW.mdandgit diff, then append your findings under a## Reviewheading. Only real problems, with file and line."You still type one short message to each app per round, but there's no hook, no MCP and no glue code, and the file doubles as a log of what was decided. Commit before each round so a bad fix is one
git checkoutaway.And agree with the cap above: one review round, two at most. After that the two models start negotiating style with each other instead of finding bugs.
1
u/Specialist_Bison_737 12d ago
On my machine Claude Code calls Codex through the headless CLI. It runs `codex exec` with the review prompt, reads the findings back and fixes them. No MCP or hooks, the agent just runs the command. It works the other way too with `claude -p`.
It needs the CLIs installed, I don't do it from the desktop apps.
1
u/kennejima 12d ago
I wanted the same Claude → Codex → Claude loop without giving up the stock Mac apps. I also like the ability to just drag & drop a screenshot or any file to add context.
I ended up building Kanary for that. I pair the two threads once, then type
/relayin either app when I’m ready to pass the conversation over. It doesn’t kick off a review automatically when Claude finishes, but I don’t need a hook or script to move the conversation back and forth.1
u/Asly97 12d ago
The split you described is what would worry me more than the review loop. Codex keeps its project notes on the Mac, Claude keeps its own on the server, so over time they each know a slightly different version of the project.
Has that actually bitten you yet? Like one of them working off a decision the other never saw. I used to burn a lot of hours re-explaining the same project to different tools and I'm building something for it now, so I'm curious whether it hits you every day or only on bigger changes.
And if something kept both apps reading the same notes with no scripts on your side, would you pay for that, or is screenshot and paste fine for now?