Guide
Speak When Done: your coding agent says out loud when it’s done
An agent works for ten minutes, finishes, and waits. You are in the kitchen and don’t know. Speak When Done is a small open-source package that says it out loud: “Tests pass, ready for review.” It works with your computer’s own voice, with no account and no key.
Updated
It is made by the DuoWave authors and is free under Apache-2.0. On its own it needs nothing but Node.js. With DuoWave, the phrase can be said on a smart speaker in the room.
What it does
- Says what happened, not just “done”: the first sentence of the agent’s last message, with Markdown stripped.
- Speaks when the agent needs you, too: when Claude Code waits for your approval or input.
- Uses your computer’s voice:
sayon macOS, Windows speech (SAPI),spd-sayorespeak-ngon Linux. Any language your system has a voice for. - Never talks over itself: the next phrase waits for the previous one. Long text is cut to whole sentences, 300 characters by default.
- No accounts, no API keys, no telemetry, and no dependencies. Node.js 18.17 or newer.
Sources: Speak When Done, npm
Claude Code: install the plugin
The plugin speaks on its own after every turn (the Stop hook) and when Claude waits for you (the Notification hook). Type in Claude Code:
/plugin marketplace add duowaveai/speak-when-done
/plugin install duowave-speak@duowaveClaude Code asks for the plugin’s options when you enable it: language, voice and, if you use it, DuoWave’s address and key. All of them can stay empty.
Only want the MCP server, without the hooks? Add it and ask Claude to “say it out loud when you’re done”:
claude mcp add speak -- npx -y speak-when-doneThen it is the model that decides to speak, and a model can forget. The hooks never do. Why hooks are the sure way is in Claude Code voice notifications.
Sources: Speak When Done
Codex, Cursor and any MCP client
Codex speaks after every turn with its notify setting, in ~/.codex/config.toml:
notify = ["npx", "-y", "speak-when-done", "hook"]Cursor, Windsurf, Claude Desktop and other MCP clients take the server in their MCP config (~/.cursor/mcp.json for Cursor):
{
"mcpServers": {
"speak": {
"command": "npx",
"args": ["-y", "speak-when-done"],
"env": { "SPEAK_LANGUAGE": "en-US" }
}
}
}The server gives the model two tools: notify_done, which it is asked to call once at the end, and speak, for any short text. From a script or a CI job, call it directly:
npx -y speak-when-done say "The build is green"Sources: Speak When Done
Hear it in the room, with DuoWave
A notification on the screen is easy to miss when you are not at the screen. DuoWave is a free, open-source voice assistant that runs on your computer and connects to a smart speaker at home. Give Speak When Done DuoWave’s address and an access key, and the phrase is said on the speaker, or in DuoWave’s own voice on the computer.
- 01
- 02
In DuoWave, open Settings → People and access → Access keys and create a key for Speak When Done. Give it the right to speak through the speaker; for DuoWave’s voice on the computer, also Chat, time, date.
- 03
Set the address and the key. In the Claude Code plugin they are its options, and the key is kept in Claude Code’s secure storage; elsewhere they are environment variables.
DUOWAVE_URL=http://localhost:7780
DUOWAVE_KEY=<the key you created in DuoWave>By default the phrase goes to a speaker if one is connected, otherwise to the computer. If DuoWave can’t be reached, the system voice says it, and the tool’s answer says why.
Sources: Speak When Done, DuoWave, release 0.18.3: gateway/src/core/identity/permissions.rs, DuoWave, release 0.18.3: panel texts in English, settings.ts and core.ts
What leaves your computer
Without DuoWave’s address and key, Speak When Done makes no network requests at all: it runs the speech program your system already has. With them, it sends the phrase only to the DuoWave address you set. There is no telemetry.
Sources: Speak When Done
If it stays silent
- Nothing is said. Run
npx -y speak-when-done say "test"in a terminal. If that is silent too, check the volume and, on Linux, thatspd-sayorespeak-ngis installed. - The hooks don’t fire. Type
/hooksin Claude Code and look forStopandNotification. - Wrong language or voice. Set
SPEAK_LANGUAGE(for exampleen-GB) or a voice by name withSPEAK_VOICE. - Too chatty.
SPEAK_QUIET=1mutes it for a while;/plugindisables it.
Sources: Speak When Done
When something else is better
- You want one line and no package. A
Stophook that runssaydoes the plain version; the config for each system is in Claude Code voice notifications. - You want to talk back, not just listen. Speak When Done only speaks. To give the task by voice and hear the answer, that is DuoWave itself: voice coding.
Questions
Is it free?
Yes. Speak When Done is open source under Apache-2.0, with no account and no key. DuoWave is free too. Speak When Done on GitHub.
Does it need DuoWave?
No. On its own it speaks with your computer’s voice. DuoWave only adds the speaker in the room and its own voice.
Which agents does it work with?
Claude Code as a plugin with hooks; Codex through its notify setting; Cursor, Windsurf, Claude Desktop and any other MCP client through the MCP server.
Can it speak languages other than English?
Any language your system has a voice for: set SPEAK_LANGUAGE, for example de or ja.
Sources
Checked on 23 November 2026.
- Speak When Done: README — what it says and when, install for Claude Code, Codex and MCP clients, settings, DuoWave, privacy
- npm: speak-when-done 0.1.0 — Apache-2.0, no dependencies, Node.js 18.17 or newer
- DuoWave, release 0.18.3: gateway/src/core/identity/permissions.rs — the key right to speak through the speaker
- DuoWave, release 0.18.3: panel texts in English, settings.ts and core.ts — People and access, Access keys, Chat, time, date
DuoWave
One small program between your things and any AI
DuoWave is a free, open-source AI assistant. Say what you need — it builds small apps, automates your routine and reports back when it's done.
DuoWave is an independent project. It is not affiliated with or endorsed by any speaker maker or AI company. Product names belong to their owners.