xai-agent-tools

Installation
SKILL.md

xAI Agent Tools API

Server-side agentic tool calling that enables Grok to autonomously search, analyze, and execute code.

Overview

The Agent Tools API manages the entire reasoning and tool-execution loop on the server side, unlike traditional tool-calling where clients must handle each invocation.

Available Tools:

  • x_search - Search Twitter/X posts
  • web_search - Real-time web search
  • code_execution - Python sandbox
  • document_search - Search uploaded documents

Quick Start

import os
from openai import OpenAI
Installs
23
GitHub Stars
11
First Seen
Jan 24, 2026
xai-agent-tools — adaptationio/skrillz