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 2.3 MB with Timbre 0.97 MB, which Focus loads with it, and 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, which then holds alkove-timbre-1.alk too.

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 a few seconds of the user alone at 16 kHz

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.15.0.

License

Apache-2.0. See NOTICE.

Metadata

Release files for pipecat-alkove 2.0.1

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 2.0.1
File Size Uploaded Provenance Actions
pipecat_alkove-2.0.1.tar.gz 13.5 kB With provenance Details for pipecat_alkove-2.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 26.7 kB

Release files / pipecat_alkove-2.0.1.tar.gz

Download URL pipecat_alkove-2.0.1.tar.gz
Size 13.5 kB
Tags Source
SHA-256 checksum
How to use checksums
896c1541c1ca0f213bc9704fc9c729fe0baec9b50adeb17267fefa4574e27004
BLAKE2b-256 checksum
How to use checksums
9f033af3101241c11fbb9e4bf1e8586cf2a66caefcd32f795e1ff52b9cfbd2d4
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 21, 2026.

Transparency log

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

Download URL pipecat_alkove-2.0.1-py3-none-any.whl
Size 13.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5d41fa52eb1fe9c5e3491952ae7d9bbba8434668d86251245cc84060cd7d16a9
BLAKE2b-256 checksum
How to use checksums
d9afaab20e764e9003aa573c2accfbc8fff8f1129668f42259d9b9df9aaea996
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 21, 2026.

Transparency log

Security for pipecat-alkove 2.0.1

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-2.0.1.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 21, 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