skillfed

livekit-blingfire

BlingFire bindings for livekit-agents

livekit-blingfire v1.1.0 2.7M downloads/30d#2,929 on PyPI13,002
Permissive license Apache-2.0 Active released

What it is and what it does

livekit-blingfire is a compiled Python binding that integrates BlingFire tokenization into the framework. It provides fast, efficient text segmentation and linguistic analysis—critical for real-time voice agents that need to process input with minimal latency. The package ships as precompiled wheels for Python 3.9, 3.10, 3.11, 3.12, and 3.13 across macOS (Intel and ARM), Linux (x86_64 and aarch64), and Windows, eliminating the need to compile locally.

Within a voice agent pipeline, this tokenizer handles linguistic preprocessing: breaking raw text into tokens or sentences so that downstream components can work with well-formed units. Since it's bundled as part of the framework's ecosystem, it integrates directly with session and inference APIs rather than requiring separate configuration.

Use it for:

  • Tokenize user speech transcripts in real-time voice agents before passing to an LLM for instruction-following
  • Segment agent responses into sentences for turn-based conversation flow and semantic turn detection
  • Preprocess multilingual input in agents that serve users across different languages
  • Improve latency-sensitive agent interactions by using a fast, compiled tokenizer instead of pure-Python alternatives

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides BlingFire tokenization bindings for the LiveKit Agents framework, enabling fast text segmentation and linguistic analysis within voice agent applications.

Yes, if building voice agents with the framework and needing efficient tokenization. The package is actively maintained, has no known vulnerabilities, carries a permissive license, and ships with precompiled wheels for all current Python versions, eliminating friction. Install as part of the standard plugin ecosystem. Not necessary outside that context.

Install

livekit-blingfire on PyPI

pip

pip install livekit-blingfire

uv

uv add livekit-blingfire

poetry

poetry add livekit-blingfire

Installing livekit-blingfire

Before you install

Medium install friction due to compiled wheels across multiple Python versions and platforms. Actively maintained with recent releases; repository shows strong community engagement (13002 stars) and current development status.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions; you may use, modify, and distribute this package freely provided you include the license notice.

Quickstart

pip install livekit-blingfire

# Typically used internally by the framework during agent session processing
# Integration occurs transparently within agent session initialization and reply generation

Requires Python 3.9 or later; intended for use within the framework's agent session context.

Verify before relying

  • Whether BlingFire's tokenization is optimized for conversational speech or primarily designed for written text
  • Performance characteristics compared to other tokenizers in the ecosystem
  • Supported languages and whether multilingual support is included in this binding
  • Direct API surface and whether tokenization is exposed as a public method or only used internally

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.9.0)
Install friction medium — platform-specific wheel
Runtime dependencies none
Maintenance actively maintained — 241 days since the last release
Last repo commit
First released
Downloads 2,708,208/month — #2,929 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: livekit_blingfire-1.1.0-cp310-cp310-macosx_10_9_x86_64.whl; livekit_blingfire-1.1.0-cp310-cp310-macosx_11_0_arm64.whl; livekit_blingfire-1.1.0-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; livekit_blingfire-1.1.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; livekit_blingfire-1.1.0-cp310-cp310-win_amd64.whl; livekit_blingfire-1.1.0-cp311-cp311-macosx_10_9_x86_64.whl; livekit_blingfire-1.1.0-cp311-cp311-macosx_11_0_arm64.whl; livekit_blingfire-1.1.0-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; livekit_blingfire-1.1.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; livekit_blingfire-1.1.0-cp311-cp311-win_amd64.whl; livekit_blingfire-1.1.0-cp312-cp312-macosx_10_13_x86_64.whl; livekit_blingfire-1.1.0-cp312-cp312-macosx_11_0_arm64.whl; livekit_blingfire-1.1.0-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; livekit_blingfire-1.1.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; livekit_blingfire-1.1.0-cp312-cp312-win_amd64.whl; livekit_blingfire-1.1.0-cp313-cp313-macosx_10_13_x86_64.whl; livekit_blingfire-1.1.0-cp313-cp313-macosx_11_0_arm64.whl; livekit_blingfire-1.1.0-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; livekit_blingfire-1.1.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; livekit_blingfire-1.1.0-cp313-cp313-win_amd64.whl

Keywords: webrtc, realtime, audio, video, livekit

Intended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.9Topic :: Multimedia :: Sound/AudioTopic :: Multimedia :: VideoTopic :: Scientific/Engineering :: Artificial Intelligence

Tags

blingfire tokenizationtext segmentation pythonfast tokenizer bindingslinguistic preprocessingword tokenization librarysentence segmentationnlp tokenizer
tokenizationvoice-airealtime-nlp

More Artificial Intelligence packages

litellm

LiteLLM provides a unified Python interface to…

permissive · top 100 on PyPI

huggingface-hub

Client library and CLI tool for downloading,…

permissive · top 100 on PyPI

langchain

LangChain provides a framework for building…

permissive · top 1,000 on PyPI

hf-xet

hf-xet provides chunk-based deduplication and…

permissive · top 1,000 on PyPI

tokenizers

Tokenizers converts raw text into token…

permissive · top 1,000 on PyPI

transformers

Transformers provides a unified framework for…

permissive · top 1,000 on PyPI

livekit-plugins-rime

Integrates Rime speech recognition into…

permissive · top 15,000 on PyPI

livekit-plugins-assemblyai

Integrates AssemblyAI speech-to-text into the…

permissive · top 15,000 on PyPI

livekit-plugins-elevenlabs

Integrates ElevenLabs text-to-speech into the…

permissive · top 5,000 on PyPI

livekit-plugins-silero

Provides Silero voice activity detection…

permissive · top 5,000 on PyPI

livekit-plugins-groq

Integrates Groq's fast inference API with…

permissive · top 15,000 on PyPI

livekit-plugins-xai

Integrates xAI's Grok LLM with LiveKit's Agent…

permissive · top 15,000 on PyPI

livekit-agents

A framework for building realtime multimodal…

permissive · top 5,000 on PyPI

livekit-plugins-telnyx

Integrates Telnyx telephony services with…

permissive · top 15,000 on PyPI

livekit-plugins-deepgram

Integrates Deepgram's voice AI services…

permissive · top 5,000 on PyPI

blingfire

Blingfire provides fast tokenization and text…

permissive · top 5,000 on PyPI