Gezinmeyi atla
I made Claude Code and Codex talk to each other.
0:00 / 0:39

I made Claude Code and Codex talk to each other.

shawn

@shawn_pana3,1 B takipçi

X profili
2.368 beğeniİndirOrijinal gönderi

318.609 görüntüleme

I made Claude Code and Codex talk to each other. No APIs. No special protocol. Just a terminal. smux lets agents create, read, and act on terminals. the terminal becomes a shared interface. this enables agent-to-agent communication. Now Claude Code and Codex can hold hands 🤝 Try it now ↓

41 Yorum

Yorumlar X (Twitter) üzerindeki orijinal gönderiden alınmıştır

  • shawn profil fotoğrafı

    @shawn_pana

    try smux, my tmux config:

    243 beğeni

  • Charles Weill profil fotoğrafı

    @weill

    I’m building amux to bake this in more natively:

    22 beğeni

  • Prakhar Shukla profil fotoğrafı

    @imprakharshukla

    created a lighter version of this for generating and debating PRDs with as many models built with @opencode sdk

    15 beğeni

  • Morgan profil fotoğrafı

    @morganlinton

    Ha, such a cool idea, I've been doing this manually forever now 🫠

    15 beğeni

  • shawn profil fotoğrafı

    @shawn_pana

    same.. it got too annoying so i needed a solution lol

    10 beğeni

  • CodeChap profil fotoğrafı

    @CodeChap

    Make them play War Craft against each other.

    8 beğeni

  • shawn profil fotoğrafı

    @shawn_pana

    yo.

    2 beğeni

  • nyk profil fotoğrafı

    @nykdotdev

    Nice idea - but what if Claude and codex would use the same brain? Without tmux running

    7 beğeni

  • Steve💙🇨🇦 profil fotoğrafı

    @xyster

    If you want to add some remote p2p to it all, feel free to take any inspiration

    5 beğeni

  • S.M. Elly Avi-Sniffman profil fotoğrafı

    @AviSniffmann

    Jesus fucking Christ why are all the comments in here AI

    4 beğeni

  • Jake profil fotoğrafı

    @jake_researcher

    This is clever - how do you handle context windows when the two agents are reading/writing to the same tmux session? Does smux preserve scrollback separately for each consumer?

    4 beğeni

  • 滝本竜彦 Tatsuhiko Takimoto profil fotoğrafı

    @tatsuhikotkmt

    Great! I’m using this now, and my project is accelerating rapidly. Codex and Claude Code are communicating directly and moving my project forward together. Thanks a lot!

    4 beğeni

  • Alex Strick van Linschoten profil fotoğrafı

    @strickvl

    @ileppane yeah @RepoPrompt has been enabling this for many many months already

    3 beğeni

  • paji.eth profil fotoğrafı

    @paji_a

    ok but what happens when they disagree on the same file? like does one just silently overwrite the other or is there conflict resolution

    3 beğeni

  • MrObah profil fotoğrafı

    @MrCObah

    Nice, I did something similar but with codex managing claude. How did you get it to work on Claude code?

    3 beğeni

  • shawn profil fotoğrafı

    @shawn_pana

    it’s a CLI called tmux-bridge with commands to interact with tmux panes/sessions/windows so any CLI coding agent can use it to prompt other CLI agents just like how humans would

    18 beğeni

  • KAI profil fotoğrafı

    @OrdinaryWeb3Dev

    This is the right abstraction level. Shared terminal as a message bus - simple, elegant, and doesn't require building yet another protocol. We've seen this pattern work with LangGraph and CrewAI workflows but having it at the terminal level means any two agents can collaborate regardless of their underlying framework.

    3 beğeni

  • Jamie Thomson profil fotoğrafı

    @JamieThomsonVF

    How is context / memory shared between the two agents?

    2 beğeni

  • Axel Delafosse profil fotoğrafı

    @axeldelafosse

    Cool! I built this too, but using Codex App Server and Claude Code Channels:

    2 beğeni

  • OZ profil fotoğrafı

    @OZmaster_CB

    made something similar few weeks ago, but it doesnt use tmux, tried that approach but felt clamped together,,, not sure if tap would work on multi providers tho didnt do a test yet, works for multi claude isntances tho

    2 beğeni