pi-agent-notify
v0.1.0
Published
Pi Coding Agent extension: registers the notify / get_messages / check_message_status / check_responses_* tools that talk to the agent-notify macOS notification server (TTS audio alerts, iTerm2 inline images, agent-to-agent message stream).
Readme
pi-agent-notify
Pi Coding Agent extension that wires Pi into the agent-notify notification system.
This is the Pi client for agent-notify — the macOS notification server (audio + TTS with per-agent voices, MCP integration, sequential queue, iTerm2 inline images, multi-window watch mode). Install and run the backend first; this extension talks to it over HTTP.
Tools registered
| Tool | Purpose |
|------|---------|
| notify | Fire a notification: question, permission, review, done, status, waiting, error, message, image. Audio plays BEFORE approval/review dialogs so the operator hears the alert before acting. |
| get_messages | Pull recent notifications from the agent-notify message stream (filters: type, to, project, model, since_id). |
| check_message_status | Playback status: latest_id, last_played_id, has_new, queue_length. |
| check_responses_available | Whether any responses were sent to a message ID. |
| check_responses_observed | Whether responses to a message ID were actually heard (audio played). |
The notify tool description carries the core notification contract (when to fire, fresh $PI_MODEL discovery, path-only image field). For the full policy — cadence heuristics, timing, examples — pair it with a notify skill in your Pi setup.
Configuration
| Variable | Default | Purpose |
|----------|---------|---------|
| AGENT_NOTIFY_URL | http://localhost:8881 | Base URL of the agent-notify server |
Install
Via npm (published):
pi install npm:pi-agent-notifyVia git (latest, pre-publish or pinned):
pi install git:github.com/F1LT3R/pi-agent-notifyManual (managing ~/.pi/agent/extensions/ yourself):
git clone https://github.com/F1LT3R/pi-agent-notify.git
ln -s "$PWD/pi-agent-notify/agent-notify.ts" ~/.pi/agent/extensions/agent-notify.tsThen /reload in Pi (or start a new session). Verify with pi list.
Remove: pi remove npm:pi-agent-notify (or delete the symlink).
Repository layout
agent-notify.ts the extension (single file, loaded by Pi)
package.json npm packaging (pi.extensions entry)Related
- agent-notify — the notification server this extension talks to (backend)
