正在加载视频...

视频加载失败

Introducing cmux: the open-source terminal built for coding agents. - Vertical tabs - Blue rings around panes that need attention - Built-in browser - Based on Ghostty When Claude Code needs you, the pane glows blue and the sidebar tells you why. No Electron/Tauri. Just Swift/Appkit.

375,364 次观看 • 7 个月前 •via X (Twitter)

77 条评论

Lawrence Chen 的头像
Lawrence Chen7 个月前

I run a lot of Claude Code and Codex sessions in parallel. I was using Ghostty with a bunch of split panes, and relying on native macOS notifications to know when an agent needed me. But Claude Code's notification body is always just "Claude is waiting for your input" with no context, and with enough tabs open, I couldn't even read the titles anymore. So we fixed it:

Lawrence Chen 的头像
Lawrence Chen7 个月前

I tried a few coding orchestrators but most of them were Electron/Tauri apps and the performance bugged me. I also just prefer the terminal since GUI orchestrators lock you into their workflow. And I couldn't set up my layout the way I wanted it. So I built cmux as a native macOS app in Swift/AppKit. It uses libghostty for terminal rendering and reads your existing Ghostty config for themes, fonts, colors, and more.

Lawrence Chen 的头像
Lawrence Chen7 个月前

cmux also has a built-in browser with a scriptable CLI with the same API as @vercel's agent-browser. Agents can snapshot the accessibility tree, click elements, fill forms, and evaluate JS, all from the terminal. Split a browser pane next to Claude Code and let it interact with your dev server directly.

Lawrence Chen 的头像
Lawrence Chen7 个月前

Free & open source (AGPL). brew install --cask manaflow-ai/cmux/cmux GitHub:

Lawrence Chen 的头像
Lawrence Chen7 个月前

cmux just launched on product hunt! Would greatly appreciate an upvote 🙏

Justin Schroeder 的头像
Justin Schroeder7 个月前

I raise your cmux one letter: dmux 😂

Lawrence Chen 的头像
Lawrence Chen7 个月前

emux!

Jony Musky 的头像
Jony Musky7 个月前

why not

Lawrence Chen 的头像
Lawrence Chen7 个月前

cmux is native macos app and ghostty! also notifications and blue rings around claudes that need you!

Jeff Tang 的头像
Jeff Tang7 个月前

Fire This seems like the perfect sweet spot between a Terminal and GUI orchestrator Does it have an easy way to support reading and searching through files? (Like cmd-p or cmd-shift-f in Cursor/VS Code)

Lawrence Chen 的头像
Lawrence Chen7 个月前

thanks! currently cmd p lets you search through terminal names. files is a good idea! can also do rg or fzf since it's just a terminal. will file an issue for this though!

Jeff Tang 的头像
Jeff Tang7 个月前

The form factor of cmd-shift-f in VS Code is nicer than rg fzf I have mapped to cmt-t so that's close enough

prateek 的头像
prateek7 个月前

this is clean. the "which pane needs my attention" problem is real. we built the layer above this. agent orchestrator handles which agents to spawn, worktree isolation, merge sequencing, CI failure routing. the terminal is a swappable plugin (tmux by default, but cmux could slot right in). different layers, both needed. @composio

Lawrence Chen 的头像
Lawrence Chen7 个月前

would love to see a cmux<>composio integration?

prateek 的头像
prateek7 个月前

let's do it!

Cyrus 的头像
Cyrus7 个月前

I will switch the moment you support ghostty themes <3

Lawrence Chen 的头像
Lawrence Chen7 个月前

ah shee it'll work if you replace Builtin Solarized with iTerm2 Solarized!

Cyrus 的头像
Cyrus7 个月前

<3

Lawrence Chen 的头像
Lawrence Chen7 个月前

hmm can you dm me your ghostty config?

Alexander Ramírez 的头像
Alexander Ramírez7 个月前

You know what would be nice? To make it orchestrate the execution of series of prompts that I could have in a folder. It should wait the previous prompt is done completely to the take next one. It would automate my workflows.

Lawrence Chen 的头像
Lawrence Chen7 个月前

super interesting! if you want, you could hack up a bash script that does this and opens stuff in cmux workspaces/panels using cmux cli! (`cmux --help`)

Alexander Ramírez 的头像
Alexander Ramírez7 个月前

wow very nice, I will try it for sure tomorrow.

Edward Grefenstette 的头像
Edward Grefenstette7 个月前

I've been using this all weekend and it's amazing.

Dushyant 的头像
Dushyant7 个月前

sweet, I'm going from warp to cmux, love the idea of a browser in the CLI - need a nice native md file viewer inside the CLI as well.

