softvoice
Talk to Claude Code and Codex, and hear them talk back. Everything stays on your Mac.
45 seconds, no cuts: a prompt dictated into Claude Code, sent with Enter, and the reply read aloud while the pill and a thin underline follow along.
An open-source, offline tool to Converse with your coding agent. Tired of reading claude/codex outputs all day long, I made this tool to listen instead. It's just like having a conversation, without spending a dime. Drag the pill anywhere to place and use it across apps.
Under the hood: Pocket TTS by Kyutai is the voice, Parakeet TDT 0.6B v3 by NVIDIA is the ear, and the agents' own hooks are the plumbing. No MCP server, no wrapped terminal, nothing about how you work changes.
Apple Silicon Mac, macOS 14 or newer. MIT licence. Early, and in daily use by its author.
What it does
Two things, both on device.
Dictation: you talk → your agent listens
- Click the mic or tap right Option. That is the ⌥ key right of the space bar; the left one does nothing. Speak for as long as you like.
- Watch the words land. Sentences appear in the pill as you say them, so you can check them before they go anywhere.
- Enter pastes, Escape discards. The text goes into whatever has focus: Claude Code, Codex, or any other app.
Speech: your agent reads → you listen
- Replies read themselves. When Claude Code or Codex finishes a turn, the reply is spoken. The pill shows the sentence being read and a thin underline follows it in the terminal. Nothing to press.
- Read anything. Select text in any app and click the speaker. It reads the selection.
- Stop whenever you like. Tap the talk key or click the speaker.
Features
Offline Everything runs on your Mac, so it works offline. |
Private No audio or data ever leaves the machine. |
Auto reply Replies are read aloud the moment the agent finishes. Hands-free mode then opens the mic for your next turn. |
Multilingual, multi-voice Understands 25 European languages, speaks 7. 27 voices, or clone your own from a short WAV. |
Lightweight Lighter than a handful of browser tabs (max 2.4 GB). The CPU sits at 0% until you talk: under 1% while you dictate; 27 seconds of speech transcribe in 0.6 s. |
|
Hotkeys
One key does everything: the right Option key, right ⌥, the one just right of the space bar. The left Option key does nothing. Prefer a combination? Set hotkey = "alt+space" in the config.
| right ⌥ tap | Dictate. Talk as long as you like; your sentences appear in the pill. | |
| ⏎ Enter | Paste the dictation into your prompt. | |
| ⎋ Esc | Discard it. | |
| right ⌥ hold | Push-to-talk. Say a quick one-liner, let go, and it is pasted. |
Hands-free has voice keys too: end with "send" to send, say "cancel" to discard.
Set up
Five steps, about ten minutes, most of it the model download. uv does the Python work.
1. Install
brew install uv
uv tool install softvoice
uv --version should answer 0.8 or newer. If an older uv from conda or pip sits first on your PATH,
that is the one that runs.
(Or the newest commit straight from GitHub: uv tool install git+https://github.com/SPra03/softvoice.)
If the next step says softvoice: command not found, run uv tool update-shell and open a new
terminal: uv puts its tools in ~/.local/bin, which a fresh Mac does not have on its PATH.
2. Download the models and grant the permissions
softvoice setup
This fetches the two models once (Pocket TTS, about 230 MB; Parakeet, 2.5 GB) and then makes macOS ask for the three permissions below in one go, so nothing interrupts you later. The output looks like this, with your own download times:
config: /Users/you/.softvoice/config.toml
Pocket TTS (english, voice alba): about 230 MB the first time
ready in 40s
Parakeet (mlx-community/parakeet-tdt-0.6b-v3): 2.5 GB the first time
ready in 190s
Permissions (granted to the app this terminal belongs to):
Microphone: opened
Input Monitoring: granted (push-to-talk key)
Accessibility: granted (pasting)
Next: `softvoice install` adds the hooks, then `softvoice autostart on` starts the pill and keeps it at every login.
A line about setting HF_TOKEN for faster downloads may appear above that; it is harmless.
macOS grants permissions to the app that owns the terminal you ran setup from (Terminal, iTerm,
the Claude desktop app, VS Code), not to softvoice itself. When a prompt appears, click Open
System Settings and switch that app on. A line that says NOT granted has the same fix, and
nothing needs a restart.
| permission | needed for | where |
|---|---|---|
| Microphone | listening | asked the first time the mic opens; Privacy & Security > Microphone |
| Accessibility | pasting your words into the prompt; reading the page for the underline | Privacy & Security > Accessibility |
| Input Monitoring | seeing the talk key and scroll events | Privacy & Security > Input Monitoring |
Accessibility on the author's Mac after setup: the Claude desktop app, which owns the terminal setup ran from, and python3.12, which the login item in step 4 runs under.
3. Hook into Claude Code and Codex
softvoice install
This writes three hooks (Stop, Notification, UserPromptSubmit) into ~/.claude/settings.json,
keeping a backup next to it, and into ~/.codex/hooks.json if ~/.codex exists. The Claude desktop app
picks them up in open sessions within a second; a Claude Code CLI session that was open before
needs a restart, and in Codex run /hooks once to trust them.
4. Start the pill
softvoice autostart on
The pill appears at the bottom right and comes back at every login, with no terminal left open.
It runs under Python rather than your terminal, so macOS asks for the same permissions once
more, this time for python3.12 (or whichever Python uv chose). Grant them and they stick.
Installing with an AI agent? It may refuse to create the login item, since that looks like persistence to its safety rules. Run this one line yourself.
5. Try it
Ask Claude Code anything. When it finishes the turn you hear the reply, and the pill shows the sentence being spoken. Then tap right Option (or click the mic), say what you want next, and press Enter: your words land in the prompt, ready to send.
Later, uv tool upgrade softvoice upgrades. Everything softvoice owns lives in ~/.softvoice.
It needs about 4 GB of disk for the models and the Python environment, and about 2 GB of memory
while running. The models load once at start; idle, it uses no CPU.
If something is off
| symptom | what to check |
|---|---|
| nothing is spoken | softvoice status shows the daemon and softvoice log the hook calls. A CLI session opened before the install needs a restart. |
| no pill | softvoice autostart shows the login item; Show pill in the menu bar brings back a hidden one; ~/.softvoice/app.log says why it did not start. |
| the talk key does nothing | Input Monitoring for the app that runs the pill: python3.12 under the login item, your terminal's app otherwise. |
| your words are not pasted | Accessibility for the same app. Meanwhile the text is on the clipboard, so ⌘V works. |
| no underline on the page | the app has to start after Accessibility is granted (under the login item it restarts itself). Some apps expose no text, and a locked screen hides every window; the app log says which. |
| the mic hears nothing | Microphone for that app, under Privacy & Security > Microphone. |
| everything stopped after an upgrade or reinstall | uv may have switched the tool to another Python, which macOS treats as a new app: ~/.softvoice/app.log says NOT granted. Grant the three permissions again, or uv tool install --reinstall --python 3.12 softvoice to go back to the one you already trusted. |
Uninstall
softvoice uninstall # removes the hooks
softvoice autostart off # removes the login item and stops the app
softvoice quit # stops the voice daemon
uv tool uninstall softvoice
rm -rf ~/.softvoice # config and logs
The models stay in Hugging Face's cache: delete ~/.cache/huggingface/hub/models--kyutai--pocket-tts-without-voice-cloning
and ~/.cache/huggingface/hub/models--mlx-community--parakeet-tdt-0.6b-v3 to get the space back.
Everyday use
The pill has two buttons. The mic on the left is you talking to the agent; the speaker on the right is the agent talking to you. Exactly one thing on the pill is coral at any time, and it is the thing to tap next. Most of the time you will not touch the pill at all: replies read themselves, and the talk key does the rest.
The mic: talking to your agent
What you say is transcribed on your Mac and pasted where your cursor is, ready to read, edit and send.
- Dictate: tap right ⌥ or click the mic, talk as long as you like, press Enter to paste. Escape, ✕ or saying "cancel" discards it.
- Send by voice: end with "send it" and it pastes and sends. Auto-send in the menu does that every time.
- Push-to-talk: hold right ⌥, speak, let go. Pasted at once, no session.
- Hands-free: turn it on in the menu or with
softvoice app --hands-free. After each spoken reply the mic opens by itself; you talk, you pause, the text lands in the prompt. Hold the key to interrupt the voice and take over. Type a prompt yourself and the mic stays closed. - Where it pastes: dictation and push-to-talk into whatever is in front, because you started them. Hands-free only into terminals and agent apps; anywhere else it copies to the clipboard and tells you.
From a terminal, without the pill: softvoice listen and softvoice listen --hands-free.
The speaker: hearing your agent
When the agent finishes a turn, the reply is read aloud: the whole turn, not just the last paragraph. Code, tables, URLs and anything that looks like a key are left out. Permission prompts are spoken too, so you hear when the agent is waiting for you.
- Stop: tap right ⌥, click the speaker, or send a new prompt.
- Follow along: the pill shows the sentence being spoken, and a thin underline follows it on
the page. Off with the pill's menu or
highlight_on_page = false. - Hear it again: click the speaker.
- Read anything: select text in any app and click the speaker.
- Mute: the pill's menu, the menu bar, or
softvoice mute. - Change the voice:
softvoice voice jane(softvoice voiceslists them), or pointvoicein the config at a short WAV of your own.
From a terminal:
softvoice say "hello there" # speak anything
softvoice stop # shut up
softvoice mute / unmute # stay silent across turns
softvoice voice jane # try another voice (see `softvoice voices`)
softvoice status | log | restart
The pill and the menu bar
A small dark glass pill (44 points tall) floats above every window, bottom right by default. Drag it anywhere; it remembers the spot. Clicking it never steals focus, so your cursor stays in the prompt. It uses one accent colour, and the accent always means "live": the mic is coral at rest (talking is the next thing to do) and becomes a live coral waveform while it listens; the speaker is a coral stop button while the voice talks and a grey play button when it is quiet, slashed when muted. Whenever text shows, the capsule becomes a rounded rectangle, and the text is a single line that scrolls, newest words at the right.
Press and hold either button, or right-click, for the options: Hands-free, Auto-send, Mute,
Underline, Voice, Hide pill, config file, Quit. panel = false in the config turns the pill off.
The menu bar gets one small waveform, the same in every state (the pill is where state shows);
menu_bar_icon = false hides it. Its first line says what softvoice is doing right now, and the
menu has Hide pill / Show pill, Talk, Stop speaking, Mute, Hands-free and
Auto-send, the config file, and Quit.
Running without a terminal
softvoice autostart on registers the app as a macOS login item: it starts when you log in, needs
no terminal, and comes back by itself if it ever crashes (not after you quit it on purpose).
softvoice autostart off removes the login item and stops the app; softvoice autostart shows
the state. The app's output goes to ~/.softvoice/app.log. By hand, softvoice app --hands-free
starts the same app from a terminal.
Only one copy of the app runs at a time: softvoice app while it is already running just shows
the pill of the running one. Hide pill tucks the pill away while the key, the voice and the
menu bar keep working; Show pill brings it back. Quit from the menu stops the app until the
next login or the next softvoice app.
Configuration
~/.softvoice/config.toml (softvoice config prints it) lists every setting with its default,
all commented out; remove the # from a line to change it. Restart the daemon after changes
(softvoice restart) and relaunch the app (softvoice autostart on again, or Quit and softvoice app).
| key | default | meaning |
|---|---|---|
voice |
alba |
a predefined voice, or a path to a short WAV to clone |
language |
english |
Pocket TTS model: english, french, german, spanish, italian, portuguese, dutch, or the tiny english_18m_2026-10 |
max_chars |
0 |
cut long replies here; 0 speaks the whole reply |
speak_whole_turn |
true |
speak every substantial text block of the turn, not only the last |
interim_min_chars |
200 |
shorter blocks before tool calls count as progress notes and are skipped |
speak_notifications |
["permission_prompt"] |
add "idle_prompt" to be nagged |
interrupt_on_prompt |
true |
stop speaking when you send a prompt |
announce_project |
false |
prefix replies with the project folder name |
hotkey |
alt_r |
the talk key: alt_r, alt_l, cmd_r, ctrl_r, shift_r, fn, f1…f20, or a combination such as alt+space, ctrl+shift+d (modifiers alt, cmd, ctrl, shift, fn plus a letter, digit, space, tab or F-key); a combination is swallowed, so the app in front never sees it |
stt_model |
mlx-community/parakeet-tdt-0.6b-v3 |
any Parakeet model in the mlx-community collection |
auto_submit |
false |
press Enter after pasting; off means the transcript waits in your prompt for review |
send_words |
["send it", ...] |
say one at the end of a take to send it hands-free |
tap_threshold_ms |
350 |
shorter press is tap-to-talk, longer is push-to-talk |
dictation_pause_ms |
700 |
pause that commits a sentence to the preview |
dictation_silence_s |
8 |
silence that finishes a dictation session |
panel / menu_bar_icon |
true |
show the floating pill / the menu bar icon |
highlight_on_page |
true |
underline the sentence being read in the front window |
clear_selection |
true |
after you select text and press play, ask the app to drop the selection (native apps and editors; the Claude app ignores the request) |
accent |
"#E8735A" |
the pill's live colour (waveform, speaker) |
underline |
"#AAAAAA" |
the colour of the underline on the page |
hands_free |
false |
hands-free by default |
end_silence_ms |
900 |
pause that ends your utterance |
listen_timeout_s |
10 |
close the mic when you say nothing |
earcon |
true |
beeps when the mic opens and closes |
cancel_words |
["cancel", ...] |
say one of these to discard a take |
paste_targets |
terminals, Claude, VS Code, Cursor, JetBrains, Codex | bundle ids hands-free may paste into (dictation you start yourself pastes anywhere) |
Set SOFTVOICE_DISABLED=1 in an agent's environment to silence it without uninstalling.
How it fits together
Claude Code / Codex ──Stop hook (stdin JSON)──▶ softvoice hook ──unix socket──▶ daemon
(40 ms, no ML imports) │ clean markdown
│ Pocket TTS stream
▼ speakers
you ──tap or hold the key──▶ softvoice app ──Parakeet──▶ paste into the focused prompt
▲ hands-free: the daemon's "speech_end" event opens the mic,
Silero VAD ends the take, the transcript is pasted (+ Enter)
The hook command is tiny and imports no ML code, so it never slows the agent down. The daemon holds the voice model warm between turns. The app holds the listener: the key watcher, the mic, Parakeet, the pill and the underline.
Status
Early, and in daily use by its author on an M4 MacBook Air. Verified live: the hands-free loop, the pill, dictation sessions with Enter and Escape, the Option+Space talk key, follow-along text and the underline on the page. Python 3.12 and 3.14 both pass the tests and load both models. Verified without a human: hook latency, speech from Stop and Notification payloads, interruption on new prompts, the daemon's event stream, VAD end-of-utterance timing on recorded speech, and a Pocket TTS to Parakeet round trip. Not yet: languages other than English, a signed app bundle, Windows or Linux (the listener needs Apple's MLX).
Found a rough edge? Open an issue with the lines from softvoice log and ~/.softvoice/app.log.
Credits
Pocket TTS by Kyutai. Parakeet TDT 0.6B v3 by NVIDIA (CC-BY-4.0), converted for MLX by the mlx-community and run with parakeet-mlx by senstella. Silero VAD for end-of-utterance detection. rumps for the menu bar. See LANDSCAPE.md for the survey of voice tools this started from. Icons by Lucide (ISC).
Metadata
Release files for softvoice 0.1.1
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 |
|---|---|---|---|---|
| softvoice-0.1.1.tar.gz | 72.4 kB | Without provenance | Details for softvoice-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| softvoice-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for softvoice-0.1.1-py3-none-any.whl |
Total release size: 146.9 kB
Release files / softvoice-0.1.1.tar.gz
| Download URL | softvoice-0.1.1.tar.gz |
|---|---|
| Size | 72.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b7b3f6b2b8751f866beecf21226743945f3789a59aac63ba67c3323f0f527576
|
|
BLAKE2b-256 checksum How to use checksums |
b92af397d49250607f8fe8e8b8c2148433344820ade12610990ffaf87a57eb05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / softvoice-0.1.1-py3-none-any.whl
| Download URL | softvoice-0.1.1-py3-none-any.whl |
|---|---|
| Size | 74.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
310d701e8ca0df608dd7b7b708afd369dbc527567d67a4fe762c36b326c68244
|
|
BLAKE2b-256 checksum How to use checksums |
d14c4ccf22de96d8c845af88c422ad670adff84815086029791d8f0cadb353b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for softvoice 0.1.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.