Plugin for the LiveKit Agents framework integrating xAI's Grok models for LLM and TTS inference. Current version 1.5.7, released as part of the livekit-agents monorepo with weekly releases.
pip install livekit-plugins-xaiVerified import paths — ran on the pinned version, not inferred.
Initialize xAI LLM and TTS with API key from environment variable XAI_API_KEY.
Use only basic chat completion features; avoid function calling and response_format with JSON schema.
Run `pip install livekit-plugins-xai` and update imports to `from livekit.plugins.xai import ...`
Replace `LLM.with_groq(...)` with `LLM(...)`.