Skip to Content
GuidesUse casesGive your AI a voice

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

  1. Connect the agent and switch on exec for it (grant risk classes). A command can do anything your user account can.
  2. Ask it to speak. It calls exec_run with say and the text.
  3. To speak at the end of a long job, ask it to follow the task with task_output and 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: exec is 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 no say of its own.

Let ChatGPT run commands · Pause a machine