Connect xAI to Your AI Agent

Choose an available Grok model and provide the conversation you want it to answer.

3 tools API key

Try a xAI Task

Copy a prompt into your agent with the oo Skill installed. Add your page links and source notes before running it.

oo Skill xAI

Review Available Grok Models

Inspect model metadata returned for your API key to choose an available model.

/oo xAI: List xAI models available to my API key and summarize their metadata.

Generate a Chat Response

Provide a model and conversation messages to obtain a non-streaming response.

/oo xAI: Use model [model] and messages [{"role":"user","content":"[question]"}] to generate a response.

Start Working with xAI

  1. Install OOMOL

    Set up oo CLI and the oo Skill in your agent.

    Install OOMOL →
  2. Connect xAI

    Connect with your xAI API Key.

    Connect xAI →
  3. Give Your Agent a Task

    Use /oo with the pages to read, the changes to make, and where to save the result.

    Connection Guide →

Choose Your Agent

  • An xAI key enabled for the target model and sufficient model quota.
  • The action uses non-streaming chat completion. Generated text alone does not establish live web evidence.

xAI Tools

Inspect model metadata returned for your API key to choose an available model. Provide a model and conversation messages to obtain a non-streaming response.

Review Available Grok Models

List the xAI models available to the current API key.

Generate a Chat Response

Create a non-streaming xAI OpenAI-compatible chat completion.

3 tools

List Models

List the xAI models available to the current API key.

x_ai.list_models

Get Model

Fetch metadata for one xAI model.

x_ai.get_model

Create Chat Completion

Create a non-streaming xAI OpenAI-compatible chat completion.

x_ai.create_chat_completion

Frequently Asked Questions

What can AI help me do with xAI?

Explore xAI model availability and ask Grok to respond to a conversation you provide.

What should I know before using xAI results?

The action uses non-streaming chat completion. Generated text alone does not establish live web evidence.

What do I need to connect xAI?

Connect an xAI API key enabled for the model you intend to call, with sufficient quota.

Connect xAI

About xAI ↗