How-To Guides
Task-oriented guides for using ait minimonitor
ait minimonitor is a narrow (~40 column) sidebar TUI that lists the code agents running in the current tmux session, with idle indicators and a companion-pane focus model. It is the agents-only cousin of ait monitor: no preview panel, no TUI/other pane categories — just the running agents in a compact column designed to sit next to a code pane while you work.
Minimonitor is meant to be auto-spawned alongside every code agent you launch from the ait TUIs. You rarely need to start it yourself — whenever a new agent window is created, the launching TUI also splits a minimonitor pane next to it, and minimonitor closes itself automatically when the agent pane exits. Manual launch via ait minimonitor is supported but is an escape hatch rather than the primary workflow.
Minimonitor is the persistent sidebar companion of a code agent pane. It gives you an at-a-glance status view of all running agents in the session without giving up screen real estate to the full monitor dashboard, so you can keep watching the agent next to you (and all the others) while you stay focused on the agent’s output.
| Aspect | ait monitor | ait minimonitor |
|---|---|---|
| Width | Full window | ~40 columns (configurable) |
| Shows agents | Yes | Yes |
| Shows TUIs and other panes | Yes | No |
| Preview zone with keystroke forwarding | Yes | No |
| Intended placement | Its own tmux window | A side split inside an agent window |
TUI switcher (j) | Yes | Yes |
The two can coexist in the same tmux session — a typical layout has monitor in its own window as a dashboard, and minimonitor split alongside each agent pane. See Pairing minimonitor with monitor in the how-to for details.
Minimonitor’s lifecycle is tied to the agent pane it sits next to — every agent window you launch from an ait TUI gets a minimonitor split alongside it, and that minimonitor closes itself when the agent pane exits. You don’t manage minimonitors explicitly; they appear and disappear with the agents they track.
Where auto-spawn fires: any TUI that can launch a new code agent window also spawns a minimonitor split next to it:
ait board — when you pick a task and launch its agent (from the action menu or the agent command screen).ait codebrowser — when you launch an agent from a code file or from the history screen.ait monitor — when you press n on an agent card to pick its next ready sibling task, which creates a new agent window.All of these call the same auto-spawn helper. It only acts when:
agent- (the default agent prefix).Auto-despawn: minimonitor polls the panes in its own tmux window on every refresh cycle. As soon as there is no longer any pane other than minimonitor itself — typically because the code agent has finished and its pane exited — minimonitor calls exit() and the split pane closes. A 5-second grace period after startup prevents premature exit on cold launch. The net effect is that the sidebar appears when the agent starts and disappears when the agent finishes, without any manual cleanup.
Auto-spawn is controlled by tmux.minimonitor.auto_spawn (default true) and tmux.minimonitor.width (default 40 columns) in project_config.yaml; see the how-to for details.
Because auto-spawn is the primary mode, manual ait minimonitor invocations are rare. Reach for them only when:
For a full dashboard with previews, pane classification, and kill/switch controls, use monitor instead.
Next: How-to guides · Monitor · Board
Task-oriented guides for using ait minimonitor