--- id: livekit-plugins-openai version: "1.6.10" license: Apache-2.0 license_treatment: permissive maintenance: active --- # livekit-plugins-openai — Agent Framework plugin for services from OpenAI License: permissive · Maintenance: active · Downloads: 3.5M/mo ## 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 above — verify before relying. Integrates OpenAI's Realtime, Responses, LLM, TTS, and STT APIs into LiveKit Agents, plus support for OpenAI-compatible providers like Azure OpenAI, Cerebras, Fireworks, Perplexity, and others. 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 pip install livekit-plugins-openai uv add livekit-plugins-openai poetry add livekit-plugins-openai ## Installing livekit-plugins-openai 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. 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 Requires Python 3.10 or later and a valid OpenAI API key set as OPENAI_API_KEY environment variable. 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_current - Install friction: low - Maintenance: active - Downloads: 3.5M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags openai livekit agents integration, realtime api voice agents, openai tts stt livekit, azure openai compatible llm, livekit openai plugin, voice ai agents framework, openai realtime streaming, voice-agents, realtime-streaming, llm-integration [View on SkillFed](https://skillfed.io/packages/livekit-plugins-openai) · [View on PyPI](https://pypi.org/project/livekit-plugins-openai/)