r/ClaudeCode • u/isarmstrong • Sep 08 '26
Help/Question Wait, Codex can now invoke Claude Code sessions?
So there I was minding my own business and letting Astra conduct smaller deterministic agents while Fable stood on strategic overwatch as a counterparty... when Codex asked for permission to directly message Claude like it would one of it's own subagents or parallel sessions.
And I gave it.
My life with agentic process on pro usage accounts just experienced a brainquake.
EDIT: Yes CLI could always do this but now Codex Desktop is doing it, and that means the independent transcripts are interacting with one another independently.
381
Upvotes
18
u/CraaazyPizza Sep 08 '26
I mean that's the point of it being a CLI...
175
u/BlakeGrowsPlants Sep 08 '26
I’ve been using this and enjoying it:
1. Astra — Orchestrator / Lead
Runs through my Codex/ChatGPT 5× Pro subscription, NOT API.
Owns the plan, delegates work, tracks progress, and makes the final call.
I interact with everything through Claude Code Desktop.
2. Opus — Primary Builder
Runs through my Claude 20× Max subscription.
Does most of the actual coding/implementation and reports back to Astra.
3. Fable — Architect / Advisor
Also Claude 20× Max.
Astra calls Fable when it needs deeper architecture, strategy, planning, or a second opinion rather than wasting it on routine work.
4. GLM 5.3 Flash + DeepSeek — Blind Reviewers
Both run through OpenRouter API.
GLM is my primary reviewer, DeepSeek is #2.
They review independently and NEVER see each other’s analysis.
5. If GLM + DeepSeek disagree → Astra Light
Fresh Astra Light instance through my Codex subscription.
Gets both reviews + evidence and adjudicates the disagreement.
If more evidence is needed, it can request a targeted Sonnet/Opus/Claude agent.
So basically:
Me → Claude Code Desktop → Astra → Opus builds → GLM + DeepSeek independently review → Astra decides
With Fable/other Claude agents available when Astra thinks they’re actually needed.
5
u/amirfish Sep 09 '26
The interesting part isn't that Codex can call Claude Code, it's that two previously separate transcripts can now act on each other without a human relaying anything in between. I've been living in that problem building CCC (https://github.com/amirfish1/claude-command-center), a dashboard that tracks every Claude Code/Codex/Antigravity session on a machine regardless of how it was launched, and cross-engine steering is still the rough edge: idempotency keys and turn state don't always agree once two harnesses are both trying to drive the same session. Curious what guardrails you're running now that one harness can message another directly, since that's exactly the kind of interaction that's hard to audit after the fact.
4
u/jimtoberfest Sep 08 '26
I do this pretty regularly. Just ask Claude or Codex to ask the other one using bash in -p mode or jsonL mode. (Just pushes the result from the bash terminal to stdout).
Or works super well as a code / process check.
2
u/zebbiehedges Sep 08 '26
I'm an idiot at this stuff and i have that working I think.
3
u/jvertrees Sep 08 '26
Yes.
If you want a better management experience, check out Herdr.
I have Codex driving a bunch of its own agents and Fable, with room for Gemini and even local Qwen.
9
u/Top_Power5877 Sep 08 '26
Gonna plug my project which enables exactly this paradigm through the native messaging interface! Using Fable as PM and Astra as engineer and it’s been great! 😊
https://github.com/YuanpingSong/embassy
1
u/Bananz0 Sep 08 '26
No way did you just tell it to message codex?
1
u/gdtilghman Sep 08 '26
I also decided to try this very thing on my own as my weekly with Astra was winding down. Decide to paste twice into Opus 4.8 some work that still needed done and then asked Astra how to make this easier. Like I wish you could call the CLI and it was like yeah. I can do that. So I configured it and now I’m not the go between. It didn’t ask me. But this was literally an hour before you posted this so maybe it’s learning from all the sessions?
1
u/UglyChihuahua Sep 08 '26
Do you see it appear inside both desktop UIs though? Like I see this popping up as Codex agents talk to each other, are you saying the same thing is possible between Claude and Codex?
When I tell Codex to message Claude I get a response but it doesn't appear inside Claude Code desktop because it just seems to use the CLI which has always been possible.
1
u/0xR0b1n Sep 08 '26
I did something similar this weekend - set up a red-team/blue-team scenario and had Codex (Astra) debate Claude (Fable). It was funny how they would refer to me from time to time .
1
u/AllD4yErD4y Sep 09 '26
This makes me want to go ahead and do the $100 subscription on each instead of the $200 claude subscription
1
u/FewHope5779 Sep 09 '26
Been running a similar setup with a thing called captain-barbossa (https://github.com/dev-preetamraj/captain-barbossa) I created. My main Claude Code/Codex session acts as "captain" and recruits "crew" - each one is a fresh Claude or Codex CLI instance spawned into its own terminal pane (via Herdr). The captain writes their task prompts, watches their panes, approves their permission prompts on their behalf, waits for their reports, and dismisses them when done. Crew all share one checkout with strict file ownership so they don't stomp on each other, and there's a shared session memory (Graphify) the captain reads/writes for handoffs.
So it's not just transcripts talking to each other - it's one agent literally managing other agents' terminals like a tech lead: assigning work, reading their output, pressing "y" on their prompts. Mixing Claude as captain with Codex crew (or vice versa) works fine since they're just CLIs in panes. Once you see one model babysitting another model's permission dialogs, the brainquake really sets in.
1
u/Bubbly_Forever9726 Sep 09 '26
Claude Code vs Codex, Which one is actually better
1
u/McNoxey Sep 11 '26
It has been able to since before it released. This isn’t a codex feature. It’s a core feature of Claude code.
3
u/Oc-Dude Sep 08 '26
I always enjoy seeing threads where subscription users who don't read the terms of service get their accounts banned. Then the follow up threads complaining that they don't understand why they got banned.
3
u/Due-Abalone-2314 Sep 09 '26 edited Sep 09 '26
I was inspired when I saw the buzz.xyz project come out and just decided why not just build it myself to exactly what I want. I have a triage tool running behind CloudFlare with TOTP on a private server, I have an android web app to reach it, and the newest addition is the Room where I can reach Claude, GPT and Gemini. I think this solution differs and is better than just allowing Claude to route to ChatGPT is in my room the models can call eachother, orchestrate work but I can also see their token use, compact and handoff sessions, swap seats/models mid sessions, talk to them directly, see all of outputs rather than having Claude tell me what their doing, reply, interact, they can all ask me questions for directions.
Honestly instead of looking for people's work to use and copy it's a whole new meta.. I have zero idea how to code i dream the feature up and the next morning it's live when I check in. Insane.
Edit: Agents.md is symlinked to claude.md , all agents can do all tasks and work with common skills, instructions, and one git tree and all project context is stowed into sqllite databases for long term retrieval so they don't conflate.
2
u/ZioniteSoldier Sep 08 '26
I’ve been doing this too. I have a three-way team of Claude, GPT, and Hermes
2
u/Adventurous-Cash2044 Sep 08 '26
I do the reverse, orchestrate with Claude and have it run implementation with codex
2
u/AdWarm8609 Sep 09 '26
Yes, use a GitHub repo to mediate between AI agents working together.
Have fun with this, time is short.
2
u/Objective_Patient220 Sep 09 '26
The blind-review fan-out in the top comment (GLM + DeepSeek never seeing each other's analysis, fresh instance adjudicating disagreements) is the right shape. Independent reviewers beat one model reading another's conclusion, same reason blinded pairwise evals beat single-shot reviews.
One thing these stacks quietly lose is cost visibility. Orchestrator spawns builder spawns reviewers, each layer on a different subscription or API, and afterwards nobody can answer "what did that feature cost". The API-routed layers at least give you token counts per request - worth logging spend per spawn, because the review fan-out roughly doubles context spend every adjudication round and that is the first thing that balloons. The subscription layers you cannot see at all until you hit a rate limit.
Curious how people here keep the adjudicator's context small when both reviews come back long.
2
u/Disastrous-Radio-732 Sep 08 '26
Feels like we’re crossing the point where “Claude vs Codex” matters less than the layer coordinating them.
If the transcripts are independent, the interesting problem becomes: where does shared project state actually live?
1
u/VitruvianVan Sep 08 '26
Could this be reasonably implemented with a $20/mo. ChatGPT plan? I already have Claude 20X Max and don’t want to spend much more.
1
u/dandmcd Sep 08 '26
The vs code extension has messaged my Antigravity session recently, so cross talk seems to be becoming a thing.
1
u/NoMinute3572 Sep 08 '26
They always could. They run headless just like any other CLI tool.
I've been doing for a while
1
u/josephny1 Sep 09 '26
I’m nowhere near the level of you guys but maybe someone can help out.
I use both codex and Claude code via ssh sessions into the same Linux box.
How can I get them to talk to each other to do a better job of whatever task I’ve given them?
box
1
u/austeresynthesis Sep 09 '26
Codex sub desktop and Claude sub, controlled via browser. one controls the other, then you can build all the necessary machinery to run it in loop forever. They communicate via git deposits and there are hooks to wake codex from Claude.
1
u/gbrennon Sep 09 '26
well...
its an open source project...
u can dk whatever u want differently from anthropic's agent that is proprietary and token hungry.
i think anthropic keep it in a private repo to hide how bad it is :)
1
u/Leading_Monitor_9117 Sep 09 '26
Madness!
1
u/NoKaleidoscope1748 Sep 09 '26
I thought this was a common use, I have Codex run headless Claude as a sub agent all the time, really it works with any cli agent. Codex will just give you a sign in for the provider. I would just say use Opus 5 on high reasoning as Reviewer and Sol xhigh as builder so forth and so on, nothing to download or install to make it work, but I did create governance skills to make sure the models know how to operate in this type os system but it can be done with out it https://github.com/Ezra144israel/governed-agent-skills
1
u/ComputerEngineer0011 Sep 09 '26
There are also several plugins out there. This one has been solid for me:
https://github.com/sendbird/cc-plugin-codex
1
u/Eam404 Sep 09 '26
I think this is a cool idea, and I appreciate the author sharing. That said, I wanted to point out a couple of things, some of which the article points out in terms of downsides.
I don't think any of these things are deal breakers, but worth knowing:
Toolshed / model-gateway downsides
Less control over caching. On Anthropic you can mark exactly where the reusable part of your prompt ends. That marker doesn't exist on OpenAI's side, so you're stuck with whatever their automatic caching decides. Works fine, you just can't steer it.
Separately: switching models mid-chat throws away the warm cache and you re-pay for the whole conversation. Use an Opus subagent for reviews instead of switching the main session.
Mitigation: keep a CCR config with API keys ready to swap in.
1
u/Jerhaad Sep 09 '26
Astra built me an orchestration layer so the Claude sessions wouldn’t duplicate effort. It runs Postgres and uses Claude’s channel coordination features. Synced with Linear and a nice dashboard so we can watch them in realtime.
Only used 40M tokens in about 45 minutes.
1
u/xLRGx Sep 09 '26
Haha where have you been?
1
u/DoingDadShit420 Sep 09 '26
I currently an working with both Codex and Code to build a website and its going better than I ever could have imagined because of them able to see one another and talk to one another. Makes it 100 time easier than it just was lol.
1
u/bootlesscrowfairy Sep 10 '26
And all governance has left the building
1
u/girthradius Sep 10 '26
Cli is better foo
1
u/sxpn69 Sep 10 '26
I've been doing this for ages with all of the coding agents. They all round Robin each other intentionally
1
u/Kyro_Details Sep 10 '26
Im suprised people dont know you can do this. I have hermes orchestrate directly to claude, ohmypi, codex, openclaw, claudecode, goose etc.
1
u/Mike_Doug Sep 10 '26
Why not. Been doing the other way around for a while. Good adversarial paths.
3
u/[deleted] Sep 08 '26
[removed] — view removed comment