Loading video...

Video Failed to Load

Go Home

We're open sourcing dmux. Our internal tool for running Codex and Claude Code swarms. - tmux + worktrees + claude/codex/opencode - hooks for worktree automation - a/b claude vs codex - manage worktrees - multi-project per session ...more. ➡️

329,262 views • 8 months ago •via X (Twitter)

45 Comments

Justin Schroeder's profile picture
Justin Schroeder8 months ago

One of my favorite features is to create a "coordinator". Just create a parent directory/repo that has lots of related projects under it. They are all excluded via .gitignore from the parent and each have their own git repo. These are not git submodules (🤮) Just simple directories, I generally have a root AGENTS/CLAUDE file to describe the structure. Dmux will detect these sub-repositories and when you create a worktree in the root, will also create worktrees of all those sub-directories in the parent directory worktree. When you merge it will let you merge each of the children's worktrees. For OSS maintainers like myself, with many related projects, this is a real game changer.

Justin Schroeder's profile picture
Justin Schroeder8 months ago

Something even more exciting is coming very soon...if you want early access for that bombshell join the waitlist here:

持山 | Chishan's profile picture
持山 | Chishan8 months ago

tmux + worktrees + claude code is basically how everyone should be running agents. open sourcing this is huge

zodomo.gwei (🌍,💻)'s profile picture
zodomo.gwei (🌍,💻)8 months ago

This is sick, thanks for open sourcing!

DollarStore Cowboy's profile picture
DollarStore Cowboy8 months ago

deeznux

Justin Schroeder's profile picture
Justin Schroeder8 months ago

I’ve got a pair of agents

Mike Mickelson's profile picture
Mike Mickelson8 months ago

running claude vs codex head to head in tmux... who's winning so far?

Justin Schroeder's profile picture
Justin Schroeder8 months ago

Codex on everything except ui

Brandon Kase's profile picture
Brandon Kase8 months ago

@xMikeMickelson I noticed something similar as well in my experiments. Claude wins for product engineering, devops, sysadmin. Codex wins at all other engineering work.

Justin Schroeder's profile picture
Justin Schroeder8 months ago

@xMikeMickelson Interesting. I have codex above CC on devops right now, but I’ll have to do another a/b

Anderson Willian's profile picture
Anderson Willian8 months ago

Very interesting. I think everyone that uses tmux started feeling the same itch. I’ve built a much simpler version of this for myself:

Eskender.eth's profile picture
Eskender.eth8 months ago

lol I've been doing this manually, sick!

riceapple's profile picture
riceapple8 months ago

have been doing this manually w scripts thanks for this

Zoe Sterling's profile picture
Zoe Sterling8 months ago

running a claude vs codex thunderdome in a tmux session is genuinely the most chaotic good thing i've seen this week. downloading immediately

Vaclav Milizé's profile picture
Vaclav Milizé8 months ago

everyone's bookmarking this for the swarm management but the a/b testing is the sleeper feature. once you're running claude and codex on the same task in parallel, you're not just building faster. you're building a local eval suite for every model update. that data compounds.

Sughu's profile picture
Sughu8 months ago

why are you open sourcing this

baris's profile picture
baris8 months ago

add pi-coding-agent and im sold

Jonathan's profile picture
Jonathan8 months ago

you had me at tmux

Morgan's profile picture
Morgan8 months ago

This is so rad, trying immediately.

Boyd's profile picture
Boyd8 months ago

If you want to discuss, you can join the discord server here:

Building qorqut's profile picture
Building qorqut8 months ago

the a/b claude vs codex feature is interesting. running both on the same task and comparing output is something i do manually all the time, good to see it getting tooling around it

Brian Cheong's profile picture
Brian Cheong8 months ago

Running multiple agents in parallel is where you lose track of what each one called and with what scope. Tool call visibility at the orchestration layer matters as much as the task output.

Justin Schroeder's profile picture
Justin Schroeder8 months ago

That’s why ai names ours automatically

MythOS's profile picture
MythOS8 months ago

Legendary! I am literally listening to live stream of @mastra discussing their methods.

Vladyslav Hunt's profile picture
Vladyslav Hunt8 months ago

tmux + worktrees is the setup nobody talks about but everyone needs

Reid Burke's profile picture
Reid Burke8 months ago

This looks very useful

Eshgin Guluzade's profile picture
Eshgin Guluzade8 months ago

Claude just dropped built-in worktrees

Justin Schroeder's profile picture
Justin Schroeder8 months ago

Ok

Amine's profile picture
Amine8 months ago

> a/b claude vs codex sold! I've been doing this manually, just having both run at the same time in separate folders. Codex is destroying Claude so far!

am.will's profile picture
am.will8 months ago

Looks pretty amazing! Can the agents communicate interactively with one another while working in parallel?

Justin Schroeder's profile picture
Justin Schroeder8 months ago

This doesnt add any extra layers to the existing coding agents because each already has their own capacity for inter-agent and sub-agent communication.

am.will's profile picture
am.will8 months ago

for example, it would be cool if i could say to one agent, lets say codex, to go off and do a task, and delegate some UI tasks to Claude, and have them communicating back and forth on the UI aspect, returning a polished UI, then allowing codex to spin up agents or whatever from there. I do this through non interactive (print) mode now, but I've always wondered how this could look interactively.

Justin Schroeder's profile picture
Justin Schroeder8 months ago

This is pretty much how I use it, but the communication between them is just a merge.

am.will's profile picture
am.will8 months ago

Fair enough. Well it is open source so I suppose if I want more, i can just stfu and build it right? 😅 this is awesome brother. well done!

Javier • priv/acc's profile picture
Javier • priv/acc8 months ago

Going to play with this tomorrow 🔥

Alec Flowers's profile picture
Alec Flowers8 months ago

Gotta give this a try, my workflow is similar except I manually manage the tmux's.

0xbbjoker's profile picture
0xbbjoker8 months ago

sick

Nathan Brake's profile picture
Nathan Brake8 months ago

Super nice website and docs!

Daniel's profile picture
Daniel8 months ago

i guess we're building the same product

tiki's profile picture
tiki8 months ago

single core → multi core baby

André Baltazar's profile picture
André Baltazar8 months ago

Been writing my own harness too. I just queue tasks and it keeps on building!

Bruno Bornsztein's profile picture
Bruno Bornsztein8 months ago

Wow this looks crazy similar to my @taskyoudev - excited to try it out

Madan Chaolla Park (MCP)'s profile picture
Madan Chaolla Park (MCP)8 months ago

Have been looking for a tmux alternative will try it out thanks!!!

Daryl Antony's profile picture
Daryl Antony8 months ago

@theo have you taken a look at this?

Sushant's profile picture
Sushant8 months ago

🤯

Related Videos