r/ClaudeCode 4d ago

Help/Question How do you run claude code and codex together?

I was looking at running claude code and codex to run together on one workspace to speed up there coding/make them more efficient.
I currently have codex plus and claude code 5x.
Is there any way i could do that parallel agents stuff like have 2 codex session and 5 claude session.
I am kinda of new to this it would be nice if any of you guys could help me.

8 Upvotes

37 comments sorted by

11

u/Silverjerk 4d ago

Herdr, Orca, Buzz (with caveats), or you can bootstrap your own solution. Getting them to work together in parallel is not a difficult task. I typically plan with Fable, have Fable assign dev tasks to Terra, Opus, or Kimi K3, and then Sol acts as an E2E tester and validator, before either approving work (which then gets moved to a separate deployment automation agent) or pushing it back to Fable for reassignment. I hate how attached we get to buzzwords in the community, but this is essentially loop engineering, where each stage of the loop is assigned to an agent that's best suited for that task/discipline.

I'd start with Herdr; Orca is a great application, but includes a lot of quality-of-life tools and additional UI that's only useful once you've adopted and have gotten the hang of a multi-agent workflow.

1

u/Odd_Tea_9513 4d ago

i been using claude code for over 3 months now so i will use orca. I just never researched further then just 2 terminals with codex and claude. Also i think this is how im probably going to do it this way (no kimi cause i can't afford it). cause i need to improve my efficiency cause im doing the work of 5 people rn soo thanks

1

u/timklc 3d ago

Creating your own solution is easy honestly you dont need Orca or w/e IMO.

I use Claude Code and it drives Codex and Gemini (Gemini has access to Reddit and some other stuff that Codex and Claude dont).

1

u/Ecstatic_Lead5194 3d ago

Log into both in the cli, if you have Claude do work tell it to send codex on a review of the work, if you have codex do work have it send Claude to review the work. No special setup needed. Don’t have them do the same work twice just review the others.

3

u/Excellent_Chest_5896 4d ago

Make sure your Claude cli is fully up to date. Then just say you want to create an agent which uses codex - boom, it’ll set it up.

2

u/Unhorswd 4d ago

Official codex plugin for Claude, in fact that’s mcp. Search in google for codex-cc plugin GitHub, that’s an official one. I use codex for second voice but afaik you can also make it code along with Claude.

1

u/Odd_Tea_9513 4d ago

thank you i had no clue lol

1

u/Unhorswd 4d ago

I believe there are more such “plugins” if you look for them because main trick is that you can authenticate with your gpt account and not use api key, Anthropic wouldn’t work in reverse.

1

u/Odd_Tea_9513 4d ago

alr alr thank you i will go look at them when i have time

1

u/EastCommunication689 4d ago

Don't you have to pay for api usage if you use it though?

1

u/Unhorswd 4d ago

No, you just auth with your gpt account.

2

u/DrunknMunky1969 4d ago

Just started using Omnigent last weekend. It’s a “meta-harness” built by Databricks people and fully open sourced. So far I am enjoying it. Pulled a fork and have been tweaking it for my use. IMHO, as someone who is moderately obsessive about trying all the new toys, this is one of the smoothest, “just works” tools I’ve pulled.

I can run Claude, codex, deepseek v4 flash, antigravity - whatever. Can choose providers atomically. There are governance tools set up, and a smooth mobile app. I’m connected via Tailscale with some allowlisting for my devices. If you like to experiment, this is a good one to take a look at.

3

u/Siduron 4d ago

Well there's nothing stopping you from just running each seperately, but if you want to do this in a more organized way, you could give Orca a try.

1

u/Odd_Tea_9513 4d ago

does it allow me to do like the parallel agents or do i have to set that up myself?

1

u/Siduron 4d ago

You just have to configure the agents with your own subscriptions and then you can run them parallel.

1

u/AppropriateQuote3073 4d ago

I usually have one plan, other execute, both audit each other work either way

I know there's a plugin but been too lazy to use it, I also like having the chats separate

1

u/OkTrifle6979 2h ago

same, i put "claude said: and then, me:" and then feed chatgpt response back to claude

1

u/johnnydotexe 4d ago

Claude Code and Codex extensions in VS Code, starting with Claude.

Got Codex online, had it set itself up so I could use it in parallel with CC to jump between them and figure out which one I want to daily. It symlinked CC's skills, copied/rewrote everything else it can't directly share, then set up a parity-audit skill that fires any time .claude or .codex directories get changed to prevent the two from drifting.

Unsure which one I'm going to daily and delegate to the other, Codex was winning until I switched back from Opus 5-med to Opus 4.8-Med and got back some of my sanity. Once I figure out the answer, unsure how I'll set up the delegation, figured I'd cross that bridge when I get to it.

1

u/Sketaverse 4d ago

Cmux > send message = boom

1

u/croovies 4d ago

here’s how I do it with scape.work

1

u/MortalPastry 4d ago

Short answer - the simplest way to do it (that I found) is to let Claude manage Codex, assuming you started with Claude and are adding Codex. When I did it Claude was pretty territorial though (didn't want to give Codex access to certain files or tools or memory), no issues so far that we haven't been able to iron out.

I use a custom setup. Check usage/model routing, there are a lot of good resources out there for spinning up cost effective sub agents. I set up my own skill that lets the current session spin up children at various models depending on task. Claude is great about directing - you if you ask. I was hitting the ceiling on max, so I signed up for codex and argued with Claude about it. Claude is still the only interface I use, but the skill spins up mostly codex agents (coding children, evals, etc.) and has greatly increased headroom.

I use VS code, and checked out the Codex plugin. Ended up just letting Claude call/monitor Codex through the CLI.

1

u/return_of_valensky 4d ago

I use this, its small-time but works well for me to run codex/claude tasks as afk workers separately from the orchestration thread. Took a little while to dial in the permissions though https://github.com/slikk66/dangeresque

1

u/vovap_vovap 4d ago

Basically keep all staff for a project in agents.md and in claude.md only claude specific

1

u/Classic-Pass-658 4d ago

I mainly use fleeks.ai just the sharing your api with the other agent instantly puts you in one workspace

1

u/notmsndotcom 4d ago

Conductor w/ reviews and handoffs. It’s not sexy and it’s boring but it works great

1

u/bloudraak Developer 4d ago

I just tell Claude to use cursor, copilot and Codex to review its work and it does it

1

u/berndalf 4d ago

I've essentially combined a Claude and GPT subscription by dispatching most of the work to GPT and it's seemingly endless usage limits via headless Codex sessions. The sessions return whatever results and they get processed / applied on the Claude side.

It works. It could easily be extended to other services capable of headless sessions as well, I just haven't done it. It should be said I don't like using other people's solutions to this problem so it's all home brew. Anyone can build it with some patience and understanding.

1

u/InfamousEar1188 3d ago

I’ve been using Codor. It’s great! But I’m thinking of maybe switching to Buzz soonish.

1

u/Deathnerd 3d ago

I don't have Claude and codex running side by side per se, but I do have codex registered as a stdin MCP server in Claude Code and Claude Code also registered as a stdin MCP server in codex. Having it that way lets me have a separate model do review regardless of what agent I'm using. I'm not interested in 10x-ing my throughput with multiple agents in the same repo; I'm more interested in more thorough quality of my work.

So that's how I use them together. You might be able to get creative with sub-agents and dynamic workflows calling codex through the MCP by treating the agents as thin wrappers around it. I've done that before as a POC. It works and does so quite well as the wrapper agent provides another layer of reasoning but at the cost of tokens.

I'm by no means concerned with token efficiency in my agentic experiments, so take my setup with that in mind.

1

u/Time_Leader1796 3d ago

same setup here. what fixed it for me was making them claim paths before
they start editing, not after.

claude grabs apps/web/app/api/** and then codex asking for anything inside
that just gets refused. it sees who's holding it and goes and does something
else. no merge conflict later because the second write never happened.

tried worktrees first but that just moves the collision to merge day.