frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Ccmux – Reduce context switching for parallel Claude Code sessions

https://github.com/TheHumbleTransistor/ccmux
6•raykamp•2h ago
I’ve been running parallel Claude Code instances while working on different tasks. Two problems kept slowing me down:

  1. I was constantly jumping between terminals to see which session needed input.

  2. Using git worktrees added setup friction (installing deps, bootstrapping environments, etc.), which discouraged parallel work.
So I built ccmux.

It’s a thin layer on top of tmux that:

  - Adds a glanceable sidebar UI showing all Claude Code sessions

  - Surfaces attention-needed states with visible alerts

  - Wraps git worktrees with a lightweight workflow abstraction so spinning up parallel tasks feels cheap
Technical details:

  - tmux provides the pane/session orchestration

  - The sidebar is built with Python’s Textual (rich TUI)

  - Each Claude Code session runs as a window in a nested tmux session.
I now use it daily to juggle multiple AI coding sessions without losing context. Happy to answer questions or dive into implementation details.

Comments

jlongo78•1h ago
Parallel agent sessions get unwieldy fast. One pattern that helps: treat each session as a named unit tied to a specific task scope, not just a terminal tab. When you can search past conversations by content rather than scrolling history, context recovery after switching becomes trivial. Also worth considering persistent session replay - being able to rejoin a long-running agent mid-task without re-prompting saves significant time across a workday.
raykamp•1h ago
Hey jlongo78, thanks for the feedback and insights.

"persistent session replay" are you meaning more of a "resume" than "replay" ? I'm a little bit confused by the description, but curious to understand.

If I'm understanding it correctly, I think you'll appreciate what ccmux offers for streamlining the switch/resuming sessions: a sidebar that shows ongoing tasks that can be named. Each one requires just a mouse click or key binding to switch into.

jlongo78•1h ago
Good clarification - yeah, "resume" is closer to what I meant. Less about rewinding and more about picking up context mid-task without losing your mental thread.

The named sidebar sounds useful for switching. My main need is the conversation history staying searchable and tied to that named scope, so when I return days later I can reconstruct what the agent was doing and why. Does ccmux persist that context across sessions?

raykamp•1h ago
Mind if I ask what line of software you work in?

The ccmux sessions are tied 1-to-1 with claude code sessions. If a the ccmux "workspace", ccmux's tmux session, gets killed or a user intentionally kills/deactivated a ccmux session, it can be reactivated easily. Under the hood it's just ccmux tracking claude code session IDs and attempting to resume said session when reenabling.

Your input has me thinking there could be a couple features to consider:

  - A search feature to search through all claude code sessions and resurrect one as a ccmux session. 
  - Right now ccmux sessions have two things to quickly indicate their specific task/intention: a configurable name and they clearly show the git branch name they have checked out. I originally opted for this very lightweight approach, but perhaps more context is required about the task at hand, especially for long-running multi-day sessions.
jlongo78•49m ago
The search feature would be huge - that friction of "which session was working on X" is exactly where things break down.

On the context side, maybe a short freeform note field attached at session creation? Branch name gets you partway there but doesn't capture intent. Something like "refactoring auth layer - blocked on X" would make resurrection much faster after a few days away.

I work mostly in backend infra and developer tooling.

raykamp•38m ago
OK, that's great input.

Expanding on that idea, the short freeform note/summary could be optionally auto generated and continually maintained (if scope shifts) by the Claude session. Akin to AI summarizing changes and writing git commits for us.

JPHutchins•1h ago
Cool! I think that the git worktrees are essential for efficiently working on simultaneous tasks in one repo, and anything to lower the friction is welcome.
raykamp•57m ago
Agreed! Before using ccmux I essentially abandoned using worktrees on certain projects because the setup and teardown was too cumbersome.

YCombodogpatchrental

1•gekahng•1m ago•0 comments

Only 526 AI tools are in the topM most-visited websites

https://airankings.co
1•chadlad101•1m ago•1 comments

Ask HN: How do you get better at coding agents?

1•twitchard•2m ago•0 comments

This Month in Ladybird – February 2026: Adopting Rust for LibJS

https://ladybird.org/newsletter/2026-02-28/
1•exploraz•2m ago•0 comments

Show HN: Vanilla JavaScript refinery simulator built to explain job to my kids

