Official xAI Agent Tools API with web search, X search, code execution, file search, and remote MCP.
xAI Agent Tools API. Built-in tools: web_search, x_search, code_execution, file_search (collections), remote MCP. Key model: grok-4-1-fast-reasoning (2M context, best tool-calling). Grok decides when/how to use tools, often invoking multiple in parallel. SDK: from xai_sdk.tools import code_execution, web_search, x_search, collections_search, mcp. Use cases: finance automation, IT operations, customer service, research. Replaced Live Search API (retired Jan 2026).
Product review analysis agent that processes customer reviews, extracts insights, and identifies trends using Grok.
Workflow automation agent that connects tools and automates multi-step business processes using Grok.
Brand-aware copywriting agent that generates on-brand content across all channels using Grok.
Automated changelog agent that generates release notes from git history and pull requests using Grok.
Personal health coaching agent that provides workout plans, nutrition advice, and wellness tips using Grok.
Real estate assistant agent that analyzes property listings, market trends, and neighborhood data using Grok.