Agent alerts

See when an agent finishes or needs your input while you are watching another terminal or application.

While you work in another tab, the agent's tab says it needs your input; hover it for the full message.
While you work in another tab, the agent's tab says it needs your input; hover it for the full message.

Set up once per host

  1. Open a Local, WSL or SSH tab on the host where the agent runs.
  2. Open Settings → Coding agents → Connect a coding agent and choose Connect… in that host’s row. In the dialog that opens, turn on the switch next to Alerts & resume. Review the file changes and confirm. When Claude Code or Codex starts on a host that is not connected, the tab offers the same step.
  3. Press Send test alert under Settings → Coding agents → Alerts, then switch to another tab within five seconds.

The tab you are watching never alerts. Other tabs show the alert text in their subtitle and mark their workspace. On Windows the taskbar button flashes and shows how many tabs are waiting.

Stopped on an error

A turn that ends on an API error (a rate limit, an overload, a failed login) also alerts, so an agent does not sit stuck while you are away: the alert reads “Stopped on an error”. Claude Code needs version 2.1.78 or later; Codex alerts this way in Linux and WSL tabs. A host set up with an older release reads Update needed in Settings → Coding agents: choose Manage… and press Update… once.

A Claude Code: Stopped on an error alert on the agent's tab
Claude Code stopped on an API error: the tab says so.

What each agent needs

Claude Code sends nothing by default. Setting up Alerts & resume adds its alert hook, which reports finished turns, permission prompts and turns that stop on an error. Codex CLI rings by default; the setup makes it send the text of its reply or question. Any program can alert with a terminal bell, OSC 9 or OSC 777.

For Gemini CLI, enable general.enableNotifications: true. Inside tmux, enable allow-passthrough on. The terminal must receive the bell or notification sequence for NeuroTerm to show it.

Platform behaviour and troubleshooting

  • Windows supports taskbar flashing and an overlay count of tabs needing attention. Linux notification presentation depends on the desktop environment; do not expect the Windows taskbar count.
  • If the test works but Claude stays silent, install or update the Claude alert hook on the active host.
  • If the test is silent, move away from the active tab and check app alert toggles, operating-system notification permissions and Do Not Disturb.
  • Notifications are limited to at most one per tab every ten seconds. Repeated events in that window may not create another notification.

A completion hook waits for Claude’s background agents and workflows to finish. Long-running background shells and monitors do not hold it back.