Lawrence Chen 的头像
Lawrence Chen7 个月前

let me know what else you want to see in cmux! someone has a PR up for markdown editor already will take a look soon!

Dushyant 的头像
Dushyant7 个月前

brother, we should be able to make a screen temporarily full screen and the back down to original place like tmux.. not sure if this is a feature.. i looked around couldnt find it anywhere in the menus

Lawrence Chen 的头像
Lawrence Chen7 个月前

like this? (out in nightly) or something else

Dushyant 的头像
Dushyant7 个月前

yes this exactly! I'll update the current version - thankyou! 🫡

hazle11 的头像
hazle117 个月前

Smart to build on Ghostty natively instead of wrapping in Electron. The notification ring concept solves a real pain point - been running parallel Claude Code sessions in tmux and missing prompts constantly. Will give this a try.

Lawrence Chen 的头像
Lawrence Chen7 个月前

🫡 lmk if you encounter any issues!

Imper 的头像
Imper7 个月前

Hey bro, I dont know if you're familiar to crypto but someone made a coin for $CMUX, your GitHub is impressive You can claim whenever you want J9uUhn8nLw3NxPy1Yd18Z8UpvBAHB3hRFhwbXdwBpump

Lawrence Chen 的头像
Lawrence Chen7 个月前

i do not endorse this.

Tommaso Gazzini 的头像
Tommaso Gazzini7 个月前

“When Claude Code needs [me]” 🥰

Lawrence Chen 的头像
Lawrence Chen7 个月前

🥰

Ahmad Awais 的头像
Ahmad Awais7 个月前

noice, can you build support for @CommandCodeAI

Lawrence Chen 的头像
Lawrence Chen7 个月前

@CommandCodeAI it's a terminal so should just work! we can add deeper integration if there's hooks tho?

Ahmad Awais 的头像
Ahmad Awais7 个月前

@CommandCodeAI hooks will be here next week, put an agent on it just now.

Lawrence Chen 的头像
Lawrence Chen7 个月前

@CommandCodeAI keep me posted!

Ahmad Awais 的头像
Ahmad Awais7 个月前

@CommandCodeAI sent a dm

Piotr Kulpinski 的头像
Piotr Kulpinski7 个月前

Looks great, will add to tomorrow! Any chance to install via homebrew?

Lawrence Chen 的头像
Lawrence Chen7 个月前

brew tap manaflow-ai/cmux brew install --cask cmux should work! will add to official homebrew in 2 days (since repo must be 30 days old)

Piotr Kulpinski 的头像
Piotr Kulpinski7 个月前

oh, thanks! Forgot to tap it first

David Chu 的头像
David Chu7 个月前

i've been using cmux, was a much better setup, haven't swtiched back to my IDE

Lawrence Chen 的头像
Lawrence Chen7 个月前

awesome! lmk if you run into any issues!

Stanley Wong 的头像
Stanley Wong7 个月前

This is great. Add a native markdown viewer and it'll be perfect.

Lawrence Chen 的头像
Lawrence Chen7 个月前

will do!

Numman Ali 的头像
Numman Ali7 个月前

Hey Lawrence, honestly this is amazing, well done an congrats! I had a questions, could you please advise the when to us manaflow vs cmux? Is manaflow built on top of cmux? I like the idea of manaflow and would love to be able to use all of cmux but with some of manaflow features What is your current set up overall? We seem really aligned!

Lawrence Chen 的头像
Lawrence Chen7 个月前

thanks!! for now, probably don't use manaflow. you can likely fully move to cmux, which is a completely separate product. manaflow historically was useful for tasks that you have high confidence can be zero shot. but cmux is great for tasks that need back and forth, and if you have a HQ setup similar to mine (where a single Claude is pinned to the top, and it talks to all my panes for me), it'll have a pretty a good ux for both workflows. and we highlight recommend trying out the cmux cli (`cmux --help`) to see if you can build your own orchestrator similar to cmux HQ! we're gonna gradually add all the niceties of manaflow to cmux as extensions, like the diff view, screenshots, and heatmaps etc... stay tuned!

Numman Ali 的头像
Numman Ali7 个月前

Will there be a premium sub option I’d like to support and get cool features

Lawrence Chen 的头像
Lawrence Chen7 个月前

appreciate the support! what do you think would be the biggest value adds that you would be willing to pay for? some ideas: - cloud VM workspaces (maybe GPUs too) - cmux subscription/LLM gateway that let's you use claude code/codex/opencode etc... - companion mobile app that syncs with your mac cmux terminal with push notifications or anything else?

