HN user

lawrencechen

1,367 karma

https://cmux.com

https://x.com/lawrencecchen

lawrence@cmux.com

Posts76
Comments76
View on HN
github.com 4mo ago

Awesome libghostty

lawrencechen
4pts0
github.com 5mo ago

Show HN: cmux - Ghostty-based terminal with vertical tabs and notifications

lawrencechen
198pts77
blog.konsti.xyz 7mo ago

More databases should be single-threaded

lawrencechen
52pts23
0github.com 8mo ago

Show HN: I made a heatmap diff viewer for code reviews

lawrencechen
265pts68
github.com 9mo ago

Anthropic Sandbox Runtime (Srt)

lawrencechen
5pts1
www.rawdog.new 11mo ago

Show HN: Rawdog.new AI app builder for levelsio stack (PHP, SQLite, jQuery)

lawrencechen
3pts0
alperenkeles.com 1y ago

Verifiability Is the Limit

lawrencechen
4pts2
kabirk.com 1y ago

SWE-Bench Multilingual

lawrencechen
1pts0
docs.google.com 1y ago

MicroVMs: Foundations and Applications

lawrencechen
1pts0
geohot.github.io 1y ago

The Singularity Is Nearer

lawrencechen
4pts1
lukaspetersson.com 1y ago

AI Founder's Bitter Lesson. Chapter 2 – No Power

lawrencechen
1pts0
github.com 1y ago

Show HN: Open ChatGPT/Claude/Google with one address bar command

lawrencechen
3pts3
action.new 1y ago

Show HN: Action, a Claude Computer Use Launcher for macOS

lawrencechen
7pts3
aidanmclaughlin.notion.site 1y ago

The Problem with Reasoners

lawrencechen
32pts2
vitalik.eth.limo 1y ago

From prediction markets to info finance

lawrencechen
1pts0
geohot.github.io 1y ago

And now we see what is possible

lawrencechen
19pts24
github.com 1y ago

Hermeticity

lawrencechen
1pts0
lumenorbit.github.io 1y ago

We should train AI in space [pdf]

lawrencechen
39pts93
yellow-apartment-148.notion.site 1y ago

The Zero-Day Flaw in AI Companies

lawrencechen
2pts0
twitter.com 1y ago

Show HN: Llama 3.1 405B code interpreter/advanced data analysis

lawrencechen
1pts1
jxnl.co 2y ago

How to build a terrible RAG system

lawrencechen
7pts0
github.com 2y ago

Devon: An open-source pair programmer

lawrencechen
54pts27
cursor.sh 2y ago

Near-Instant Full-File Edits

lawrencechen
1pts0
nonint.com 2y ago

Learned Structures

lawrencechen
2pts0
nonint.com 2y ago

Research Code

lawrencechen
2pts0
writings.stephenwolfram.com 2y ago

Computing the Eclipse

lawrencechen
96pts25
www.youtube.com 2y ago

Transforming AI – Nvidia GTC 2024 Panel Hosted by Jensen Huang [video]

lawrencechen
1pts0
www.ishan.coffee 2y ago

Startups to Follow

lawrencechen
1pts0
twitter.com 2y ago

New Conflicts in Literature Extended

lawrencechen
1pts0
www.youtube.com 2y ago

SWE-agent: A deep dive [video]

lawrencechen
1pts0

Thanks for the feedback! Mitchell Hashimoto is awesome. Have a PR for fixing devtools here: https://github.com/manaflow-ai/cmux/pull/117

hotkey overrides - I have some things explicitly unmapped / remapped in my ghostty config that conflict with some cmux keybindings and weren't respected

We need to be better about this; right now you can modify keyboard shorcuts with cmd+, in the GUI. Planning on making it a config file in the spirit of ghostty though, not sure if we want to reuse ghostty's config file though since it might become a maintenance burden for them...

command palette (cmd-shift-p) for less-often-used actions + discoverability

yes

cmd-z to "zoom in" to a pane is enormously useful imo

Thinking of the right way to design this. Like hypothetically we can expand it, but what happens if you make a vertical/horizontal split, or cmd+t to make a new tab? I guess we could just "merge" it back into the original space which would be pretty cool.

No built in way to override new-pane actions right now, but `cmux --help` can automate all parts of cmux.

So you can make your own script that can make new panels/workspaces and just invoke it from the terminal:

  git worktree add -b my-branch ../repo-my-branch
  ws=$(cmux new-workspace 2>&1 | awk '{print $2}')
  cmux send --workspace "$ws" "cd ../repo-my-branch && claude"
  cmux send-key --workspace "$ws" Enter
I think we should make this easier though, open to suggestions!

Excited that someone besides me wants this! I want to hear more about your warm container host, is that shared between multiple people, or just yourself?

Also want some feedback on how we should implement it. Could make it a CLI command that opens a new vertical tab/workspace:

  cmux ssh <host>
Or maybe a configurable dropdown next to the plus button.

a cron or hook that runs tmux capture-pane on each agent pane and checks for the idle prompt is enough to know when one needs attention.

Curious why you aren't using Claude Code's stop/notification hook

Separate Chrome profiles per agent is the brute-force fix, but it's expensive. The better pattern is treating browser access as a serialized resource — one agent gets it at a time, with the others queued.

Ports could also be another serialized resource. Another direction we're exploring is to give agents VMs that have Chrome + VNC preinstalled [1]. Prompting Claude to use Docker also goes a long way there.

[1] https://cloudrouter.dev/

If two agents are working on the same local dev server, do they share the browser context or get isolated profiles

Currently they share browser context. Adding isolated profiles is a good idea. Do you often use multiple agents in a single project and have them both work on different pages? I personally use multiple checkouts, and the problem for me is that agents working in the same project want to spin up the same dev server. And the dev servers will conflict unless I make different instances of the same project listen in their own port ranges (perhaps via a PORT env var).

We want to solve the latter by bringing better SSH support where the WebView will proxy directly to a remote machine or Docker container, so different workspaces in the vertical tabs can talk to their corresponding dev servers. But I want to hear more about your use case.

Mobile interface is definitely nice. Planning on adding iOS app since libghostty works there too! And I imagine that having your main terminal app be synced directly to your phone must be nice, though it doesn't solve the problem of closing my laptop.

Would love to hear what other features have been particularly beneficial to your dev style too. Some directions I'm interested in is having everything be programmable; so my coding agent can set up workspaces for me, click through browsers to test things, etc. And having a main Claude Code manage subagents that have their own easily visible terminal windows.