Skip to main content

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 dataclasses
  • demystify_voice.stage — Stage, StageContext, Clock
  • demystify_voice.pipeline — Pipeline plugin 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.

Metadata

Release files for demystify-voice 0.3.0

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

Source distribution (sdist)

Source distribution for demystify-voice 0.3.0
File Size Uploaded Provenance Actions
demystify_voice-0.3.0.tar.gz 407.0 kB With provenance Details for demystify_voice-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for demystify-voice 0.3.0
File Interpreter ABI Platform Actions
demystify_voice-0.3.0-py3-none-any.whl Python 3 none any Details for demystify_voice-0.3.0-py3-none-any.whl

Total release size: 538.2 kB

Release files / demystify_voice-0.3.0.tar.gz

Download URL demystify_voice-0.3.0.tar.gz
Size 407.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f4cce6cb667fa824967b8566b3f58066210f91ba2ddee17e4652b06d78184086
BLAKE2b-256 checksum
How to use checksums
b713ecc63eaed770475f4f734feeb39a0e14ea5a0f0f53304bb62a27c33b7eae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 17, 2026.

Transparency log

Release files / demystify_voice-0.3.0-py3-none-any.whl

Download URL demystify_voice-0.3.0-py3-none-any.whl
Size 131.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4b4adcc826ce841d76e0b4415834cb8ee2b3a5c227fef73241bfd33c8d39479d
BLAKE2b-256 checksum
How to use checksums
a87e0661290859268e35e36b66fdc40deaf80b73f94e9bfa846588b3a568741b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 17, 2026.

Transparency log

Security for demystify-voice 0.3.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.

Select from 2 files

Attestation for demystify_voice-0.3.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 Jul 17, 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.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files Full provenance

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