livekit-plugins-xai
Agent Framework plugin for xAI
Decision gist · record as of 2026-08-14
Yes, if you want to use Grok as the LLM in a LiveKit voice agent. The plugin is actively maintained, has no known vulnerabilities, installs with minimal friction, and is licensed permissively. Install it only if you have xAI API access and are already building with LiveKit Agents; it is a provider-specific plugin, not a standalone tool.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires livekit-agents to be installed and configured; you will need xAI API credentials (typically via environment variables or direct configuration).
- Installs cleanly with a single runtime dependency on livekit-agents.
- Actively maintained with a recent release (1 day old) and strong upstream project health (13003 stars, last commit 2026-08-14).
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions.
last release 2026-08-13 (1 days) · last repo commit 2026-08-14 · 13,003 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 269,412 downloads/mo, #8,260 on PyPI
Alternatives
Verify before relying
pip install livekit-plugins-xai
from livekit.plugins import xai
from livekit.agents import AgentSession
# Use xAI's Grok as the LLM in an agent session
session = AgentSession(
llm=xai.LLM(model="grok-3"), # or another available Grok model
# ... configure STT, TTS, VAD as needed
)- Which Grok model versions are supported by this plugin version (1.6.10)
- Whether xAI API credentials are required and how they are passed to the LLM
- Latency and performance characteristics of Grok responses in real-time agent scenarios
- Whether this plugin supports streaming or only request-response mode
What it is and what it does
This package is a plugin that connects xAI's Grok language model to LiveKit's Agent Framework, enabling developers to build voice agents powered by Grok. It acts as a bridge between the LiveKit agent runtime (which handles speech-to-text, text-to-speech, session management, and WebRTC communication) and xAI's Grok LLM API, allowing you to swap Grok in as the conversational intelligence layer of a voice agent.
The plugin is designed to work within the broader LiveKit ecosystem, which supports building multi-modal, real-time conversational agents that can see, hear, and respond. By using this xAI plugin, you specify Grok as your LLM choice when creating an AgentSession, and the framework handles the rest—routing user input to Grok, receiving responses, and feeding them back to the agent's text-to-speech pipeline. It follows the same integration pattern as other LiveKit model provider plugins.
Use it for
- Build a customer support voice agent powered by Grok that can handle real-time phone or video calls through LiveKit's telephony and WebRTC stack.
- Create a multi-agent handoff system where Grok serves as the primary conversational model, routing users between specialized agents based on intent.
- Deploy a voice assistant that uses Grok's reasoning capabilities to answer complex questions or perform tool-based tasks during live conversations.
- Integrate Grok into an existing LiveKit agent application to compare its performance or cost against other LLM providers without rewriting session logic.
- Build a testing or evaluation framework that uses Grok to validate agent behavior in automated voice interaction scenarios.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you want to use Grok as the LLM in a LiveKit voice agent.
The plugin is actively maintained, has no known vulnerabilities, installs with minimal friction, and is licensed permissively. Install it only if you have xAI API access and are already building with LiveKit Agents; it is a provider-specific plugin, not a standalone tool.
Install
livekit-plugins-xai on PyPI
Before you install
Installs cleanly with a single runtime dependency on livekit-agents. Actively maintained with a recent release (1 day old) and strong upstream project health (13003 stars, last commit 2026-08-14).
Requires livekit-agents to be installed and configured; you will need xAI API credentials (typically via environment variables or direct configuration).
License in practice
Licensed under Apache-2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions.
Quickstart
pip install livekit-plugins-xai
from livekit.plugins import xai
from livekit.agents import AgentSession
# Use xAI's Grok as the LLM in an agent session
session = AgentSession(
llm=xai.LLM(model="grok-3"), # or another available Grok model
# ... configure STT, TTS, VAD as needed
)
Verify before relying
- Which Grok model versions are supported by this plugin version (1.6.10)
- Whether xAI API credentials are required and how they are passed to the LLM
- Latency and performance characteristics of Grok responses in real-time agent scenarios
- Whether this plugin supports streaming or only request-response mode
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 | 1 packagelivekit-agents |
| Maintenance | Actively maintained 1 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 269,412 / month, #8,260 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_xai-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 › “xai grok livekit agent plugin”
- livekit-plugins-xaiIntegrates xAI's Grok LLM with LiveKit's Agent Framework to enable…
- langchain-xaiConnects xAI's language models to LangChain applications through…
- livekit-plugins-openaiIntegrates OpenAI's Realtime, Responses, LLM, TTS, and STT APIs into…
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-assemblyai · livekit-plugins-openai · livekit-plugins-groq · xai-sdk · livekit-plugins-rime · livekit-plugins-elevenlabs · livekit-agents · livekit-blingfire · livekit-plugins-telnyx · livekit-plugins-silero