ntfy Notifications for AI Agent Approvals
说明与用途
使用 ntfy 代替 Slack,实时接收 AI 代理待审批操作的手机通知,支持批量推送和安全主题命名。
问题
Receive phone notifications for AI agent actions awaiting approval without using Slack or third‑party push services.
结果
Instant, lightweight phone alerts for AI agent approvals, avoiding Slack and third‑party SaaS, with digest batching to reduce noise.
工作流
- 1. Create an ntfy channel in Impri using an admin‑scope API key, specifying ntfy URL and a hard‑to‑guess topic.
- 2. Subscribe to the topic on the ntfy mobile app (no account needed).
- 3. In the agent code, push each draft to Impri via the /v1/actions endpoint with the desired preview and expiry.
- 4. Impri delivers the action to the ntfy channel; ntfy batches actions within the digest window and sends a single notification to the phone.
- 5. On the phone, tap the notification to open the Impri inbox link and approve, reject, or edit the draft.
证据
Pick a topic name that's hard to guess — ntfy topics are unauthenticated by default, so anything predictable like my‑approvals can be subscribed to by a stranger.
A channel that fails delivery five times running is auto‑disabled — worth knowing if your homelab server reboots and ntfy is briefly unreachable; check Settings → Notifications after an outage rather than assuming silence means nothing happened.
- 记录日期: 2026-09-21T22:15:38.674Z