Feature Request: play sound when agent is done running #1565

Open
opened 2026-02-16 17:31:35 -05:00 by yindo · 4 comments
Owner

Originally created by @anishthite on GitHub (Sep 2, 2025).

Originally assigned to: @thdxr on GitHub.

happy to implement, just lmk where would be a good place to add it

Originally created by @anishthite on GitHub (Sep 2, 2025). Originally assigned to: @thdxr on GitHub. happy to implement, just lmk where would be a good place to add it
Author
Owner

@github-actions[bot] commented on GitHub (Sep 2, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #213: General feature request for notifications when agent waits for input or finishes tasks
  • #2021: Specific request for "agent.finished" plugin event (closed but implemented functionality could enable sound notifications)

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Sep 2, 2025): This issue might be a duplicate of existing issues. Please check: - #213: General feature request for notifications when agent waits for input or finishes tasks - #2021: Specific request for "agent.finished" plugin event (closed but implemented functionality could enable sound notifications) Feel free to ignore if none of these address your specific case.
Author
Owner

@David-Else commented on GitHub (Sep 2, 2025):

Please make it default to off as sounds can be annoying, on Linux a default notify-send would be great, seems that would be easy to implement: https://github.com/sst/opencode/issues/213#issuecomment-3072785204

@David-Else commented on GitHub (Sep 2, 2025): Please make it default to off as sounds can be annoying, on Linux a default `notify-send` would be great, seems that would be easy to implement: https://github.com/sst/opencode/issues/213#issuecomment-3072785204
Author
Owner

@rekram1-node commented on GitHub (Sep 2, 2025):

You can do this with a plugin btw @anishthite

@rekram1-node commented on GitHub (Sep 2, 2025): You can do this with a plugin btw @anishthite
Author
Owner

@berenar commented on GitHub (Oct 27, 2025):

An example plugin that achieves this: https://github.com/berenar/dotfiles/blob/main/opencode/.config/opencode/plugin/notification.ts
FYI: It only triggers if kitty (my terminal) is in the background

@berenar commented on GitHub (Oct 27, 2025): An example plugin that achieves this: https://github.com/berenar/dotfiles/blob/main/opencode/.config/opencode/plugin/notification.ts FYI: It only triggers if kitty (my terminal) is in the background
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1565