Give your AI a voice on your Mac
An agent in a chat makes your Mac speak: “the build is done”, “the disk is almost full”, or a
line in a demo. It uses the say command that macOS already has.
When to use this
You are away from the screen and want to hear when something finishes, or you are showing what an agent can do on a real computer.
Steps
- Connect the agent and switch on
execfor it (grant risk classes). A command can do anything your user account can. - Ask it to speak. It calls
exec_runwithsayand the text. - To speak at the end of a long job, ask it to follow the task with
task_outputand speak when it ends (long jobs).
In our run ChatGPT asked Claude Code on the Mac to do it, which works the same way (ask another AI), with the same safety rules.
Check
You hear the sentence, and your page lists the exec_run under the agent’s name.
If it fails
denied:execis off for this agent or on this machine.- No sound: the Mac’s volume is down or muted.
say: command not found: the machine is not a Mac. Linux has nosayof its own.