Skip to main content

🗣️ 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.

Tests macOS on Apple Silicon Python 3.11 to 3.14 Orca plugin Apache 2.0

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

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 --python 3.14 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
  1. 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.
  2. 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.
  3. 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.
  4. 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: an Orca window must be visible (on any screen, and not hidden behind other windows, so a second monitor counts while you type in another app), 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 an Orca window visible Speak its reply
An agent finishes anywhere else, or while Orca is covered, minimised or hidden 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 no Orca window is visible (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 covered or hidden, when it finished By design. Run with --verbose to see every event and which workspace Orca reports as focused
It stops when another window covers Orca Replies only play while an Orca window is visible By design; pass --speak-when-hidden to keep listening anyway
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

Licensed under the Apache License 2.0. Not affiliated with Anthropic or Stably.

Metadata

Release files for orca-talkback 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for orca-talkback 0.1.2
File Size Uploaded Provenance Actions
orca_talkback-0.1.2.tar.gz 93.7 kB With provenance Details for orca_talkback-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for orca-talkback 0.1.2
File Interpreter ABI Platform Actions
orca_talkback-0.1.2-py3-none-any.whl Python 3 none any Details for orca_talkback-0.1.2-py3-none-any.whl

Total release size: 127.3 kB

Release files / orca_talkback-0.1.2.tar.gz

Download URL orca_talkback-0.1.2.tar.gz
Size 93.7 kB
Tags Source
SHA-256 checksum
How to use checksums
188b546e8199de1b7ccf1ba4e8865ea626fdb12b1340fc252262c0a906c6b017
BLAKE2b-256 checksum
How to use checksums
6b67b052b93d50310438d64145c9e30d298ee2850b9b8083d428cb97a5c00916
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 26, 2026.

Transparency log

Release files / orca_talkback-0.1.2-py3-none-any.whl

Download URL orca_talkback-0.1.2-py3-none-any.whl
Size 33.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7c3f6f21dbb7d86c2aa6187407da3541520482cda5dad6152c89b6bc1d9f3569
BLAKE2b-256 checksum
How to use checksums
1e9849d2c2d0e5eceba3bea5a07f5f6b7493660d23ab548137239e7df14c43bf
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 26, 2026.

Transparency log

Security for orca-talkback 0.1.2

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.

Select from 2 files

Attestation for orca_talkback-0.1.2.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 26, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page