Live data from Hacker News

TmuxAI: AI-Powered, Non-Intrusive Terminal Assistant

tmuxai.dev

21–30 of 67 posts

Re: TmuxAI: AI-Powered, Non-Intrusive Terminal Assistant

#21

TIL that `head -5` is equivalent to `head -n 5`, and that's not in the manual

It’s called out as obsolete in the coreutils documentation, https://www.gnu.org/software/coreutils/manual/html_node/head..., which probably explains the lack of references in the manual

Re: TmuxAI: AI-Powered, Non-Intrusive Terminal Assistant

#22

it sees the visible contents of panes or the previous lines too?

It sees by default 200 lines from each pane, can be changed with max_capture_lines config parameter.

You can also override during session, with: /config set max_capture_lines 1000 - to increase capture lines for the current session only.

Re: TmuxAI: AI-Powered, Non-Intrusive Terminal Assistant

#23

The "non-intrusive" part is interesting. I've bit the bullet with AI assistance when coding - even when it feels like it gets in the way sometimes, overall I find it a net benefit. But I briefly tried AI in the shell with the warp terminal and found it just too clunky and distracting. I wasn't even interested in the AI features, just wanted to try a fancy new terminal. Not saying warp might not be useful for some peo…

Uninstalled warp, as the whole thing felt clunky and slow, and never even turned on the AI. You can accomplish everything it does with zsh + plugins without much fuss.

Same it performs like an electron app. And the whole must login thing soured me from the start. I don't need SaaS practices for the terminal and I don't trust that they aren't snooping either.

Re: TmuxAI: AI-Powered, Non-Intrusive Terminal Assistant

#26
post #25

I already use aider and VS Code Agent Mode (which occasionally asks me to run commands for libraries, etc.) This seems… like an amazing attack vector. Hope it integrates with litellm/ollama without fuss so I can run it locally.

I wish you could use Cursor in Terminal mode, eg I press a button, a Cursor window opens with the terminal tab taking up all the space. That way we could just reuse Cursor's special+k and special+l instead of having to have a different app with the same functionality

Re: TmuxAI: AI-Powered, Non-Intrusive Terminal Assistant

#28

I've got a similar approach from a Unix philosophy. Look at the savebrace screenshot here https://github.com/kristopolous/Streamdown?tab=readme-ov-fil... There's a markdown renderer which can extract code samples, a code sample viewer, and a tool to do the tmux handling and this all uses things like fzf and simple tools like simonw's llm. It's all I/O so it's all swappable. It sits adjacent and you can go back and fo…

Maybe if you could explain what exactly is happening in the savebrace example because it's not clear how it relates to this.

Re: TmuxAI: AI-Powered, Non-Intrusive Terminal Assistant

#30
My first instinct is that this is super useful.

But then I realise that I do enough sensitive stuff on the terminal that I don't really want this unless I have a model running locally.

Then I worry about all the times I have seen a junior run a command from the internet and bricked a production server.

Post reply on HN