Loading video...

Video Failed to Load

Go Home

Introducing cmux Fork cmux Fork Conversation lets you branch Codex/Claude Code/OpenCode/Pi/Hermes... threads to new tabs, new splits, and new workspaces It's pretty useful for exploring multiple directions in parallel, or if you want to have multiple Claudes with the same context work in the same directory (works surprisingly well)...

11,304 views • 3 months ago •via X (Twitter)

16 Comments

Saatvik's profile picture
Saatvik3 months ago

forking across harnesses would be cool

Lawrence Chen's profile picture
Lawrence Chen3 months ago

interesting idea i like

SloaneTsui's profile picture
SloaneTsui3 months ago

Wow!

solknight's profile picture
solknight3 months ago

forking with the session context right ?

Lawrence Chen's profile picture
Lawrence Chen3 months ago

yup

Marco D'Alia's profile picture
Marco D'Alia3 months ago

very cool! is super hard today to fork a current conversation (at least with claude), and I need it all the time. will be possible to extend this with plugins?

Lawrence Chen's profile picture
Lawrence Chen3 months ago

how would you like to extend? we're gonna add a cli command in next version that lets you identify which claude/codex session id is associated with each terminal, so you could add your own cmd shift p or right click action to dispatch new workspace/run the claude resume/fork command yourself and do customizations there

Marco D'Alia's profile picture
Marco D'Alia3 months ago

wow that would be perfect I think!

Kris Constable's profile picture
Kris Constable3 months ago

I've built cmux forking into my workflow a month or two ago, I should have submitted a PR (not as feature rich as yours). It's crazy powerful when you have pi manage this functionality in your workflow automation. pi's cmux windows are more intense than mine 😅

tiff ☀️'s profile picture
tiff ☀️3 months ago

yessss need this for exploring a different thread so i dont mess up the original context of the OG one

Mahesh Rijal's profile picture
Mahesh Rijal3 months ago

This is super handy. Thanks!

RUFY's profile picture
RUFY3 months ago

Kindly check your dm

Chris G.'s profile picture
Chris G.3 months ago

conversation forking solves the biggest problem with long agent sessions. you want to try three different approaches but context is expensive. right now I copy-paste system prompts into new tabs like a barbarian. this is the fix

Ivan Pereira's profile picture
Ivan Pereira3 months ago

I've been doing this with tmux on pi if anyone is interested

Moez Zhioua's profile picture
Moez Zhioua3 months ago

Nice work, the ability to branch contexts in parallel cuts down on context drift. I’ve seen similar tricks with hooks, but this feels smoother. Keep context isolated, it prevents accidental state bleed

Luke Jackson's profile picture
Luke Jackson3 months ago

Excellent! I was doing this manually with hooks 🪝 Thank you!

Related Videos