🔊 Feature Request: Add Optional Sound Notification When a Turn Ends
What feature would you like to see?
Summary
Propose adding an optional feature to have Codex CLI play a short sound when a turn completes.
This would improve user experience during long-running tasks or when multitasking, providing an immediate signal that the assistant has finished responding.
Motivation
When using Codex CLI interactively, especially with complex or long-running model outputs, users often switch to other windows or contexts while waiting for completion.
Currently, there is no non-visual cue that the turn has ended — requiring users to constantly check back.
A simple audio notification would:
• Improve usability for multitasking workflows.
• Reduce idle time between turns.
• Help accessibility for users who rely on auditory cues.
Additional information
Proposed Implementation
- Add a new optional config flag in the CLI (e.g. in .codex/config or via --notify-sound).
- When enabled, play a short system beep or custom sound after Codex finishes generating output for a turn.
- Implementation ideas:
- Use cross-platform audio libraries (e.g. rodio) or system-native sound APIs.
- For minimal setup, even a terminal bell (\a) would be a good MVP.
- Example configuration:
[notifications]
sound_on_turn_end = true
sound_file = "default" # or path to custom sound
- Or configurable towards each workspace
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