tmux-agent-status
v0.1.1
Published
Live agent tool status in tmux window tabs with color-coded states
Maintainers
Readme
tmux-agent-status
Live AI agent status in your tmux window tabs. See at a glance whether Claude Code, Codex, Copilot CLI, or Aider is thinking, writing, planning, or waiting — with color-coded icons right in the tab bar.
◆ 0:project ✎ 1:editor ● 2:shellStatus indicators
| Icon | Color | Meaning |
|------|-------|---------|
| ◆ | Blue | Thinking (reading, searching) |
| ✎ | Magenta | Writing code (Edit, Write, Bash) |
| ◇ | Cyan | Plan mode |
| ● | Green | Waiting for input |
| ▲ | Orange | Needs a decision (permission prompt) |
Requirements
- tmux
- Node.js >= 18
Install
npx tmux-agent-status installThis will:
- Install hook scripts for Claude Code and Codex
- Configure your tmux
window-status-formatto show agent status - Reload your tmux config
Update
After updating the package (or to re-apply configuration):
npx tmux-agent-status@latest updateUninstall
npx tmux-agent-status uninstallRemoves all hooks and tmux configuration changes.
Check status
See the current state of all active panes:
npx tmux-agent-status statusHow it works
- Agent tool hooks call a state-writer script with the current state (
thinking,writing,planning,waiting,deciding) - State is written atomically to
$TMPDIR/tmux-ai-status/<pane>.state - Tmux polls a tab-status script every 3 seconds via
#()inwindow-status-format - The script reads the state file and returns the matching tmux color code + icon
- If no state file exists, it falls back to process-tree detection of known AI tools
Supported tools
| Tool | Integration | |------|-------------| | Claude Code | Hook-based (automatic) | | Codex | Hook-based (automatic) | | Aider | Fallback process detection | | Copilot CLI | Fallback process detection |
License
MIT
