A terminal multiplexer whose server you can drive from code.
A background server owns the terminal. The TUI, desktop, and agents connect to it.
Try it
Full quickstart →- Start
phuxOpen a shell. - Detach
Ctrl-A, then dLeave it running. - Return
phuxSame shell, same output.
Detach leaves it running. A server crash or reboot ends it. Continuity details →
The model
Server
Session
Resource · terminalshell + output
Intake · sessionWork without a destination
View · TUI paneView · desktop tileAgent · read / type
Guides
Use an agent
Read https://docs.phux.sh/llms.txt and help me get started with phux. Choose the setup for my agent host, check my installed version, and verify a read before sending input. Use exact pane targets and bounded waits. Ask before interrupting or destroying existing work.
Search the docs as JSON: the ten best-matching sections, each with its url, markdown, page, heading, and text. Without q, every section. https://docs.phux.sh/search.json?q=detach+session