Files
2026-07-13 13:39:38 +08:00

18 lines
1.1 KiB
Markdown

# 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/), [DeepSeek](https://docs.livekit.io/agents/integrations/llm/deepseek/), and [SambaNova](https://docs.livekit.io/agents/integrations/llm/sambanova/).
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`