1•fuelingcurious•2m ago•0 comments

What keeps IoT devices running for a decade

https://mooracle.io/blog/building-iiot-that-lasts/
1•mooracle•3m ago•1 comments

Show HN: Synapse – P2P AI agent collaboration with async human supervision

https://github.com/francisdu53/synapse-protocol
1•Fran6codu53•4m ago•0 comments

AI-generated code, AI-generated findings, and the verification bottleneck

https://srlabs.de/blog/ai-verification-bottleneck
3•hacka22•5m ago•0 comments

Show HN: I used an IoT sensor and Claude to diagnose a hairdryer

https://lgdimaggio.github.io/claude-stwinbox-diagnostics/
1•lgdimaggio•7m ago•1 comments

Show HN: Agd – a content-addressed DAG for tracking what AI agents do

https://github.com/frontman-ai/agd
1•BlueHotDog2•8m ago•0 comments

Anthropic to Department of Defense: Drop Dead

https://www.computerworld.com/article/4138860/anthropic-to-department-of-defense-drop-dead.html
1•CrankyBear•9m ago•0 comments

Abstraction Beats Realism in VR Concert Recreation

https://kaikunze.de/post/2026-02-26-abstraction-beats-realism/
1•kgarten•9m ago•0 comments

Kanban Code – Beautiful macOS Native UI for Managing Multiple Claude Codes

https://github.com/langwatch/kanban-code
1•jangletown•10m ago•0 comments

Show HN: PRD Agent – Turn your app idea into a shareable RPD in minutes

https://www.prdagent.ai
1•kmatthews812•10m ago•0 comments

We Claudified our iOS app without wrecking our codebase

https://www.tolans.com/relay/how-we-claudified-our-ios-app-without-wrecking-our-codebase
3•quintendf•11m ago•0 comments

Home Assistant can run DOOM

https://frenck.dev/home-assistant-can-run-doom/
1•skortekaas•14m ago•0 comments

California introduces age verification law for all operating systems

https://www.tomshardware.com/software/operating-systems/california-introduces-age-verification-law
3•Alupis•14m ago•1 comments

Israel spent years hacking Tehran’s traffic cameras and monitoring bodyguards

https://www.ft.com/content/bf998c69-ab46-4fa3-aae4-8f18f7387836
1•ent101•15m ago•0 comments

End of hallucinations? How Vancouver AI firms achieve accuracy

https://www.biv.com/news/technology/end-of-hallucinations-how-vancouver-ai-firms-achieve-accuracy...
1•ClearwayLaw•16m ago•1 comments

How to Recover Your Stolen Crypto After a Scam–Guidance from Intelligence Cyber

1•Petersrobert•18m ago•0 comments

CSOA Forte Prenestino (2023)

https://thecommoner.org/csoa-forte-prenestino/
1•greyb•18m ago•0 comments

Prohibited Countries – Mercury Bank

https://support.mercury.com/hc/en-us/articles/28771710754580-Prohibited-countries
1•absqueued•19m ago•1 comments

API to Clean Markdown Docs for AI Agents (No More Stale Endpoints)

https://www.apiflora.dev/
1•LuigiR1•21m ago•1 comments

Dr Seuss Day: 'Without Oxford University, We Don't Get Dr. Seuss'

https://www.bbc.com/news/articles/clywx08zqevo
1•1659447091•21m ago•0 comments

Connected Claude to a 1983 oscilloscope [video]

https://www.youtube.com/shorts/MJHImAx0dAc
1•kmikeym•23m ago•1 comments

FFmpeg at Meta: Media Processing at Scale

https://engineering.fb.com/2026/03/02/video-engineering/ffmpeg-at-meta-media-processing-at-scale/
2•root670•23m ago•0 comments

Managed OpenClaw hosting your own AI assistant in 60 seconds, no server needed

https://www.myopenclaw.cloud
1•danielthego•23m ago•1 comments

People reporting Twitter leaking real names to Israel

https://twitter.com/isfjmocha/status/2028407560382841305
4•smashah•25m ago•0 comments

What Happens When 2 College Dropouts with No Budget Solve Real-Time Translation

https://getseagull.com/
1•saintcya•27m ago•0 comments

The Poison of Inertia

https://cloudedjudgement.substack.com/p/clouded-judgement-22726-the-poison
1•mooreds•27m ago•0 comments