Have two Codex threads split up a task
One main Codex thread coordinated two remote sessions that worked separately and reported back through it.
- What they did
- The author set up a primary local Codex task to manage work across remote PCs. Those machines were all signed into the author’s account and the agent had full control of them, while the main thread handed out assignments and collected updates. The author said they normally only talk to that main thread, so the screenshot was the first time they saw the side chat between agents.
- How it went
- The setup showed the two remote sessions coordinating through the main task and returning their progress there. No finished task, performance numbers, or end result were given beyond that working handoff.
- Tips
- If you split work across sessions, make sure the coordinating thread keeps track of who owns each piece. One risk is that this division can disappear if the session compacts.
Try it yourself with Codex
I’m working on [task] in [repo or project]. Set up two Codex threads: one should handle [role 1] and the other should handle [role 2]. Have them coordinate through [shared file, branch, or notes location], compare progress with each other, and keep iterating until the task is complete and tests pass. Before any irreversible step such as sending, deleting, submitting, or merging, stop and ask me for approval. When you finish, report back with a short recap of what each thread did and any unresolved questions. Do not push or merge anything unless I say so.
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Set up a Claude Code and Codex coding swarm
They wired Claude Code to spawn Codex helper agents, then used the same system to build and deploy a self-hosted app stack in 24 hours.
Move public sketches into a GitHub archive
A creative coder used Codex to gather 200+ public OpenProcessing sketches and publish them in a GitHub repo with docs and pages.
Use Codex as a first-pass code submission filter
A commenter used Codex with a custom agents.md to check candidate code and automatically turn away submissions that broke simple file-change limits.
Use Codex for clearly scoped multi-file refactors
A user had Codex handle defined refactors and admin work across network machines, then let it run on its own.
Flag coding conflicts before agents edit
They set up a local layer that makes coding agents announce planned changes so overlapping architecture work gets caught early.
Build internal real estate tools with Codex
A rental owner used Codex to make custom tools for offer pricing, property reports, and contract tracking.