New:Socket for Asana Is Now Available.Learn more
Get Started

agent-noti

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

agent-noti

Audio notifications for Claude Code & Codex — customizable sound themes

latest
npmnpm
Version
1.4.2
Version published
Maintainers
1
Created
Source

agent-noti

Audio notifications for Claude Code and Codex. Hear when your agent is done or needs your input.

Works on macOS, Linux, and Windows.

Install

npm i -g agent-noti

That's it. Hooks are added automatically and the interactive sound picker launches so you can choose a theme. Restart your agent.

What it does

EventSoundClaude CodeCodex
Agent finishedidle soundStopagent-turn-complete
Needs your inputinput soundPermissionRequestapproval-requested

Sound themes

Each theme includes a separate idle and input sound.

ThemeDescription
defaultOriginal notification
cowMoo!
gooseHonk!
duckQuack quack
carVroom vroom
slide-whistleWheee!
video-gameRetro gaming
digital-glassSleek & modern

Commands

agent-noti install        # Add hooks + pick theme       (i)
agent-noti uninstall      # Remove hooks
agent-noti test           # Play current sounds           (t)
agent-noti sounds         # List available themes          (s)
agent-noti pick           # Interactive sound picker       (p)
agent-noti add-custom     # Use your own sound files       (ac)
agent-noti volume <1-10>  # Set volume level               (v)
agent-noti mute           # Mute notifications             (m)
agent-noti unmute         # Unmute notifications           (u)
agent-noti ntfy           # Configure ntfy.sh push alerts  (n)
agent-noti ntfy-test      # Send a test push notification  (nt)
agent-noti reset          # Reset everything               (r)

Every command has a short alias shown in parentheses — e.g. agent-noti v 5 instead of agent-noti volume 5.

Interactive picker

agent-noti pick

Navigate with arrow keys, preview sounds before selecting:

  • Up / Down — navigate themes
  • Left — play idle sound
  • Right — play input sound
  • Enter — select theme
  • q — quit

The picker also includes + Add custom at the bottom, which walks you through importing your own sound files. Once added, your custom sounds appear in the picker below default.

Custom sounds

Run agent-noti add-custom (or select + Add custom in the picker) for an interactive flow:

  • Choose idle sound — enter a file path or skip (use default)
  • Choose input sound — enter a file path, use same as idle, or skip

Custom files are copied to ~/.agent-noti/sounds/ so they persist across package updates.

Volume & mute

agent-noti volume 5   # Set volume 1-10
agent-noti volume     # Show current volume
agent-noti mute       # Silence all notifications
agent-noti unmute     # Re-enable notifications

Setting volume while muted auto-unmutes. Volume works across all platforms.

Push notifications (ntfy.sh)

Get push notifications on your phone or desktop via ntfy.sh — even when you're away from the terminal. ntfy works independently from audio: you can mute sounds and still receive push alerts.

Setup

agent-noti ntfy

This opens an interactive TUI where you can:

  • Set your ntfy server and topic
  • Toggle which events send push notifications (task complete / approval needed)
  • Set priority level and time threshold
  • Send a test notification

The threshold setting (in minutes) skips push notifications for quick tasks. For example, set it to 5 and you'll only get pinged if the agent ran for at least 5 minutes. Set to 0 to always notify.

On first run you'll be prompted for a topic name. Subscribe to the same topic in the ntfy app (Android/iOS/web) to receive notifications.

Quick test

agent-noti ntfy-test

Sends a test notification to your configured topic without opening the interactive TUI.

Config fields

FieldDefaultDescription
ntfy.enabledfalseMaster on/off
ntfy.serverhttps://ntfy.shntfy server URL
ntfy.topicYour topic name (required)
ntfy.prioritydefaultmin, low, default, high, urgent
ntfy.threshold0Min minutes before notifying (0 = always)
ntfy.idletrueNotify on task complete
ntfy.inputtrueNotify on approval needed

Config

All settings are stored in ~/.agent-noti/config.json:

{
  "idle": "cow",
  "input": "cow",
  "volume": 10,
  "muted": false,
  "ntfy": {
    "enabled": true,
    "server": "https://ntfy.sh",
    "topic": "my-agent-alerts",
    "priority": "default",
    "threshold": 5,
    "idle": true,
    "input": true
  }
}

Uninstall

npm uninstall -g agent-noti

Hooks are removed automatically.

Platform support

OSAudio player
macOSafplay (built-in)
Linuxffplay, paplay, or mpv (tries in order)
WindowsPowerShell MediaPlayer

License

MIT

Keywords

claude

FAQs

Package last updated on 18 Feb 2026

Related posts