lightfall-voice
Voice notifications plugin for Lightfall. Speaks Claude agent events through
the local Kokoro voice daemon from ~/.claude/hooks/voice_notifications
(JSON line protocol, TCP 127.0.0.1:52849).
What it speaks
- Permission requests — "Permission needed to run a command" (high priority, non-interruptible)
- Turn summaries — trimmed final assistant text, or "Task complete"
- Tool announcements — "Reading loader", "Running a command"; MCP tools
from their name ("Reading device" for
lightfall_read_device). TodoWrite, Task, Agent and ToolSearch stay silent. Rate-limited to one per tool per 3 s - Errors — "Agent error. Attention needed"
Every session tab speaks by default. Mute the visible tab with the speaker button in the Assistant panel's title bar, or any agent under Preferences → Voice Notifications → Agents; a muted agent's permission requests and errors still speak.
Voices: Preferences → Voice Notifications → Voice notifications → Default voice sets
the voice for every agent (default af_heart, the voice ascribe-link uses);
the Agents list picks a voice per agent. Both combos are editable, so any
Kokoro voice id can be typed. An empty default leaves the choice to the
daemon's config.json (kokoro_voice).
Agents other than the main lightfall assistant are named in
those phrases. Low-priority events older than 10 s are dropped, never
spoken late.
Install
pip install lightfall-voice
For development, from a clone: pip install -e ".[dev]".
Registers via the lightfall.plugins entry point; the settings page appears
under Preferences → Plugins → Voice Notifications.
Voice input (speech to text)
Push-to-talk dictation into Claude agent tabs. A mic button sits next to each agent's input
box, and a hotkey (default F9) starts and stops recording on the visible agent tab. Esc
cancels. The recording goes to a local stt service (faster-whisper) that Lightfall launches
on demand; the transcript is submitted as a prompt (queued while the agent is busy).
Install the service dependencies into the interpreter that will run it:
pip install "lightfall-voice[stt-service]" # CPU
pip install "lightfall-voice[gpu]" # CUDA 12 (cuBLAS + cuDNN wheels)
The base install never imports faster-whisper. If the service dependencies live in a
separate environment, point Python interpreter at it.
Settings (Preferences -> Plugins -> Voice Notifications; keys voice.input.*). Device, Input device,
Model directory and Python interpreter are set at This console ("Voice input on this machine");
the rest are per user ("Voice input"):
| Setting | Key | Default |
|---|---|---|
| Enable voice input | enabled |
off |
| Model directory | model_dir |
empty (Hugging Face cache; downloads on first use) |
| Hotkey | hotkey |
F9 |
| Model | model |
small (base, small, medium, large-v3, distil-large-v3) |
| Device | device |
auto (auto, gpu, cpu; auto tries CUDA, then falls back to CPU) |
| Input device | input_device |
system default |
| Silence | silence_s |
1.0 s of trailing silence ends the utterance |
| Language | language |
en (empty: auto-detect) |
| Python interpreter | python |
empty (Lightfall's own) |
Offline use: set Model directory to a folder holding a converted CTranslate2 model (for
example a faster-whisper-small snapshot); nothing is downloaded when the model is found
there.
While you dictate, spoken notifications are held and released afterwards.
Requirements
- The voice daemon must accept hookless direct messages
(
voice_daemon.pycommit "Add hookless direct-message path"). The plugin does not start the daemon; if it is unreachable, notifications are silently dropped.
Settings keys
voice.enabled, voice.events.{tools,summary,permission,errors},
voice.daemon_host, voice.daemon_port, voice.default_voice, voice.input.*
(above), voice.agent_overrides ({agent_name: {"muted": bool, "voice": "af_sky"}},
set from the Agents list).
voice.daemon_host, voice.daemon_port and the machine's voice input keys
(device, input_device, model_dir, python) belong to this console and are
set at This console; every other key is a per-user setting. Only edited keys
are saved; a blank daemon host means the default 127.0.0.1.
Tests
.venv\Scripts\python -m pytest
Metadata
Release files for lightfall-voice 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 |
|---|---|---|---|---|
| lightfall_voice-0.1.0.tar.gz | 75.8 kB | With provenance | Details for lightfall_voice-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lightfall_voice-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for lightfall_voice-0.1.0-py3-none-any.whl |
Total release size: 127.0 kB
Release files / lightfall_voice-0.1.0.tar.gz
| Download URL | lightfall_voice-0.1.0.tar.gz |
|---|---|
| Size | 75.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
00bdc5c69730a0cede40126c4718432efd22cad6ca64cd7340ff414b58f9d8b8
|
|
BLAKE2b-256 checksum How to use checksums |
ae92b104031fb5d16f582485ff90bd7a17ebaa52da622202fad0646fa28f35ef
|
| 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 24, 2026.
Transparency logRelease files / lightfall_voice-0.1.0-py3-none-any.whl
| Download URL | lightfall_voice-0.1.0-py3-none-any.whl |
|---|---|
| Size | 51.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f6fc30434c8a7e549a3383cc5d08c3a2f47e449d2b75e09f77e4ded5c593a832
|
|
BLAKE2b-256 checksum How to use checksums |
a76d235aabf22e31df6b674140a6130d7582f2f34a63f659498ad305f230ceef
|
| 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 24, 2026.
Transparency logSecurity for lightfall-voice 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 lightfall_voice-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 24, 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.