semvec/pypi-packages huggingface dataset:
DBTunnelBridge 0.0.2
A package for managing local and remote database connections with optional SSH tunneling.
Requires Python: >=3.11

# DBTunnelBridge

DBTunnelBridge is a Python package that simplifies MySQL-compatible database connections with optional SSH tunneling support. It provides a clean, Pythonic interface for managing both local and remote database connections through SSH tunnels, with basic automatic resource management and environment variable integration.

## Features

- 🔌 Simple database connection management
- 🔒 Secure SSH tunneling support
- 🔑 Environment variable configuration
- 🛠 SQLAlchemy integration
- 📦 Context manager support for automatic resource cleanup
- 🔄 Automatic port forwarding management

## Installation

```bash
pip install dbtunnelbridge
```

## Quick Start

### Basic Local Connection
```python
from dbtunnelbridge import create_db_connection
# Create a direct database connection
with create_db_connection(
        db_user="your_user",
        db_password="your_password",
        db_host="localhost",
        db_port=3306
        ) as db:
    session = db.get_session()
    # Your database operations here
```
### Create a connection through SSH tunnel
```python
from dbtunnelbridge import create_db_connection

with create_db_connection(
    db_user="your_user",
    db_password="your_password",
    db_host="internal.database.host",
    db_port=3306,
    use_ssh_tunnel=True,
    ssh_host="bastion.example.com",
    ssh_username="ssh_user",
    ssh_pkey="/path/to/private/key"
) as db:
    session = db.get_session()
    # Your database operations here
```


## Environment Variables Support

DBTunnelBridge supports configuration through environment variables:

### Database Configuration
- `DB_USER`: Database username
- `DB_PASSWORD`: Database password
- `DB_HOST`: Database host
- `DB_PORT`: Database port

### SSH Tunnel Configuration
- `USE_SSH_TUNNEL`: Enable/disable SSH tunneling ('true'/'false')
- `SSH_HOST`: SSH tunnel host
- `SSH_USERNAME`: SSH username
- `SSH_PKEY`: Path to SSH private key

## Advanced Usage

### Manual Resource Management
```python
db = create_db_connection(
    db_user="your_user",
    db_password="your_password",
    db_host="localhost",
    db_port=3306
)
try:
    db.create_engine()
    session = db.get_session()
    # Your database operations here
finally:
    db.close_tunnel_if_needed()
```

## Requirements

- Python 3.10+
- SQLAlchemy
- PyMySQL
- sshtunnel
- paramiko
phytrace-sdk 0.0.1
PhyTrace SDK for autonomous systems telemetry capture and streaming
Requires Python: >=3.11
Keywords: robotics, telemetry, autonomous, iot, phytrace

# phytrace-sdk

PhyTrace SDK for autonomous systems telemetry capture and streaming.

