upvote
Are you aware that you can use tmux (or zellij, etc.), spin up the interpreter in a tmux session, and then the LLM can interact with it perfectly normally by using send-keys? And that this works quite well, because LLMs are trained on it? You just need to tell the LLM "I have ipython open in a tmux session named pythonrepl"

This is exactly how I do most of my data analysis work in Julia.

reply
See related sibling: the use cases are compelling!

My complaint is that tmux handles them perfectly. Exactly the claim that OP is making with their software - is served by robust 18 year old software.

In 2026, it costs nearly nothing to thoroughly and autonomously investigate related software — so yes I am going to be purposefully abrasive about it.

reply
And if you want to interact with tmux from within the python interpreter there is a very good library available, libtmux:

https://github.com/tmux-python/libtmux

reply
What I do is have a quick command that spins up a worktree on a repo with my ghostty splits as I like them and the tmux named the worktree. I then tell the Claude code about the tmux when it needs to look. It’s pretty good at natively handling the tmux interactions.

Ideally Ghostty would offer primitives to launch splits but c’est la vie. Apple automation it is.

reply
> I'm not going to dump tens of GB of stuff to a log file

In the same vein as the parent comment, the curiosity is why you would vibe code a solution instead of reaching for grep.

reply
You can start a tmux session and tell your agent about it and it will happily send commands and get the output from it.

I saw this post a while ago that turned me on to the idea: https://news.ycombinator.com/item?id=46570397

reply