Numman Ali 的头像
Numman Ali7 个月前

1. Look at what warp offers (not the coding agent) 2. Cmux assistant that can give me context on every workspace, tab and panel - simple at first but later could expand to handle messaging between terminals/workspaces from messaging channels 3. Mobile would be good but no idea how you can achieve that from a good UX/product perspective 4. Cloud workspace - everything in that space is running 24/7 but I can connect locally from Mac app or maybe via web or other approach but wouldn’t want performance downgrade 5. Like you have browser tabs, add Code editor and other options That’s what I can think of atm

Lawrence Chen 的头像
Lawrence Chen7 个月前

2 is very interesting to me!

Numman Ali 的头像
Numman Ali7 个月前

If I was to give you a vision statement Help me focus all my mind space on the work I’m doing Make context switching a thing of the past through smart product options Tiny tiny detail that helped with this, when I held the command key all keyboard shortcuts came up Hints and suggestions to make me faster with keyboard nav etc would be better An assistant that i can my dictation key (I use wispr) to say “what’s the status of prod debug”, “show me the browser screen for retail” Probably would tie in with auto naming workspace, tabs etc And having a hierarchical view option in the command palette as well

Lawrence Chen 的头像
Lawrence Chen7 个月前

ok yeah this is amazing. will build with this in mind!

jonathan liu 的头像
jonathan liu7 个月前

this is insanely cool.

Lawrence Chen 的头像
Lawrence Chen7 个月前

thanks! lmk if you run into any issues

chungus 的头像
chungus7 个月前

Yo dawg what gives. You just eliminated my need for a terminal app and now I’m getting Claude Pro Max. Great job.

Kai 的头像
Kai7 个月前

Blue rings for attention is the kind of UX detail that matters Honestly most tools forget the human is still in the loop

Greg 的头像
Greg7 个月前

yaaaa nailed it! I gave a bunch of feedback to the orchestration teams, but could never figure out why I didn't like the feel of their multi-agent sidebars. This is literally it. It feels like my terminal, not a chat app. tabs + browser is a nice touch. Can it use --chrome to browse without needing to keep the tab open? that was always my biggest gripe Will start playing around, amazing job!

Michał Tajchert 的头像
Michał Tajchert7 个月前

Is there some quick start guide with Claude code? I wasn't able to start multi-agent with multi-panel layout from Claude code (it works in tmux for me).

Lawrence Chen 的头像
Lawrence Chen7 个月前

cmux <> claude code teams integration is a WIP, will keep you posted when it comes out!

Michał Tajchert 的头像
Michał Tajchert7 个月前

Great to hear 🔥

darren 的头像
darren7 个月前

so good!

James Reyes 的头像
James Reyes7 个月前

Very cool. I tinkered with something similar bc of how poorly terminals integrate with AI agents. I've been frustrated by the cognitive overhead without it. Looking forward to following along, starred!

Thryve | Stress & Wellness 的头像
Thryve | Stress & Wellness7 个月前

Vertical tabs is a nice design choice.

Cross Identity Payments 的头像
Cross Identity Payments7 个月前

simpler interfaces reduce cognitive load, which is why i'm intrigued by the idea of a terminal that can proactively signal what needs attention.

Freddy Montes 的头像
Freddy Montes7 个月前

Pretty neat! Nice DX.

Anlon Zhu 的头像
Anlon Zhu7 个月前

Awesome!!

Lawrence Chen 的头像
Lawrence Chen7 个月前

thanks!!!

Felix Lu 的头像
Felix Lu7 个月前

among all of them, i choose cmux and use it a lot. I really like it!

Ben Kruger 的头像
Ben Kruger7 个月前

Can’t wait to try!

oldsox 的头像
oldsox7 个月前

If I ssh in, can I attach to a cmux session?

Lawrence Chen 的头像
Lawrence Chen7 个月前

currently ssh support is minimal (basically just ssh like you would in any other terminal, and use tmux/screen inside if you want persistence) we're gonna add native ssh support to cmux though, so you can have an entire workspace with native cmux tabs/splits/browser connected directly to the remote machine. and all with tmux-like persistence. but still a WIP!

Glenn ⚡️ 的头像
Glenn ⚡️7 个月前

Literally built this for myself as well recently, also called it cmux, lol 🤦‍♂️ I like how you did the Claude notifications, will incorporate it

Lawrence Chen 的头像
Lawrence Chen7 个月前

lol yeah cmux is a popular name! *mux is great

Alexander Ramírez 的头像
Alexander Ramírez7 个月前

Very nice

David Zhang 的头像
David Zhang7 个月前

My guy this is fire

相关视频