livekit-plugins-munsit
LiveKit Agents plugin for Munsit voice AI: Arabic speech-to-text (batch and live streaming) and Arabic text-to-speech.
This package consolidates the former
livekit-plugins-faseeh(TTS) — that name now ships a deprecation shim that installs this package.
Installation
pip install livekit-plugins-munsit
Set your API key (from the Munsit dashboard):
export MUNSIT_API_KEY=your-key
Speech-to-Text
from livekit.agents import AgentSession
from livekit.plugins import munsit, silero
session = AgentSession(
stt=munsit.STT(mode="streaming"), # live transcription over WS /api/v1/listen
vad=silero.VAD.load(),
)
Two modes:
mode="streaming" (default) |
mode="batch" |
|
|---|---|---|
| Transport | WS /api/v1/listen |
POST /api/v1/audio/transcribe |
| Interim results | yes (INTERIM_TRANSCRIPT) |
no |
| Turn detection | server-side (endpointing + semantic smart-turn) | client energy VAD |
| Word timestamps + confidence | yes, on finals | yes |
| Models | munsit, munsit-en-ar (default) |
munsit, munsit-en-ar (default) |
Streaming options:
munsit.STT(
mode="streaming",
endpointing_ms=800, # silence that ends a turn (100–5000; retunable live)
smart_turn=True, # semantic end-of-turn gating
hotwords=["فرحان", "تطبيق منصت"], # custom vocabulary (≤200 entries, ≤40 chars)
interim_results=True,
correlation_id="call-1234",
on_enrichment=lambda ev: print(ev), # per-turn Sentiment / Gender events
)
Batch extras: hotwords=[...] and return_confidence=True (per-word confidence on
timestamps). hotwords only bias the Arabic munsit model — with munsit-en-ar
(the default) they are ignored with a warning, in both modes.
Text-to-Speech
from livekit.plugins import munsit
tts = munsit.TTS(
voice_id="ar-hijazi-female-1",
model="faseeh-v1-preview",
)
MUNSIT_API_KEY is used for both engines (the legacy FASEEH_API_KEY env var still works
for TTS).
Documentation
Full API reference: https://docs.munsit.com — see Speech-to-Text Streaming for the
/api/v1/listen protocol (events, close codes, billing).
Development
uv sync
uv run pytest tests/ -k "not Integration" # offline suite (fake server)
MUNSIT_API_KEY=... uv run pytest tests/ # includes live integration tests
License
Apache-2.0
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 livekit_plugins_munsit-0.4.0.tar.gz.
File metadata
- Download URL: livekit_plugins_munsit-0.4.0.tar.gz
- Upload date:
- Size: 23.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77f90cfd85e443b6df641bd4adf1d5db01a2bc553d50ca0551f18561d7027dde
|
|
| MD5 |
14c33751616beed1da068c19340b937a
|
|
| BLAKE2b-256 |
64d6652bb6f41f521eb79103958b240139eec67428f65ec50a17873dea6118ad
|
Provenance
The following attestation bundles were made for livekit_plugins_munsit-0.4.0.tar.gz:
Publisher:
publish.yml on CNTXTFZCO0/livekit-plugins-munsit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
livekit_plugins_munsit-0.4.0.tar.gz -
Subject digest:
77f90cfd85e443b6df641bd4adf1d5db01a2bc553d50ca0551f18561d7027dde - Sigstore transparency entry: 2270438202
- Sigstore integration time:
-
Permalink:
CNTXTFZCO0/livekit-plugins-munsit@2e6a892c10f9e84d5a4a105d64a60af3baeb8dac -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/CNTXTFZCO0
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2e6a892c10f9e84d5a4a105d64a60af3baeb8dac -
Trigger Event:
push
-
Statement type:
File details
Details for the file livekit_plugins_munsit-0.4.0-py3-none-any.whl.
File metadata
- Download URL: livekit_plugins_munsit-0.4.0-py3-none-any.whl
- Upload date:
- Size: 27.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
519a115f38008823968e5ee4a51e9f7118fd36f1a4d08de80ce5ca3d95f3a986
|
|
| MD5 |
67c0a586c5ec7fc53a1b2bbd5bfa68a3
|
|
| BLAKE2b-256 |
760584722a2c4b25c0820da9d4b0f864ba59c875a8e6b67ae5d713186ad6669c
|
Provenance
The following attestation bundles were made for livekit_plugins_munsit-0.4.0-py3-none-any.whl:
Publisher:
publish.yml on CNTXTFZCO0/livekit-plugins-munsit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
livekit_plugins_munsit-0.4.0-py3-none-any.whl -
Subject digest:
519a115f38008823968e5ee4a51e9f7118fd36f1a4d08de80ce5ca3d95f3a986 - Sigstore transparency entry: 2270438492
- Sigstore integration time:
-
Permalink:
CNTXTFZCO0/livekit-plugins-munsit@2e6a892c10f9e84d5a4a105d64a60af3baeb8dac -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/CNTXTFZCO0
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2e6a892c10f9e84d5a4a105d64a60af3baeb8dac -
Trigger Event:
push
-
Statement type: