🗣️ orca-talkback
Hear your Orca coding agents talk back.
A one-to-three sentence spoken summary of every finished reply, voiced locally on your Mac.
Talk over it to stop it.
Status: 0.1, early. Tested on macOS (Apple Silicon) with Orca 1.4.265 and Claude Code agents. 113 daemon tests and 14 plugin tests.
Orca is a desktop app that runs coding agents such as Claude Code side by side. You can already talk to them with any dictation tool (Wispr Flow, macOS Dictation, ...). orca-talkback makes them talk back, like voice mode in the Claude apps: when an agent in the workspace you are looking at finishes, you hear what it did and what it is asking you, in plain speech, with no code or file paths read aloud.
What you hear after a real turn
From the daemon's log after an actual Claude Code turn (lines trimmed):
[status] structured-agent-session-...:cd834849 done -> speak
[say] I fixed the cutoff issue where replies were getting chopped at 200 characters.
[say] The daemon now pulls the full text from orca agent read instead, and all 73 tests are passing.
[say] When you get a chance, try talking over a long reply to check barge-in works.
[status] structured-agent-session-...:cd834849 working -> stop (agent started working)
The last line is the next prompt being sent: playback stops the moment the agent starts working again.
Contents
- Quick start
- How it works
- Turning it on and off
- Speaking or reading
- Configuration
- Privacy
- Troubleshooting
- Limitations
- Why Kokoro?
- Development
Quick start
You need: macOS on Apple Silicon, uv and Orca 1.4.248 or newer. No API keys and no Homebrew: everything runs on your Mac.
1. Install and set up
uv tool install git+https://github.com/CallumJMac/orca-talkback
orca-talkback setup
setup installs the Claude Code voice-mode hook (see Speaking or reading), downloads the Kokoro voice (about 340 MB), checks your microphone and checks the Orca plugin. The first install also downloads PyTorch for voice detection, so it takes a few minutes.
2. Add the Talkback plugin to Orca
In Orca, open Settings, Plugins, add the community marketplace (https://github.com/stablyai/orca-community-plugins.git, ref main) and install Talkback. Or from a terminal (the orca CLI ships inside the app; if it is not on your PATH, use /Applications/Orca.app/Contents/Resources/bin/orca):
orca plugin install CallumJMac/orca-talkback-plugin
Orca lists the access the plugin asks for (read workspace focus and agent status) and prints a Fingerprint: ap1-... line; re-run the command with --approve and that fingerprint.
3. Run it
orca-talkback
When it is ready you will see orca-talkback listening on http://127.0.0.1:47823. Ask a Claude Code agent something in an Orca chat and listen.
How it works
sequenceDiagram
autonumber
participant You
participant Orca as Orca agent pane
participant Plugin as Talkback plugin
participant Daemon as orca-talkback
participant Speakers
You->>Orca: dictate a prompt
Orca-->>Plugin: agent working
Plugin->>Daemon: focus, then status
Daemon->>Speakers: stop anything still playing
Orca-->>Plugin: agent done
Plugin->>Daemon: focus, then status
Daemon->>Orca: read the full reply
Daemon->>Daemon: take its hidden spoken line
Daemon->>Speakers: Kokoro speaks it, first sentence first
You->>Daemon: start talking (echo-cancelled mic)
Daemon->>Speakers: fade out
- The Talkback plugin is a tiny Orca worker. It forwards workspace focus and agent status to the daemon on
127.0.0.1:47823, in order, and re-sends focus before every status so a restarted daemon catches up. - The daemon decides what to do with each event (table below). When a reply should be spoken, it reads the agent's full message through the Orca CLI and takes the agent's own hidden spoken line (see Speaking or reading), or, if there is none, a cleaned-up version of the reply with code, tables and links removed.
- Kokoro synthesises the first sentence on its own, so you hear it while the rest is still being synthesised. A newer reply replaces the current one; replies never queue up.
- While it speaks, barge-in listens: every sample it plays is fed to WebRTC AEC3 as the echo reference, so only your voice gets through to Silero VAD. It needs about 160 ms of your voice to trigger, then fades out over 30 ms.
If the daemon is not running, Orca behaves exactly as before.
When it speaks
It only speaks while you are looking at the agent: Orca must be the app in front, and the agent must be in the workspace on screen, or the chat you just sent a prompt to. The second case exists because Orca's focus signal follows the sidebar, not chats, so sending a chat a prompt is the reliable sign you are viewing it. Orca repeats working events throughout a turn, so only a change of state counts.
| Event | Action |
|---|---|
| An agent you are viewing finishes, with Orca in front | Speak its reply |
| An agent finishes anywhere else, or while another app is in front | Nothing, and it is never replayed later |
| You send a prompt, or the agent on screen starts working again | Stop |
| You pick another workspace, or switch away from Orca | Stop (and the chat you prompted no longer counts as on screen) |
| You start talking | Stop |
The design document, with the full rules and trade-offs, is in docs/design.md.
Turning it on and off
| To | Do |
|---|---|
| Mute or unmute the workspace or chat on screen | Click 🔊 Talkback in Orca's status bar, or run Talkback: Toggle for this workspace from the command palette |
| Mute everything | Run Talkback: Toggle everywhere (the status bar reads 🔇 Talkback off) |
| Stop the current reply | Talk over it |
Muting something that is speaking stops it at once, and your choices are remembered across restarts. Both commands can be bound to a shortcut in Orca's keyboard settings.
Speaking or reading
The Talkback switch can also change how Claude Code writes in Orca chats. With the voice-mode hook installed:
| Talkback for the session | Claude Code writes | You hear | Time to first word |
|---|---|---|---|
| 🔊 On | Its normal reply, plus a hidden [//]: # (spoken: ...) line at the end |
That line, as the agent wrote it | under a second |
| 🔇 Muted | Its normal reply, for reading | Nothing |
The spoken line is a markdown comment (a link reference definition), which Orca's chat view hides. Claude Code's terminal would print it, so the hook only asks for it in Orca chats; agents running in a terminal are spoken as cleaned-up text instead. The agent that did the work says what it means, and nothing else sits between the reply and the voice. Without the hook, or when an agent forgets the line, a cleaned-up version of the reply is spoken instead: code, tables and links are dropped and long replies are cut at a sentence boundary.
orca-talkback setup installs the hook for you. To do it by hand instead, copy src/orca_talkback/hooks/talkback-voice-mode.sh somewhere stable and add it to ~/.claude/settings.json (it needs jq and curl, both built into recent macOS):
{
"hooks": {
"UserPromptSubmit": [
{ "hooks": [{ "type": "command", "command": "/path/to/talkback-voice-mode.sh", "timeout": 2 }] }
]
}
}
On each prompt it asks the daemon whether Talkback is on for that session, and if so adds the spoken-line instruction as hidden context. If the daemon is not running, it adds nothing.
Configuration
uv run orca-talkback --help
| Flag | Default | What it does |
|---|---|---|
--voice |
bf_emma |
Kokoro voice. Try af_heart, af_bella or bm_george |
--speed |
1.1 |
Speaking rate |
--no-barge-in |
barge-in on | Turn off talking over it |
--barge-in-ms |
160 |
Continuous speech needed to interrupt. Raise it if it stops too easily |
--vad-threshold |
0.8 |
Speech probability threshold. Lower it if it never stops |
--input-device |
your real microphone | Microphone for barge-in, matched by name, for example "MacBook Pro Microphone". By default it uses the system input, skipping virtual devices |
--speak-when-hidden |
off | Also speak while another app is in front (the workspace rule still applies) |
--verbose |
off | Log every event the plugin forwards, with the focused workspace, for troubleshooting |
--port |
47823 |
Leave as is: the plugin hard-codes this port (DAEMON_URL in the plugin's src/worker.ts) |
Set ORCA_CLI_COMMAND if your orca binary lives somewhere unusual.
Privacy
| Data | Where it goes |
|---|---|
| Microphone audio | Stays on your Mac. Opened only while it is speaking, used only for barge-in, never recorded. |
| Speech | Synthesised on your Mac. |
| The agent's reply text | Read from Orca on your Mac and never sent anywhere. orca-talkback makes no network calls. |
| The daemon | Listens on 127.0.0.1 only and rejects non-JSON requests, which blocks simple cross-site requests from web pages. |
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| Nothing is ever spoken | Daemon not running, or plugin not installed | curl -s 127.0.0.1:47823/health; orca plugin list should show talkback running |
| One agent never speaks | Its workspace was not on screen, or Orca was not in front, when it finished | By design. Run with --verbose to see every event and which workspace Orca reports as focused |
| It stops when I click another app | Replies only play while Orca is in front | By design; pass --speak-when-hidden to keep listening from other apps |
| It reads the reply word for word | The agent did not write a spoken line | Check the voice-mode hook is installed (see Speaking or reading) and that Talkback is on for the session |
| Talking over it never stops it | The system input is a virtual device (Zoom, BlackHole), permission was denied, or the threshold is too strict | Check the [audio] barge-in microphone: line at startup and pass --input-device "MacBook Pro Microphone"; allow your terminal under System Settings, Privacy & Security, Microphone; try --vad-threshold 0.6 |
| It stops on its own | Speaker echo is getting through | Lower the volume or use headphones; try --barge-in-ms 250 |
orca plugin logs says daemon unreachable |
Orca sent an event while the daemon was down | Start the daemon. The plugin re-sends focus with the next event, so nothing needs restarting |
Limitations
- macOS only. Tested on Apple Silicon. Linux may work but is untested.
- Claude Code is the tested agent. Other Orca agents report the same events and should work, but have not been tried.
- Orca does not report which chat or tab is on screen. orca-talkback infers it from the sidebar focus and from the chat you last prompted. If you prompt one chat and then just look at another without prompting it, the first one's reply still plays. In a worktree running several agents, any of them can speak; the newer reply wins.
- Dictation overlap. Your dictation tool records from its own microphone, without echo cancellation. If you start dictating at the exact moment you barge in, it may catch the last fraction of a second of speech.
Why Kokoro?
I compared open text-to-speech models on public leaderboards (November 2026) before picking the default:
| Model | Naturalness (UTMOS) | Word error rate | Size | License |
|---|---|---|---|---|
| Kokoro-82M (default) | 4.50 | 0.76% | 82M | Apache-2.0 |
| Inflect-Mini-v3 | 4.48 | 0.76% | 34M | Apache-2.0 |
| Reverb-TTS | 4.45 | 0.65% | 297M | CC-BY-NC-4.0 |
| Chatterbox | 4.40 | 1.00% | 800M | MIT |
| pocket-tts | 4.33 | 0.85% | 100M | CC-BY-4.0 |
Kokoro scored the highest naturalness of the 56 models on Hugging Face's Open TTS Leaderboard (English, Seed-TTS), with an error rate within 0.11 points of the best, and it is small and Apache-2.0. It also had the lowest error rate of 33 models on VoiceHub's Seed-TTS-Eval, and it is the top open model with a meaningful vote count on the human-voted TTS Arena V2.
Development
git clone https://github.com/CallumJMac/orca-talkback.git && cd orca-talkback
uv sync
uv run pytest -q # daemon tests, no audio hardware needed
uv run orca-talkback # run from the checkout
The plugin's code and tests are in orca-talkback-plugin.
Issues and pull requests are welcome. On the roadmap:
- More speech engines. Synthesis is one
synthesize(text)function; pocket-tts (about 125 ms to first audio on CPU) is the first candidate. - Launch at login with a launchd agent.
Credits
- Trelis Research voice-loop: the echo cancellation and barge-in approach this project ports (Apache-2.0, see
NOTICE). - Kokoro and kokoro-onnx: speech synthesis.
- Silero VAD: voice activity detection.
- LiveKit Python SDK: WebRTC AEC3 bindings.
- Orca: the agent workspace this plugs into.
Licensed under the Apache License 2.0. Not affiliated with Anthropic or Stably.
Metadata
Release files for orca-talkback 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| orca_talkback-0.1.0.tar.gz | 89.9 kB | With provenance | Details for orca_talkback-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| orca_talkback-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for orca_talkback-0.1.0-py3-none-any.whl |
Total release size: 120.8 kB
Release files / orca_talkback-0.1.0.tar.gz
| Download URL | orca_talkback-0.1.0.tar.gz |
|---|---|
| Size | 89.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
163f47f36d4a313cf54f68bb723552d42709ca57ae642255d72f70243d150738
|
|
BLAKE2b-256 checksum How to use checksums |
278c1d3dafed75257f7a7265a9609e25991dbe344196b41723f49abe79956866
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.
Transparency logRelease files / orca_talkback-0.1.0-py3-none-any.whl
| Download URL | orca_talkback-0.1.0-py3-none-any.whl |
|---|---|
| Size | 30.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
00acdd6a334c795bd21022240f719148a6f496d793cd546c6ce443016db8e9f5
|
|
BLAKE2b-256 checksum How to use checksums |
fd90817d82102e8a4763ed1cd7cef03f08a24895f42e8e903c7159ae8f0aed39
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.
Transparency logSecurity for orca-talkback 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for orca_talkback-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.