blog /
Push Notification When a Coding Agent Blocks: Phone Setup
The usual way this goes wrong: you set up a desktop notification, walk away from the desk, and the agent sits blocked at a permission prompt until you come back. A desktop notification fires on the computer you are sitting at. To get a push notification when a coding agent blocks, finishes or fails, the phone needs the qoop app, because the browser page at qoop.si/app cannot send one. This post turns it on in five steps, shows what a push says (one of three fixed sentences plus four numbers, nothing from the screen), and covers how to check and mute it.
Without qoop: what each agent sends
Each vendor has its own route, and for one tool it may be enough.
- Claude Code can push to the Claude app while Remote Control is active. Install the app, sign in with the account you use for Claude Code, allow notifications, then run
/configand turn on "Push when Claude decides", "Push when actions required" (permission prompts and questions), or both. The docs say there is no per-event configuration beyond those two toggles. It is a Claude Code feature only. - Codex and Gemini CLI have notifications for the desktop terminal (Codex also a
notifyprogram that you write), with no phone push of their own.
Claude Code's Notification hook (matchers such as permission_prompt and idle_prompt) can run a command of yours, which is the route to your own push service. Either way you end up with one setup per tool and a different set of event names for each. For desktop alerts see a notification when Claude Code finishes, and for alerts over ssh see terminal notifications over ssh.
Before you start
- qoop is installed from the release install, with an agent running in a tab (
cd my-project, thenqoop). A build from source has no phone part. Install qoop and start your first agent covers it. - A phone with the qoop app, on iOS or Android. This post does not name a store.
- The phone can see the computer one of two ways. Either the computer is signed in with
qoop loginand the app uses the same account, which needs no pairing, or you pair by code withqoop pair, which needs no account and works only in the app.
Step 1: Install the app and sign in
Install the qoop app and open it. The sign-in screen says "Welcome to qoop". Tap "Continue with <provider>" and use the account you gave qoop login; the buttons shown are the providers switched on. After sign-in the dock reads Board, Inbox, qass, Agents and Settings, and your computer is listed by itself.
Agents on a server need one extra move. With a qoop session running on the server, pair it over ssh with ssh -t devbox '~/.local/bin/qoop pair', scan the QR code it prints with the qoop app, and the phone reaches it with the Mac off.
Step 2: Allow notifications
The app asks the system for permission when it starts. Say yes. iOS asks once, and after a refusal only the system settings can turn it back on. On Android 13 or newer, accept the notification channel prompt. The getting-started card has a matching row, "Turn on notifications", shown on the phone only.
Step 3: Know the three sentences
A push about an agent is one of three fixed sentences plus four numbers. The table gives each sentence by meaning, not exact wording. A question card has a fourth sentence, described after the tables.
| The push says | The agent is | Tap it and you land in |
|---|---|---|
| An agent is waiting for you | blocked | that terminal |
| An agent finished | done | that terminal |
| An agent failed | failed | that terminal |
| Number | Points at |
|---|---|
| computer | which of your computers |
| space | which space on it |
| terminal | which terminal |
| reason | why the push was sent |
A question card that lands in the Inbox sends one alert, worded "A question waits for you" and carrying none of the card's text. If the question is urgent now the alert has a sound; if it can wait until later it arrives silently. Tapping it opens the Inbox, where the card sits. While the app is open, answering the card clears its alert. Cards that were already waiting when the bridge on the computer started send nothing. A card that opens while the computer cannot reach qoop.si, or while qoop restarts, still sends its alert once the connection is back, as long as it still waits on you; one you answered in the meantime sends nothing. A question left unanswered for a day leaves the Inbox and sends nothing more: the agent brings it up again the next time you write to it.
Nothing is read off a screen. No prompt text, file name, code or output can be in an alert, so a phone face up on a table shows no more than the sentence. Phone and computer talk end-to-end encrypted through a relay that sees neither screens nor keys. For why a push should stay this bare, see what is safe to send to a phone.
There is at most one push per terminal per 30 seconds, and an alert is withdrawn once the agent is handled, or finished and seen. One optional setting is separate: Settings > Privacy and security > "Live status on the lock screen" shows the top agent's tab name and conversation title. Leave it off if you want nothing but the sentence.
Step 4: Tap to open
Tapping the alert opens that terminal. A blocked agent is also first in the Inbox under "Needs you", as a card with what it asked and buttons. For Claude Code the buttons are its own numbered menu, and a tap types that number only if the same agent is still blocked on the same menu. Other agents get key chips on the terminal page. A failed or finished agent opens when you tap it, and a swipe to the left dismisses it.
Step 5: Mute
Mute is a setting on the computer, in ~/.config/qoop/config.toml:
[notify]
mute = "everywhere"
The values are "off", "here" and "everywhere". "here" quiets this computer, and "everywhere" quiets its phones too. You can also run qoop config set notify.mute everywhere, or use the bell at the foot of the sidebar. qoop reads the file again within two seconds. Mute on the computer.
Check a push notification when a coding agent blocks
-
List the phones this computer knows with
qoop devices ls. On 0.12.1 each line names a device, its key and when it paired, and a browser's line carries the wordbrowser. Your phone's line should not. -
Read the mute setting. On the test machine this printed:
$ qoop config | grep notify.mute notify.mute = "here"Anything but
"everywhere"leaves phone pushes on. -
Find the terminal number with
qoop agents, then wait for it to block:qoop wait 3 --until blocked --timeout 600. It exits 0 when the state is reached and 124 on timeout. -
Ask the agent for something that makes it stop and ask, lock the phone and wait. The push should arrive, and
qoop waitreturns. -
Tap it. The terminal opens. Wait 30 seconds before testing a second event on the same terminal.
When it does not work
- No push ever arrived. Check you use the native app, not the browser page. If you refused permission on iOS, only system settings can undo it.
- The computer list is empty. The browser page says "No computers yet". No computer is linked to the account yet. Run
qoop login, then sign in on the phone with the same account. - Phones stay silent. Set
notify.muteto"off", as in Step 5. - The second alert never came. The 30 second limit per terminal held it back.
- The alert vanished. It is withdrawn when the agent is handled or finished and seen.
- The state looks wrong.
qoop agents explain <terminal>says the state, whether it came from a hook or the screen, and the rule. - The agent is on a Linux server. With a qoop session running there, the pairing prints over your ssh session and needs linger.
qoop pairattemptsloginctl enable-lingeron its own and names the sudo command to run if that fails.
Sign up at qoop.si, then run the five steps with the agents you already use.