
X AI integration
xAI is an AI company with the mission of advancing scientific discovery and gaining a deeper understanding of our universe.
What your agents can do with X AI
4 pre-built X AI tool steps, ready to drop into any agent. Anything they do not cover, an agent can reach with an authenticated API call.
Actions (4)
Post Completion
Create a language model response for a given prompt.
Post Chat Completion
Create a language model response for a chat conversation.
Get Model
List all language and embedding models available.
Create Embedding
Create an embedding vector representation corresponding to the input text.
Set up X AI in Relevance AI
Do this once. Every agent in your workspace can then use the connection.
Create a Relevance AI account
Sign in, or create a free account. You do not need to be a developer to set this up.
Connect your X AI account
In Relevance AI, open Integrations and add X AI, then paste your API Key. You will find it in your X AI account settings.
Use X AI in an agent
Create a tool, add a X AI tool step, and connect it to an agent. The agent fills in the step's inputs each time it runs.
Put X AI to work in your agents
Connect X AI alongside 1,800+ other integrations and let your agents run the busywork.