
tmux
CLI终端复用器:在一个终端里创建多个会话与窗格,断开后进程仍在后台运行;agent 常用它托管长时间任务、驱动交互式程序,不少多 agent 并行会话工具也以它为底座。
Welcome to tmux!
tmux is a terminal multiplexer: it enables a number of terminals to be created, accessed, and controlled from a single screen. tmux may be detached from a screen and continue running in the background, then later reattached.
This release runs on OpenBSD, FreeBSD, NetBSD, Linux, macOS and Solaris.
Dependencies
tmux depends on libevent 2.x, available from this page.
It also depends on ncurses, available from this page.
To build tmux, a C compiler (for example gcc or clang), make, pkg-config and a suitable yacc (yacc or bison) are needed.
Installation
Binary packages
Some platforms provide binary packages for tmux, although these are sometimes out of date. Examples are listed on this page.
From release tarball
To build and install tmux from a release tarball, use:
./configure && make
sudo make install
tmux can use the utempter library to update utmp(5), if it is installed - run
configure with --enable-utempter to enable this.
For more detailed instructions on building and installing tmux, see this page.
From version control
To get and build the latest from version control - note that this requires
autoconf, automake and pkg-config:
git clone https://github.com/tmux/tmux.git
cd tmux
sh autogen.sh
./configure && make
Contributing
Bug reports, feature suggestions and especially code contributions are most welcome. Please send by email to:
Or open a GitHub issue or pull request. Please read this document before opening an issue.
There is a list of suggestions for contributions. Please feel free to ask on the mailing list if you're thinking of working on something or need further information.
Documentation
For documentation on using tmux, see the tmux.1 manpage. View it from the source tree with:
nroff -mdoc tmux.1|less
A small example configuration is in example_tmux.conf.
And a bash(1) completion file at:
https://github.com/scop/bash-completion/blob/main/completions-core/tmux.bash
For debugging, run tmux with -v or -vv to generate server and client log
files in the current directory.
Support
The tmux mailing list for general discussion and bug reports is:
https://groups.google.com/forum/#!forum/tmux-users
Subscribe by sending an email to:
相关资源

herdr
CLI为编码 agent 设计的终端复用器:分屏运行 Claude Code、Codex 等,标记每个窗格工作中、阻塞或空闲,断开连接后会话继续运行;agent 也能通过 CLI 创建窗格、互相发消息。
herdrdev/herdr44.4k
Zellij
CLI用 Rust 写的终端复用器,可以替代 tmux:支持布局文件、浮动与堆叠窗格、WebAssembly 插件和内置 Web 客户端,适合同时开多个 agent 会话。
zellij-org/zellij35.7k
Hermes Agent
CLINous Research 出品的自我改进型 Agent:内置记忆与从经验中自动生成技能的学习循环,可接任意模型供应商;hermes 命令提供终端界面,也能经网关接入 Telegram、Slack 等渠道并定时执行任务。
NousResearch/hermes-agent254k
Claude Code
CLIAnthropic 官方终端编码 Agent:读懂代码库、修改代码、执行命令、处理 git 流程,支持插件、MCP 与无头模式(claude -p)。需要登录 Claude 账号或配置 API Key。
anthropics/claude-code151k
Codex CLI
CLIOpenAI 官方在本地运行的编码 Agent,Rust 实现,可读写代码、执行命令并在系统沙箱中运行;可用 ChatGPT 订阅登录,也可配置 API Key。
openai/codex130k
Pi Coding Agent
CLI极简、可扩展的终端 AI Agent:可让它自己编写提示词模板、技能、扩展与主题,支持 print / JSON / RPC 模式供脚本调用,并提供 TypeScript SDK。需要 Node.js 22.19+。
earendil-works/pi116k