English | 한국어
AI CLI status notifications for tmux. Supports Claude Code, Codex CLI, and Gemini CLI out of the box.
Shows status icons on tmux window names when AI CLI tools are active:
- 💬 — AI is responding (output detected for 2.5s+)
- ❓ — AI is waiting for user input (permission prompt detected)
- ✅ — AI finished responding (output stopped)
- Icons auto-clear when you switch to the window
- Zero configuration — Works out of the box. No hooks, no API keys, no per-tool setup. Just install and go.
- Simple & unobtrusive — A single icon on the window name. No status bar clutter, no color changes, no visual noise.
Other plugins (e.g. tmux-agent-status, tmux-agent-indicator) require Claude Code hooks or tool-specific configuration. tmux-agent-pulse detects any supported CLI tool automatically via process tree inspection.
A background daemon polls all tmux panes every 0.5s. It inspects child processes of each pane (ps -eo pid,ppid,args) to detect AI CLI tools, then compares output snapshots to track activity changes. No hooks or configuration needed.
- tmux 3.0+
- TPM
Note: The plugin automatically enables the tmux status bar (
set -g status on) on load, as it's required to display window name icons.
Add to ~/.tmux.conf:
set -g @plugin 'devbrother2024/tmux-agent-pulse'Then press prefix + I to install.
git clone https://github.com/devbrother2024/tmux-agent-pulse ~/.tmux/plugins/tmux-agent-pulseAdd to ~/.tmux.conf:
run-shell ~/.tmux/plugins/tmux-agent-pulse/agent-pulse.tmuxOptional environment variables (set before the plugin loads):
| Variable | Default | Description |
|---|---|---|
AGENT_PULSE_INTERVAL |
0.5 |
Poll interval in seconds |
AGENT_PULSE_THRESHOLD |
5 |
Consecutive changes needed to detect responding |
AGENT_PULSE_DONE_THRESHOLD |
3 |
Consecutive unchanged polls needed to detect done |
AGENT_PULSE_ICON_RESPONDING |
💬 |
Icon for responding state |
AGENT_PULSE_ICON_DONE |
✅ |
Icon for done state |
AGENT_PULSE_ICON_WAITING |
❓ |
Icon for waiting (permission prompt) state |
AGENT_PULSE_CLI_PATTERN |
claude|codex|gemini |
Regex pattern to match CLI tool names in process args |
AGENT_PULSE_WAITING_PATTERN |
Do you want to allow |
Regex pattern to detect permission prompts in pane output |
Example in ~/.tmux.conf:
set-environment -g AGENT_PULSE_THRESHOLD 3
set-environment -g AGENT_PULSE_ICON_DONE "⏎"- Remove the plugin line from
~/.tmux.conf - Press
prefix + alt + u(TPM uninstall) - Clean up temp files:
rm -rf /tmp/agent-pulse-*
MIT
