Interruption-aware voice agent runtime (barge-in, spoken-prefix truncation, multi-turn context repair)
Project description
demystify-voice
Interruption-aware voice-agent runtime: low-latency barge-in (client-audible stop within one sub-chunk), spoken-prefix truncation (the interrupted assistant turn keeps only the audio the caller actually heard), backchannel vs barge-in discrimination, and multi-turn context repair.
This is the packaged runtime of the dmstfy-voice-core module. The full module
docs (architecture, harness, runbooks, contracts) live in the repository at
modules/dmstfy-voice-core/.
Install
pip install demystify-voice # core runtime + pipeline
pip install "demystify-voice[server]" # + FastAPI/uvicorn control plane (demystify_voice.api)
pip install "demystify-voice[pg]" # + Postgres write-behind store adapter
The core install is intentionally light. demystify_voice.api (the HTTP/WS
control plane) requires the server extra; the module imports fine without it
and raises a clear error if you import the api without the extra.
Public protocol surface
Plugins (e.g. demystify-voice-lingua) code against these stable exports —
see docs/contracts/voice-plugin-protocol.md:
demystify_voice.frames— frame dataclassesdemystify_voice.stage—Stage,StageContext,Clockdemystify_voice.pipeline—Pipelineplugin API (insert_stage,replace_stage)demystify_voice.PROTOCOL_VERSION— plugin-protocol contract version (MAJOR.MINOR)
Quickstart (offline, zero keys)
from demystify_voice import SessionRuntime # inject mock providers; drive with the SimClock
MIT licensed.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file demystify_voice-0.3.0.tar.gz.
File metadata
- Download URL: demystify_voice-0.3.0.tar.gz
- Upload date:
- Size: 407.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4cce6cb667fa824967b8566b3f58066210f91ba2ddee17e4652b06d78184086
|
|
| MD5 |
f3562521d4f1fbbd02fc09b1cb9a6e54
|
|
| BLAKE2b-256 |
b713ecc63eaed770475f4f734feeb39a0e14ea5a0f0f53304bb62a27c33b7eae
|
Provenance
The following attestation bundles were made for demystify_voice-0.3.0.tar.gz:
Publisher:
publish-pypi.yml on demystify-systems/ai-services-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
demystify_voice-0.3.0.tar.gz -
Subject digest:
f4cce6cb667fa824967b8566b3f58066210f91ba2ddee17e4652b06d78184086 - Sigstore transparency entry: 2188363033
- Sigstore integration time:
-
Permalink:
demystify-systems/ai-services-tools@8a03d52d29b940de704d971b9c437493879613a4 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/demystify-systems
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@8a03d52d29b940de704d971b9c437493879613a4 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file demystify_voice-0.3.0-py3-none-any.whl.
File metadata
- Download URL: demystify_voice-0.3.0-py3-none-any.whl
- Upload date:
- Size: 131.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b4adcc826ce841d76e0b4415834cb8ee2b3a5c227fef73241bfd33c8d39479d
|
|
| MD5 |
66af1aa26046addd8b55ca4d49dd6dfb
|
|
| BLAKE2b-256 |
a87e0661290859268e35e36b66fdc40deaf80b73f94e9bfa846588b3a568741b
|
Provenance
The following attestation bundles were made for demystify_voice-0.3.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on demystify-systems/ai-services-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
demystify_voice-0.3.0-py3-none-any.whl -
Subject digest:
4b4adcc826ce841d76e0b4415834cb8ee2b3a5c227fef73241bfd33c8d39479d - Sigstore transparency entry: 2188363041
- Sigstore integration time:
-
Permalink:
demystify-systems/ai-services-tools@8a03d52d29b940de704d971b9c437493879613a4 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/demystify-systems
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@8a03d52d29b940de704d971b9c437493879613a4 -
Trigger Event:
workflow_dispatch
-
Statement type: