🦊 fennec-voice
Small turn-taking models for voice agents: is the caller nodding, interrupting, or done?
✨ What it does
| Model | Moment | Question |
|---|---|---|
| FennecInterrupt | The agent is talking and the caller makes a sound | Nod (keep talking) or interruption (stop and listen)? |
| FennecHandoff | The agent is quiet and the caller paused | Finished (reply) or not (wait)? |
Two 150M models, ~12 ms per decision on a laptop GPU (~30–60 ms on CPU). English, text in, text out: plug them in after any speech-to-text.
🚀 Install
pip install fennec-voice
The GPU is used when available, otherwise the CPU. For a smaller CPU-only install, get PyTorch's CPU build first:
pip install torch --index-url https://download.pytorch.org/whl/cpu
pip install fennec-voice
🧩 Use
from fennec_voice import FennecInterrupt, FennecHandoff
interrupt = FennecInterrupt()
r = interrupt.predict(said="Your flight from Mumbai to Delhi is", # what the caller had heard
unsaid="on the seventeenth of October.", # the rest of the agent's sentence
caller="mm hmm") # what the caller said
r.label, r.keep_talking # ('BACKCHANNEL', True)
r.p_stop # 0.002: probability of "stop and listen"
r.probs # {'BACKCHANNEL': 0.998, 'ACK_AFTER_QUESTION': ..., ...} all 10 labels
handoff = FennecHandoff()
h = handoff.predict("I want to fly from Mumbai to um")
h.finished, h.p_unfinished # (False, 0.99): wait for more
handoff.predict("Delhi, one way for two people.") # HandoffResult(finished=True, p_unfinished=0.011): reply
said/unsaid: split the agent's sentence at the word playing when the caller started speaking (TTS word timestamps + playback position).predict_batch([...])runs many inputs in one pass.- Results have
.to_dict().
Labels (interrupt.labels): BACKCHANNEL (a nod: keep talking) and, for stop and listen: ACK_AFTER_QUESTION, ANSWER, QUESTION, CORRECTION, STOP_REQUEST, HOLD_REQUEST, CANT_HEAR, PICKUP_GREETING, TAKES_TURN.
⚙️ Options
FennecInterrupt(
model="latest", # or "fennec-interrupt-150m-v1", a Hugging Face repo id, or a local folder
device="auto", # "cuda" or "cpu"
fp16=None, # default: on for GPU
threads=None, # CPU threads
revision=None, # pin exact model files (Hugging Face commit or tag)
)
FennecHandoff(..., threshold=0.5) # p_unfinished at or above it means "not finished"
import fennec_voice
fennec_voice.list_models() # all known models
The package and the models have separate versions: new models arrive as new names, and "latest" only moves to a better default. Pin a name for stable behaviour.
▶️ Demo
fennec-voice-demo: a full local voice agent built around these two models, one ./run.sh.
💡 Good to know
- English only.
- "okay" can mean "I'm listening" or "yes": right before the agent's yes/no question it counts as "yes".
- v1, a hobby project: expect rough edges.
📄 License
Apache-2.0. The input formatter comes from ozonetg/bargein-classifier-ettin-150m (MIT), see NOTICE.
Metadata
Release files for fennec-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 | |
|---|---|---|---|---|
| fennec_voice-0.1.0.tar.gz | 17.1 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fennec_voice-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 37.4 kB
Release files / fennec_voice-0.1.0.tar.gz
| Download URL | fennec_voice-0.1.0.tar.gz |
|---|---|
| Size | 17.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6b7bab9f908a04bfc5281b32cf39db1bfb8d483355caf3c063aa8ac82a81238d
|
|
BLAKE2b-256 checksum How to use checksums |
6236cfef78a4c09ea942c4ae07a1c65a3c21505e51bd5a34674728615cf4d9c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 20, 2026.
Transparency logRelease files / fennec_voice-0.1.0-py3-none-any.whl
| Download URL | fennec_voice-0.1.0-py3-none-any.whl |
|---|---|
| Size | 20.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
617533fe34eaec762d0c11994556b26932e09d6636e429b00898335baad62cad
|
|
BLAKE2b-256 checksum How to use checksums |
df07b9b72838432c814b8e2627e3f0b12de71b37d1b0ec3b90ac0c108a34e38a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 20, 2026.
Transparency logSecurity for fennec-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
All 2 files in this release have been uploaded with provenance metadata.
Attestation for fennec_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 Oct 20, 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.