Skip to main content
xAI Grok is an LLM plugin. It takes the transcribed conversation and generates the reply using xAI’s Grok models, with client-side function calling.

Setup

Set your xAI API key in the worker environment. Generate a key from the xAI console:

Usage

Import the plugin and pass it to the pipeline’s llm slot.

Configuration Options

Constructor parameters for the Python SDK (XAILLM). The JavaScript and Go SDKs expose equivalent options where supported, in their idiomatic form (camelCase / LLMOptions struct).

Import paths

The reply is streamed to the text-to-speech plugin, which synthesizes the agent’s voice.