The smallest possible visible confirmation that hooks are working: a notification each time PI finishes a turn with no pending messages.
hooks:
- id: idle-notify
event: session.idle
actions:
- notify: "Agent is idle"Usually:
~/.pi/agent/hook/hooks.yaml
When PI finishes a turn and has no pending messages, it shows a notification.
- Start PI
- Do one normal agent turn
- Wait for the turn to finish
- Confirm the notification appears
- In headless PI,
notifyis skipped. - If you want richer details, use the long form with a level:
actions:
- notify:
text: "Idle"
level: success