Skip to main content

pipecat-alkove

Alkove for Pipecat: AlkoveFilter keeps the user's voice and removes the others and the noise (Focus), AlkoveVADAnalyzer finds where they speak (Cue), AlkoveTurnAnalyzer tells when their turn ends and lets a "mm" through while the bot speaks (Cue's end of turn head). All run on the bot's CPU, with no server and no key, with the chain of Alkove's web SDK; where speech starts and ends is Pipecat's VADParams.

Maintained by Alkove, not by the Pipecat team. Listed in Pipecat's docs as a community integration: audio filter and VAD.

Install

pip install pipecat-alkove

The models (Focus 1.1 MB, Cue 1.2 MB) are downloaded once into the cache and checked by their sha256: the analyzer loads them when it is created, as Silero's does, the filter when the transport starts. Pass models=alkove.Models.load(["focus", "cue"], dir=...) to read them from your own folder.

Use

from pipecat.audio.vad.vad_analyzer import VADParams
from pipecat.transports.base_transport import TransportParams
from pipecat_alkove import AlkoveFilter, AlkoveVADAnalyzer

params = TransportParams(audio_in_enabled=True, audio_in_filter=AlkoveFilter())
vad = AlkoveVADAnalyzer()  # VADParams(confidence=0.5) unless you pass params

Give the analyzer to your user aggregator (LLMUserAggregatorParams(vad_analyzer=vad)) or to a VADProcessor, as you would Silero's.

  • AlkoveFilter keeps the closest voice, or with voiceprint= the voice of that print; strength= and normalize= work as in the web SDK. It works at the transport's input rate. FilterEnableFrame(False) gives the raw microphone back at the same delay; FilterUpdateSettingsFrame(settings={"strength": 0.5}) and {"voiceprint": ...} change it while it runs. It returns the samples that are ready: a little less than the input at the start (Focus's 16 ms), then about the input's size.
  • AlkoveVADAnalyzer gives Cue's speech probability every 30 ms, at any input rate. Cue was tuned with a confidence of 0.5, so that is its default. stop_secs stays Pipecat's 0.2 s: the turn analyzer (Smart Turn, or AlkoveTurnAnalyzer) decides when the turn ends, and Pipecat's latency figures assume 0.2. Behind AlkoveFilter, it hears only the user.

To keep one person's voice rather than the closest one, make their print with Timbre, from 1.5 s of their voice or more at 16 kHz:

from alkove import Models, Timbre

models = Models.load(["focus", "cue", "timbre"])
me = Timbre(models).embed(pcm)
f = AlkoveFilter(models=models, voiceprint=me)  # an alkove.Voiceprint or its 192 numbers

End of turn and interruptions

The end of the user's turn from Cue's end of turn head, in place of Smart Turn, and an interruption strategy that lets a "mm" through:

from pipecat.processors.aggregators.llm_response_universal import LLMUserAggregatorParams
from pipecat.turns.user_start import TranscriptionUserTurnStartStrategy
from pipecat.turns.user_stop import TurnAnalyzerUserTurnStopStrategy
from pipecat.turns.user_turn_strategies import UserTurnStrategies
from pipecat_alkove import AlkoveTurnAnalyzer

turn = AlkoveTurnAnalyzer()  # AlkoveTurnParams(threshold=0.6, min_pause=0.3, max_pause=1.5) unless you pass params
strategies = UserTurnStrategies(
    start=[turn.interruption_strategy(), TranscriptionUserTurnStartStrategy()],
    stop=[TurnAnalyzerUserTurnStopStrategy(turn_analyzer=turn)],
)
params = LLMUserAggregatorParams(user_turn_strategies=strategies)
  • It reads the head every 0.1 s of each pause, as the audio comes, as Krisp's analyzer does: the turn is complete on the first read over threshold once the pause reaches min_pause, or at max_pause.
  • It runs Focus then Cue itself, on the audio the user aggregator gets: behind AlkoveFilter, Focus runs twice.
  • interruption_strategy() shares them: while the bot speaks, the user's turn starts only once Cue's speech spans min_duration seconds, short gaps included (AlkoveTurnAnalyzer(min_duration=0.7)); a shorter "mm" or "yeah" lets the bot go on, its transcript too. With the bot quiet, or once it stops while the user goes on, the turn starts with the VAD, as Pipecat's default.

example.py runs both on your microphone and prints when you speak. On macOS, pyaudio needs brew install portaudio first.

Tested with pipecat-ai 1.14.0.

License

Apache-2.0. See NOTICE.

Metadata

Release files for pipecat-alkove 1.1.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 pipecat-alkove 1.1.0
File Size Uploaded Provenance Actions
pipecat_alkove-1.1.0.tar.gz 13.3 kB With provenance Details for pipecat_alkove-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pipecat-alkove 1.1.0
File Interpreter ABI Platform Actions
pipecat_alkove-1.1.0-py3-none-any.whl Python 3 none any Details for pipecat_alkove-1.1.0-py3-none-any.whl

Total release size: 26.3 kB

Release files / pipecat_alkove-1.1.0.tar.gz

Download URL pipecat_alkove-1.1.0.tar.gz
Size 13.3 kB
Tags Source
SHA-256 checksum
How to use checksums
bcb9ee808e8c2b4745a43dcedbaec863b96570c5aa2a495058f6a6ec572ccb09
BLAKE2b-256 checksum
How to use checksums
5c75acb4a2898b4d33f3113b793375615917fd891f0268f5700d125a9e79db48
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 Oct 31, 2026.

Transparency log

Release files / pipecat_alkove-1.1.0-py3-none-any.whl

Download URL pipecat_alkove-1.1.0-py3-none-any.whl
Size 13.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
186ef935b8ac5d90c89466d7ecc899a280740102c435328ff149fab30d16fb61
BLAKE2b-256 checksum
How to use checksums
2f08ded1f2dfe57b81950b2b7874e685c4931acee3146d1ad92d24879a0a1d72
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 Oct 31, 2026.

Transparency log

Security for pipecat-alkove 1.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.

Select from 2 files

Attestation for pipecat_alkove-1.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 31, 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.

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