Skip to main content

livekit-plugins-reson8

Reson8 STT plugin for LiveKit Agents.

A single reson8.STT class that adapts to how LiveKit uses it:

  • Streaming (stream(), used by voice agents) connects to the turn-aware endpoint. Reson8 detects conversational turn boundaries server-side: it emits a preflight transcript (an eager guess that the turn is over) that your agent can start responding to, then confirms it as a final transcript — or cancels it if the speaker keeps talking. Great for low-latency voice agents.
  • Batch (recognize()) transcribes pre-recorded audio and returns the full transcript.

Languages

Leave language unset to auto-detect the spoken language, or pin recognition to one or more supported codes. You can pass a single code, a comma-string, or a list — a list is normalized to Reson8's comma-joined form and any unsupported code raises ValueError locally.

reson8.STT()                        # auto-detects the spoken language
reson8.STT(language="en")           # English only
reson8.STT(language="nl,de")        # Dutch or German
reson8.STT(language=["nl", "de"])   # same, as a list

Supported languages (reson8.SupportedLanguages):

Code Language
de German
en English
es Spanish
fr French
fy Frisian
it Italian
nl Dutch
pl Polish
pt Portuguese
sv Swedish

Installation

pip install livekit-plugins-reson8

Usage

from livekit.plugins import reson8

stt = reson8.STT(
    api_key="your-api-key",   # or set RESON8_API_KEY
    # language is auto-detected when omitted; pass one or more supported codes to pin it
)

With a Voice Agent

from livekit.agents import AgentSession
from livekit.plugins import openai, reson8

session = AgentSession(
    stt=reson8.STT(),          # streaming + turn detection, language auto-detected
    llm=openai.LLM(),
    tts=openai.TTS(),
    # "stt" hands turn detection to Reson8 and lets the agent start
    # generating on our preflight transcript instead of the confirmation.
    turn_handling={
        "turn_detection": "stt",
        "preemptive_generation": {"enabled": True},
    },
)

Without turn_handling, LiveKit runs its own turn detector and our preflight transcripts are ignored — set it on every AgentSession that uses this plugin.

Transcribing a file

event = await reson8.STT().recognize(audio_buffer)
print(event.alternatives[0].text)

Configuration

Parameter Env var Default
api_key RESON8_API_KEY required
api_url RESON8_API_URL https://api.reson8.dev
language None (auto-detect; one or more of SupportedLanguages, e.g. "nl,de" or ["nl", "de"])
sample_rate 16000
encoding "pcm_s16le"
channels 1
custom_model_id None (custom model for recognition biasing)
include_timestamps False
include_words False
include_confidence False (batch recognition)
include_language False (report detected language while streaming)

STT.update_options(...) changes settings at runtime; active streaming sessions reconnect automatically to apply them.

Running the example

cp .env.example .env
# Fill in your keys
python examples/voice_agent.py dev

Development

We use uv to manage the environment and dev dependencies, so you'll need to have it installed.

uv sync sets everything up — it reads the pinned Python version from .python-version, creates a .venv/, and installs the dev tools (Ruff and mypy).

Run the tooling through uv run, which uses the project environment without you having to activate anything:

uv run ruff check .    # lint
uv run ruff format .   # format
uv run mypy            # type-check

Release files for livekit-plugins-reson8 0.2.2

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

Source distribution (sdist)

Source distribution for livekit-plugins-reson8 0.2.2
File Size Uploaded
livekit_plugins_reson8-0.2.2.tar.gz 200.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for livekit-plugins-reson8 0.2.2
File Interpreter ABI Platform
livekit_plugins_reson8-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 215.4 kB

Release files / livekit_plugins_reson8-0.2.2.tar.gz

Download URL livekit_plugins_reson8-0.2.2.tar.gz
Size 200.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c475d1f61f465458eced00187632a7eafba69b3ed1b6173ee8cef6a4e367a84c
BLAKE2b-256 checksum
How to use checksums
030a1673530c4ba967af28c9d2cd7ff1fd556662f77c46ef4b873690786fed02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 10, 2026.

Transparency log

Release files / livekit_plugins_reson8-0.2.2-py3-none-any.whl

Download URL livekit_plugins_reson8-0.2.2-py3-none-any.whl
Size 15.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
73691ca7854b0ead19eb16de810e68317d3bcf9bb72d25a32e53d9a6fb6ff6b4
BLAKE2b-256 checksum
How to use checksums
0d12ac0b6d0323feaf99c55d49f32db302cce528fa45ae5f8d023728ad90b86f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 10, 2026.

Transparency log

Release history Release notifications | RSS feed

0.2.4

2 release files

0.2.3

2 release files

This release

0.2.2 This release

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

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