Minimonitor

Compact sidebar variant of the ait monitor TUI for watching code agents

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.

Purpose

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.

Relationship to monitor

Aspectait monitorait minimonitor
WidthFull window~40 columns (configurable)
Shows agentsYesYes
Shows TUIs and other panesYesNo
Preview zone with keystroke forwardingYesNo
Intended placementIts own tmux windowA side split inside an agent window
TUI switcher (j)YesYes

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.

Auto-spawn and auto-despawn

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.
  • The TUI switcher — when it creates an agent window for an explore target.

All of these call the same auto-spawn helper. It only acts when:

  • The new window name starts with agent- (the default agent prefix).
  • No monitor or minimonitor pane is already running in that window.

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.

When to launch manually

Because auto-spawn is the primary mode, manual ait minimonitor invocations are rare. Reach for them only when:

  • You want a status sidebar in a window that was not created by an ait TUI (e.g., you started an agent pane by hand).
  • You killed a minimonitor split and want to bring it back without restarting the agent.
  • You are experimenting with a layout where minimonitor sits alongside a non-agent pane.

For a full dashboard with previews, pane classification, and kill/switch controls, use monitor instead.


Next: How-to guides · Monitor · Board


How-To Guides

Task-oriented guides for using ait minimonitor