**This package is under active development.** See [phyware.io](https://phyware.io) for details.
livekit-plugins-xai 1.4.2
Agent Framework plugin for xAI
Requires Python: >=3.10.0
Keywords: ai, audio, grok, livekit, realtime, video, voice, webrtc, xai

# xAI plugin for LiveKit Agents

Support for the [xAI](https://x.ai/) realtime model.

See [https://docs.livekit.io/agents/integrations/xai/](https://docs.livekit.io/agents/integrations/xai/) for more information.
livekit-plugins-upliftai 1.4.2
Agent Framework plugin for speech synthesis with the Uplift AI.
Requires Python: >=3.10.0
Keywords: audio, livekit, multilingual, realtime, tts, upliftai, urdu, video, webrtc

# Uplift AI plugin for LiveKit Agents

Support for voice synthesis with [Uplift AI](https://upliftai.org) for underserved languages.

See [https://docs.upliftai.org/orator_voices](https://docs.upliftai.org/orator_voices) for supported voices and languages.

## Installation

```bash
pip install livekit-plugins-upliftai
```

## Pre-requisites

You'll need an API key from Uplift AI. It can be set as an environment variable: `UPLIFTAI_API_KEY`. You can get your API key by signing up at [https://upliftai.org](https://upliftai.org).


## Tutorial

Follow along at [https://docs.upliftai.org/tutorials/livekit-voice-agent](https://docs.upliftai.org/tutorials/livekit-voice-agent) where we build a voice agent using LiveKit and Uplift AI.
livekit-plugins-turn-detector 1.4.2
End of utterance detection for LiveKit Agents
Requires Python: >=3.10.0
Keywords: ai, audio, livekit, realtime, video, voice, webrtc

# Turn detector plugin for LiveKit Agents

This plugin introduces end-of-turn detection for LiveKit Agents using a custom open-weight model to determine when a user has finished speaking.

Traditional voice agents use VAD (voice activity detection) for end-of-turn detection. However, VAD models lack language understanding, often causing false positives where the agent interrupts the user before they finish speaking.

By leveraging a language model specifically trained for this task, this plugin offers a more accurate and robust method for detecting end-of-turns.

See [https://docs.livekit.io/agents/build/turns/turn-detector/](https://docs.livekit.io/agents/build/turns/turn-detector/) for more information.

## Installation

```bash
pip install livekit-plugins-turn-detector
```

## Usage

### Multilingual model

We've trained a multilingual model that supports the following languages: `English, French, Spanish, German, Italian, Portuguese, Dutch, Chinese, Japanese, Korean, Indonesian, Russian, Turkish, Hindi`

The multilingual model requires ~400MB of RAM and completes inferences in ~25ms.

```python
from livekit.plugins.turn_detector.multilingual import MultilingualModel

session = AgentSession(
    ...
    turn_detection=MultilingualModel(),
)
```

### Usage with RealtimeModel

The turn detector can be used even with speech-to-speech models such as OpenAI's Realtime API. You'll need to provide a separate STT to ensure our model has access to the text content.

```python
session = AgentSession(
    ...
    stt=deepgram.STT(model="nova-3", language="multi"),
    llm=openai.realtime.RealtimeModel(),
    turn_detection=MultilingualModel(),
)
```

## Running your agent

This plugin requires model files. Before starting your agent for the first time, or when building Docker images for deployment, run the following command to download the model files:

```bash
python my_agent.py download-files
```

## Downloaded model files

Model files are downloaded to and loaded from the location specified by the `HF_HUB_CACHE` environment variable. If not set, this defaults to `$HF_HOME/hub` (typically `~/.cache/huggingface/hub`).

For offline deployment, download the model files first while connected to the internet, then copy the cache directory to your deployment environment.

## Model system requirements

The end-of-turn model is optimized to run on CPUs with modest system requirements. It is designed to run on the same server hosting your agents.

The model requires <500MB of RAM and runs within a shared inference server, supporting multiple concurrent sessions.

## License

The plugin source code is licensed under the Apache-2.0 license.

The end-of-turn model is licensed under the [LiveKit Model License](https://huggingface.co/livekit/turn-detector/blob/main/LICENSE).
livekit-plugins-trugen 1.3.11
Livekit Agent framework plugin for realtime TruGen AI avatars
Requires Python: >=3.9.0
Keywords: ai, audio, livekit, realtime, video, voice, webrtc

# TruGen AI plugin for LiveKit Agents

Adding support for [TruGen.AI](https://docs.trugen.ai) realtime avatars.

## Installation

```bash
pip install livekit-plugins-trugen
```

## Pre-requisites

Generate an API key from our [Developer Studio](https://app.trugen.ai) and set the `TRUGEN_API_KEY` environment variable with it:

```bash
export TRUGEN_API_KEY=<trugen-api-key>
```
livekit-plugins-tavus 1.4.2
Agent Framework plugin for Tavus
Requires Python: >=3.10.0
Keywords: ai, audio, livekit, realtime, video, voice, webrtc

# Tavus virtual avatar plugin for LiveKit Agents

Support for the [Tavus](https://tavus.io/) virtual avatar.

See [https://docs.livekit.io/agents/integrations/avatar/tavus/](https://docs.livekit.io/agents/integrations/avatar/tavus/) for more information.
livekit-plugins-spitch 1.4.2
spitch plugin template for LiveKit Agents
Requires Python: >=3.10.0
Keywords: ai, audio, livekit, realtime, video, voice, webrtc

# Spitch plugin for LiveKit Agents

Support for [Spitch](https://spitch.app/)'s African-language voice AI services in LiveKit Agents.

More information is available in the docs for the [STT](https://docs.livekit.io/agents/integrations/stt/spitch/) and [TTS](https://docs.livekit.io/agents/integrations/tts/spitch/) integrations.

## Installation

```bash
pip install livekit-plugins-spitch
```

## Pre-requisites

You'll need an API key from Spitch. It can be set as an environment variable: `SPITCH_API_KEY`
livekit-plugins-speechify 1.4.2
Agent Framework plugin for voice synthesis with Speechify's API.
Requires Python: >=3.10.0
Keywords: audio, livekit, realtime, speechify, video, webrtc

# Speechify TTS plugin for LiveKit Agents

Support for voice synthesis with the [Speechify](https://www.speechify.ai/) API.

See [https://docs.livekit.io/agents/integrations/tts/speechify/](https://docs.livekit.io/agents/integrations/tts/speechify/) for more information.

## Installation

```bash
pip install livekit-plugins-speechify
```

## Pre-requisites

You'll need an API key from Speechify. It can be set as an environment variable: `SPEECHIFY_API_KEY`
livekit-plugins-soniox 1.4.2
Agent Framework plugin for services using Soniox's API.
Requires Python: >=3.10.0
Keywords: audio, livekit, realtime, soniox, speech-to-text, webrtc

# Soniox plugin for LiveKit Agents

Support for Soniox Speech-to-Text [Soniox](https://soniox.com/) API, using WebSocket streaming interface.

See https://docs.livekit.io/agents/integrations/stt/soniox/ for more information.

## Installation

```bash
pip install livekit-plugins-soniox
```

## Pre-requisites

The Soniox plugin requires an API key to authenticate. You can get your Soniox API key [here](https://console.soniox.com/).

Set API key in your `.env` file:

```
SONIOX_API_KEY=<your_soniox_api_key>
```

## Usage

Use Soniox in an `AgentSession` or as a standalone transcription service:

```python
from livekit.plugins import soniox

session = AgentSession(
    stt = soniox.STT(),
    # ... llm, tts, etc.
)
```

Congratulations! You are now ready to use Soniox Speech-to-Text API in your LiveKit agents.

You can test Soniox Speech-to-Text API in the LiveKit's [Voice AI quickstart](https://docs.livekit.io/agents/start/voice-ai/).

## More information and reference

Explore integration details and find comprehensive examples in our [Soniox LiveKit integration guide](https://speechdev.soniox.com/docs/speech-to-text/integrations/livekit).
livekit-plugins-smallestai 1.4.2
Agent Framework plugin for speech synthesis with the Smallest AI.
Requires Python: >=3.10.0
Keywords: audio, livekit, multilingual, realtime, smallestai, tts, video, webrtc

# LiveKit Plugins Smallest AI

LiveKit Agent Framework plugin for speech synthesis with the [Smallest AI](https://smallest.ai/) API ([documentation](https://waves-docs.smallest.ai/)).

## Installation

```bash
pip install livekit-plugins-smallestai
```

## Pre-requisites

You'll need an API key from Smallest AI. It can be set as an environment variable: `SMALLEST_API_KEY`
livekit-plugins-simplismart 1.4.2
Agent Framework plugin for services using SimpliSmart's API.
Requires Python: >=3.10.0
Keywords: audio, livekit, realtime, simplismart, stt, tts, video

# Simplismart Plugin for LiveKit Agents

Support for [Simplismart.ai](https://simplismart.ai)'s voice AI services in LiveKit Agents.

## Features

- **Speech-to-Text (STT)**: Convert audio to text using Simplismart's STT models. See the [STT docs](https://docs.livekit.io/agents/integrations/stt/simplismart/) for more information.
- **Text-to-Speech (TTS)**: Convert text to audio using Simplismart's TTS models. See the [TTS docs](https://docs.livekit.io/agents/integrations/tts/simplismart/) for more information.

## Installation 

```bash
pip install livekit-plugins-simplismart
```

## Pre-requisites

You'll need an API key from Simplismart.ai. It can be set as an environment variable: `SIMPLISMART_API_KEY`
livekit-plugins-simli 1.4.2
Agent Framework plugin for Simli
Requires Python: >=3.10.0
Keywords: ai, audio, livekit, realtime, video, voice, webrtc

# Simli Avatar plugin for LiveKit Agents

Support for the [Simi](https://simli.com/) virtual avatar.

See [https://docs.livekit.io/agents/integrations/avatar/simli/](https://docs.livekit.io/agents/integrations/avatar/simli/) for more information.
livekit-plugins-silero 1.4.2
Agent Framework Plugin for Silero
Requires Python: >=3.10.0
Keywords: ai, audio, livekit, realtime, video, voice, webrtc

# Silero VAD plugin for LiveKit Agents

Support for VAD-based turn detection.

See [https://docs.livekit.io/agents/build/turns/vad/](https://docs.livekit.io/agents/build/turns/vad/) for more information.

## Installation

```bash
pip install livekit-plugins-silero
```

This plugin contains model files that would need to be downloaded prior to use.
livekit-plugins-sarvam 1.4.2
Agent Framework plugin for services using Sarvam.ai's API.
Requires Python: >=3.10.0
Keywords: audio, indian-languages, indic, livekit, realtime, sarvam, stt, tts, video, webrtc

# Sarvam.ai Plugin for LiveKit Agents

Support for [Sarvam.ai](https://sarvam.ai)'s Indian-language voice AI services in LiveKit Agents.

## Features

- **Speech-to-Text (STT)**: Convert audio to text using Sarvam's "Saarika" models. See the [STT docs](https://docs.livekit.io/agents/integrations/stt/sarvam/) for more information.
- **Text-to-Speech (TTS)**: Convert text to audio using Sarvam's "Bulbul" models. See the [TTS docs](https://docs.livekit.io/agents/integrations/tts/sarvam/) for more information.

## Installation 

```bash
pip install livekit-plugins-sarvam
```

## Pre-requisites

You'll need an API key from Sarvam.ai. It can be set as an environment variable: `SARVAM_API_KEY`
livekit-plugins-rtzr 1.4.2
Agent Framework plugin for RTZR Streaming STT
Requires Python: >=3.10.0
Keywords: audio, livekit, realtime, rtzr, speech-to-text, video, webrtc

# RTZR plugin for LiveKit Agents

Support for RTZR Streaming STT via WebSocket interface, following the "Streaming STT" guide in the RTZR Developers docs.

- Docs: `https://developers.rtzr.ai/docs/en/` (see Streaming STT)

## Installation

```bash
pip install livekit-plugins-rtzr
```

## Prerequisites

Obtain `client_id` and `client_secret` from the RTZR Developers Console.

Set credentials as environment variables:

```
RTZR_CLIENT_ID=<your_client_id>
RTZR_CLIENT_SECRET=<your_client_secret>
```

```
# Override base HTTP API URL (used for token issuance)
RTZR_API_BASE=https://openapi.vito.ai

# Override WebSocket URL (used for live streaming)
RTZR_WEBSOCKET_URL=wss://openapi.vito.ai
```

If `RTZR_WEBSOCKET_URL` is not set, the plugin will derive it from `RTZR_API_BASE` by replacing the scheme with `wss://`.

## Usage

Use RTZR STT in an `AgentSession` or as a standalone streaming service.

```python
from livekit.agents import AgentSession
from livekit.plugins import rtzr

# Basic usage with env-based credentials
stt = rtzr.STT()

session = AgentSession(
    stt=stt,
    # ... llm, tts, etc.
)
```

Keyword boosting (Streaming STT only, sommers_ko model only):

```python
stt = rtzr.STT(
    model="sommers_ko",
    keywords=[
        "키워드",
        ("부스팅", 3.5),
        "키위드:-1.0",
    ],
)
```

Rules:
- Use list entries as `keyword` or `keyword:score`, or use `(keyword, score)` tuples.
- Score must be between -5.0 and 5.0, up to 100 keywords, each <= 20 chars.
- Keywords must be written in Korean pronunciation (Hangul and spaces only); non-Korean input will error.

Notes:
- The WebSocket streaming endpoint accepts raw PCM frames when `encoding=LINEAR16`.
- The plugin relies on the server-side endpointing (EPD). You do not need to send finalize messages.
- When the pipeline closes the stream, the plugin sends `EOS` to end the session.
livekit-plugins-rime 1.4.2
LiveKit Agents Plugin for Rime
Requires Python: >=3.10.0
Keywords: audio, livekit, realtime, rime, video, webrtc

# Rime plugin for LiveKit Agents

Support for voice synthesis with the [Rime](https://rime.ai/) API.

See [https://docs.livekit.io/agents/integrations/tts/rime/](https://docs.livekit.io/agents/integrations/tts/rime/) for more information.

## Installation

```bash
pip install livekit-plugins-rime
```

## Pre-requisites

You'll need an API key from Rime. It can be set as an environment variable: `RIME_API_KEY`
livekit-plugins-openai 1.4.2
Agent Framework plugin for services from OpenAI
Requires Python: >=3.10.0
Keywords: ai, audio, livekit, openai, realtime, video, voice

# OpenAI plugin for LiveKit Agents

Support for OpenAI Realtime API, Responses API, LLM, TTS, and STT APIs.

Also includes support for a large number of OpenAI-compatible APIs including [Azure OpenAI](https://docs.livekit.io/agents/integrations/llm/azure-openai/), [Cerebras](https://docs.livekit.io/agents/integrations/cerebras/), [Fireworks](https://docs.livekit.io/agents/integrations/llm/fireworks/), [Perplexity](https://docs.livekit.io/agents/integrations/llm/perplexity/), [Telnyx](https://docs.livekit.io/agents/integrations/llm/telnyx/), [xAI](https://docs.livekit.io/agents/integrations/llm/xai/), [Ollama](https://docs.livekit.io/agents/integrations/llm/ollama/), and [DeepSeek](https://docs.livekit.io/agents/integrations/llm/deepseek/).

See [https://docs.livekit.io/agents/integrations/openai/](https://docs.livekit.io/agents/integrations/openai/) for more information.

## Installation

```bash
pip install livekit-plugins-openai
```

## Pre-requisites

You'll need an API key from OpenAI. It can be set as an environment variable: `OPENAI_API_KEY`
livekit-plugins-nvidia 1.4.2
LiveKit Agents Plugin for services from nvidia
Requires Python: >=3.10.0
Keywords: audio, livekit, nvidia, realtime, video, webrtc

# NVIDIA plugin for LiveKit Agents

Support for [NVIDIA Riva](https://developer.nvidia.com/riva)'s speech AI services in LiveKit Agents.

More information is available in the [NVIDIA Riva documentation](https://developer.nvidia.com/riva).

## Installation

```bash
pip install livekit-plugins-nvidia
```

## Pre-requisites

You can either:

1. Use an API key from NVIDIA. It can be set as an environment variable: `NVIDIA_API_KEY`
2. Use you self hosted [Nim](https://developer.nvidia.com/nim) server.
livekit-plugins-nltk 1.4.2
Agent Framework plugin for NLTK-based text processing.
Requires Python: >=3.10.0
Keywords: ai, audio, livekit, realtime, video, voice, webrtc

# NLTK plugin for LiveKit Agents

Support for [NLTK](https://www.nltk.org/)-based text processing. Currently featuring a `SentenceTokenizer`.

## Installation

```bash
pip install livekit-plugins-nltk
```
livekit-plugins-neuphonic 1.4.2
Neuphonic inference plugin for LiveKit Agents
Requires Python: >=3.10.0
Keywords: ai, audio, livekit, neuphonic, realtime, video, voice

# Neuphonic plugin for LiveKit Agents

Support for voice synthesis with [Neuphonic](https://neuphonic.com).

See [https://docs.livekit.io/agents/integrations/tts/neuphonic/](https://docs.livekit.io/agents/integrations/tts/neuphonic/) for more information.

## Installation

```bash
pip install livekit-plugins-neuphonic
```

## Pre-requisites

You'll need an API key from Neuphonic. It can be set as an environment variable: `NEUPHONIC_API_TOKEN`
livekit-plugins-mistralai 1.4.2
LiveKit Agents Plugin for services from AWS
Requires Python: >=3.10.0
Keywords: ai, audio, livekit, mistral, realtime, video, voice

# MistralAI Plugin for LiveKit Agents

Support for MistralAI LLM, ChatModels

See [https://docs.livekit.io/agents/integrations/mistral/](https://docs.livekit.io/agents/integrations/mistral/) for more information.

## Installation

```bash
pip install livekit-plugins-mistral
```

## Pre-requisites

You'll need an API key from MistralAI. It can be set as an environment variable:

```bash
export MISTRAL_API_KEY=your_api_key_here
```
livekit-plugins-minimax-ai 1.4.2
LiveKit Agents Plugin for services from AWS
Requires Python: >=3.10.0
Keywords: ai, audio, livekit, minimax, realtime, video, voice

# MiniMax  TTS plugin for LiveKit Agents

Support for [MiniMax](https://www.minimaxi.com/)'s voice AI services in LiveKit Agents.

More information is available in the docs for the [TTS]() integrations.

## Installation

```bash
pip install livekit-plugins-minimax-ai
```

## Pre-requisites

You'll need an API key from MiniMax. It can be set as an environment variable: `MINIMAX_API_KEY`
livekit-plugins-minimal 1.4.2
Minimal plugin template for LiveKit Agents
Requires Python: >=3.10.0
Keywords: ai, audio, livekit, realtime, video, voice, webrtc

# Minimal example plugin for LiveKit Agents

This is a minimal example of a LiveKit plugin for Agents.

### Developer note

When copying this directory over to create a new `livekit-plugins` package, make sure it's nested within the `livekit-plugins` folder and that the `"name"` field in `package.json` follows the proper naming convention for CI:

```json
{
  "name": "livekit-plugins-<name>",
  "private": true
}
```
livekit-plugins-lmnt 1.4.2
LMNT TTS plugin for LiveKit agents
Requires Python: >=3.10.0
Keywords: LMNT, TTS, audio, livekit, realtime, voice, webrtc

# LMNT plugin for LiveKit Agents

Support for voice synthesis with [LMNT](https://lmnt.com/) in LiveKit Agents.

See the [LMNT TTS docs](https://docs.livekit.io/agents/integrations/tts/lmnt/) for more information.

## Installation

```bash
pip install livekit-plugins-lmnt
```

## Pre-requisites

You'll need an API key from LMNT. It can be set as an environment variable: `LMNT_API_KEY`. You can get it from [here](https://app.lmnt.com/account#api-keys)
livekit-plugins-liveavatar 1.4.2
Agent Framework plugin for LiveAvatar
Requires Python: >=3.10.0
Keywords: ai, audio, avatar, heygen, liveavatar, livekit, realtime, video, voice, webrtc

# HeyGen virtual avatar plugin for LiveKit Agents

Support for the [Heygen LiveAvatar](https://www.liveavatar.com/) virtual avatar.

See [https://docs.livekit.io/agents/integrations/avatar/liveavatar/](https://docs.livekit.io/agents/integrations/avatar/liveavatar/) for more information.
livekit-plugins-lemonslice 1.4.2
Agent Framework plugin for LemonSlice
Requires Python: >=3.10.0
Keywords: agent, ai, audio, avatar, lemonslice, livekit, realtime, video, voice, webrtc

# LemonSlice virtual avatar plugin for LiveKit Agents

Support for the [LemonSlice](https://www.lemonslice.com/) virtual avatar.

See [https://docs.livekit.io/agents/models/avatar/plugins/lemonslice/](https://docs.livekit.io/agents/models/avatar/plugins/lemonslice/) for more information.
livekit-plugins-langchain 1.4.2
LangChain/LangGraph plugin for LiveKit agents
Requires Python: >=3.10.0
Keywords: LangChain, LangGraph, ai, livekit, realtime, voice

# LangChain plugin for LiveKit Agents

This plugin integrates capabilites from LangChain within LiveKit Agents

## Installation

```bash
pip install livekit-plugins-langchain
```

## Usage

### Using LangGraph workflows

You can bring over any existing workflow in LangGraph as an Agents LLM with `langchain.LLMAdapter`. For example:

```python
from langgraph.graph import StateGraph
from livekit.agents import Agent, AgentSession, JobContext
from livekit.plugins import langchain

...

def entrypoint(ctx: JobContext):
    graph = StateGraph(...).compile()

    session = AgentSession(
        vad=...,
        stt=...,
        tts=...,
    )

    await session.start(
        agent=Agent(llm=langchain.LLMAdapter(graph)),
    )
    ...
```