Get told when an agent needs you
Agents tells you when one of your own agents needs you or is done, so you can leave the app closed. Only an agent’s owner hears about it. Choose what you get in Settings, Notifications, from your menu in the places bar or ⌘ and comma.
What each kind sends
Section titled “What each kind sends”Each notice is one line, the agent’s name and fixed words. It never holds the agent’s own text, a file or a secret.
| Kind | When | The notice says |
|---|---|---|
| Needs my approval | The agent asks before it uses a tool or connects an app, and no standing rule answered it. | herald: Needs your approval |
| Needs my answer | The agent asks you a question. | herald: Needs your answer |
| Stops | The agent’s session stops on an error. | herald: Stopped |
| Finishes | A turn ends with no question left open. A pull request’s ship turn never says it finished. | herald: Finished |
| Says it is stuck | The agent calls notify_people, at most once in ten minutes. Only your phone gets it. Say in the chat what it needs. |
herald is stuck |
Every kind starts on. Turning one off holds on every device at once.
On the Mac app
Section titled “On the Mac app”Turn on Notify me when my agents need me or finish, at the top of Notifications. Only the Mac app has this switch, and each Mac keeps its own. A notice shows only while no window of the app has the focus, and a click on it opens where the agent works.
On your phone
Section titled “On your phone”Phone notices go through ntfy, a free service with apps for iPhone and Android.
- Turn on Send them to my phone. Agents makes your link,
https://ntfy.sh/and 32 random letters and digits, the first time. - Select Copy link. On a page whose address starts with
http://, the browser can’t copy for you, so click the link to select it and press ⌘C. - In the ntfy app, add a subscription and paste the link.
- Select Send a test notice. Your phone shows
Agents: Test noticeunder the title Agents.
Anyone who has your link reads your notices, so keep it to yourself. Turning the phone off and on again keeps the same link. A notice ntfy refuses is tried again when the server starts, three tries at most. Your server may send to its own ntfy server instead of ntfy.sh. AGENTS_NTFY_URL in the API’s settings names it.