Perhaps like how the Kakoune text editor[0] (discussed a few days ago on HN [1]) uses tmux to manage panes (although that's C++ and just uses the Tmux client[2]).
This was exactly what i was looking for. With this, i have something like a console, to control the panes, windows
My biggest usecase right now is when i get dropped to a pdb shell, right now i call os.system("tmux split-window ..." ) with specific commands to either open up the source code of the last frame, or to open up a log file dump . Using libtmux would be easier and cleaner.
We're probably going to use it in our robotic software launcher which we are using instead of roslaunch [0]. Since the scripts are Python, it will be convenient to launch all processes in different windows within same session.