livekit-plugins-openai
Agent Framework plugin for services from OpenAI
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has low install friction, carries a permissive license, and integrates cleanly into the LiveKit Agents ecosystem. It's well-positioned for production use if you're building conversational agents and need OpenAI or compatible LLM/voice services. No known vulnerabilities. Install it if you're already using LiveKit Agents and want OpenAI integration.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later and a valid OpenAI API key set as OPENAI_API_KEY environment variable.
- Low install friction with a pure-Python wheel.
- Actively maintained with a recent release (1 day old) and strong repository signals (13002 stars, last commit 2026-08-14).
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for most production deployments.
last release 2026-08-13 (1 days) · last repo commit 2026-08-14 · 13,002 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,539,666 downloads/mo, #2,585 on PyPI
Alternatives
Verify before relying
pip install livekit-plugins-openai
import os
from livekit.agents import openai
# Set OPENAI_API_KEY environment variable
os.environ['OPENAI_API_KEY'] = 'your-key-here'
# Use OpenAI LLM, TTS, or STT within a LiveKit agent- Whether the package handles fallback or error recovery when an OpenAI-compatible provider is unavailable.
- Performance characteristics and latency expectations for the Realtime API streaming path.
- Whether all listed compatible providers (Azure, Cerebras, Fireworks, etc.) are equally well-tested or have known limitations.
What it is and what it does
This package bridges OpenAI's AI services into the LiveKit Agents framework, enabling real-time voice and video interactions. It provides access to OpenAI's Realtime API for low-latency streaming conversations, plus standard LLM, text-to-speech, and speech-to-text capabilities. The plugin also acts as a gateway to OpenAI-compatible services, allowing you to swap in providers like Azure OpenAI, Cerebras, Fireworks, Perplexity, Telnyx, xAI, Ollama, DeepSeek, and SambaNova without changing your agent code.
The package depends on livekit-agents (the core framework) and openai (the official client library). It's designed for developers building conversational AI agents that need to integrate with LiveKit's media infrastructure while leveraging OpenAI's models or compatible alternatives. Installation is straightforward and requires only an OpenAI API key as a prerequisite.
Use it for
- Build real-time voice agents that respond to user speech using OpenAI's Realtime API within a LiveKit session.
- Create multi-modal agents combining video, audio, and LLM reasoning using OpenAI's APIs integrated into LiveKit.
- Switch between OpenAI and compatible providers (Azure, Fireworks, Ollama) without rewriting agent logic.
- Deploy speech-to-text and text-to-speech pipelines for live conversations powered by OpenAI models.
- Prototype and test agent behavior with Ollama or DeepSeek before deploying to production OpenAI endpoints.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has low install friction, carries a permissive license, and integrates cleanly into the LiveKit Agents ecosystem. It's well-positioned for production use if you're building conversational agents and need OpenAI or compatible LLM/voice services. No known vulnerabilities. Install it if you're already using LiveKit Agents and want OpenAI integration.
Install
livekit-plugins-openai on PyPI
Before you install
Low install friction with a pure-Python wheel. Actively maintained with a recent release (1 day old) and strong repository signals (13002 stars, last commit 2026-08-14). Requires Python 3.10 or later.
Requires Python 3.10 or later and a valid OpenAI API key set as OPENAI_API_KEY environment variable.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for most production deployments.
Quickstart
pip install livekit-plugins-openai
import os
from livekit.agents import openai
# Set OPENAI_API_KEY environment variable
os.environ['OPENAI_API_KEY'] = 'your-key-here'
# Use OpenAI LLM, TTS, or STT within a LiveKit agent
Verify before relying
- Whether the package handles fallback or error recovery when an OpenAI-compatible provider is unavailable.
- Performance characteristics and latency expectations for the Realtime API streaming path.
- Whether all listed compatible providers (Azure, Cerebras, Fireworks, etc.) are equally well-tested or have known limitations.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10.0 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packageslivekit-agentsopenai |
| Maintenance | Actively maintained 1 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,539,666 / month, #2,585 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Topic :: Multimedia :: Sound/AudioTopic :: Multimedia :: VideoTopic :: Scientific/Engineering :: Artificial Intelligence |
Evidence: livekit_plugins_openai-1.6.10-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “openai livekit agents integration”
- livekit-plugins-openaiIntegrates OpenAI's Realtime, Responses, LLM, TTS, and STT APIs into…
- livekit-plugins-azureIntegrates Azure AI services, particularly Azure Speech, into LiveKit…
- livekit-agentsA framework for building realtime multimodal and voice AI agents that…
Give your agent the search over MCP, or paste the wish link into any chat.
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.
Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.
Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.
Install it if you work with Hugging Face Hub models or datasets.
LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.
hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.
Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.
Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.
Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.
See also livekit-plugins-azure · open-webui · livekit-plugins-xai · livekit-plugins-assemblyai · livekit-plugins-cartesia · livekit-plugins-telnyx · livekit-plugins-sarvam · livekit-plugins-rime · astra-assistants · openai-agents