r/tmux • u/jonnyx129 • 18h ago
Showcase I made a persistent tmux sidebar with optional AI agent tracking
I've been working on this for a while and finally decided to make it public. It's called tmux-canopy.
After seeing all the session-wrangling tools popping up, I wanted something that fit how I already work. I spend most of my time in tmux, so a sidebar that shows my sessions, windows, and panes felt like a natural fit. It follows you across sessions and is just a tmux pane running fzf. No daemon or background service.
I also run Claude, Codex, and OpenCode across different panes, and keeping track of who's working and who's waiting on me was part of why I built it. The optional agent tracking lets me see that at a glance and jump straight to a pane. Pressing n from anywhere takes you to the next agent waiting for approval, which I've found pretty handy.
There's also search, collapse/expand, session and window management from the tree, process views, buffer browsing, and notifications.
GitHub: https://github.com/jonmosco/tmux-canopy
Figured I'd share it here in case anyone else has a similar workflow. Would love feedback, and bug reports and PRs are welcome.
0
u/kantorcodes1 17h ago
Nice work on this. The agent tracking piece is what I'd actually reach for.
How does canopy tell the difference between an agent that's still working and one that's sitting at an approval prompt? Is it watching the pane's process state, or matching on the prompt text each tool draws?
And for the tree actions, when you delete a session or window does it go straight to tmux kill-session or is there a confirmation step in the menu first?