Modes and Commands is a reference for developers using Grok's terminal interface, but some commands depend on feature availability and installation is not covered. It explains session controls, permission modes, persistent goals, skills and reusable workflows.
xAI AI tools and skills reviewed
This keyboard-shortcut reference is for people who already use an agent's text-based terminal interface (TUI) and want to look up its keys. It is a single page on xAI's developer documentation. The page does not name the product, so any product name is inferred, and it does not confirm whether the agent is meant mainly for coding. The main catch is that many keys change meaning while a turn is running, depending on which pane has focus, or depending on the terminal. The page lists base bindings for sending, queueing and cancelling prompts, switching modes (Normal, Plan, Auto, Always-approve), moving through scrollback, and panels and sessions. It also lists the chords that differ in VS Code-family terminals, Apple Terminal and WezTerm.
This xAI guide helps developers write instructions for Grok Realtime voice agents, but those instructions control the agent’s words rather than its acoustic voice settings. It covers conversation structure, tool use, approved facts, escalation, language choice and prompt revision.
This guide helps developers connect a local MCP server to Grok through a public tunnel, but both the server and tunnel must remain running. It covers ngrok and Cloudflare Tunnel, including changing tunnel URLs, authentication and Cloudflare quick tunnels' lack of SSE support.
The xAI Best Practices Guide is a tutorial for developers building Grok API applications, but it provides no measured performance results or API prices. It explains how to preserve encrypted reasoning across turns, reuse cached input, configure requests and design evaluations.
This is a short xAI documentation page that teaches developers using the Grok API how to keep multi-turn chats cache-friendly, and its main catch is that it covers only what breaks the cache, not pricing, cache lifetime or limits. It says to only append messages and never edit, remove or reorder earlier ones. Reasoning models must also send back reasoning_content or use previous_response_id. It gives a cache-hit example in Python, curl and JavaScript, three cache-miss examples, and shows how to read cached_tokens from the response usage.
This xAI guide shows developers how to improve Grok prompt-cache reuse, but it does not explain all the conditions needed for a cache hit. It documents routing controls for Chat Completions, Responses and gRPC, with Python, JavaScript and curl examples.
This xAI prompt-caching guide is for developers building Grok API applications, but cache hits and retention are not guaranteed. It explains stable routing identifiers, unchanged prompt prefixes, cached_tokens monitoring and handling cache misses.
Receipts to Spreadsheet is an xAI guide for developers building an AI receipt scanner, but its automated checks cannot guarantee accurate records. It describes a TypeScript application that turns photos and PDF invoices into spreadsheet rows, checks the extracted values with Zod, compares two Grok reads and lets people correct the results before exporting CSV.
This xAI documentation guide is for developers building chatbots or other Grok applications and explains how to shorten conversation histories sent with later API requests. Its main catch is that it covers one vendor-specific feature and gives no pricing, model-support list or quality measurements. It explains how to send a long conversation to a compaction endpoint, get back one opaque encrypted item, and pass that item verbatim at the start of the next request instead of resending every earlier message. It includes Python (OpenAI SDK and xAI SDK), JavaScript and curl examples.
This xAI guide shows developers how to search X with Grok, but fetching content costs extra and thread retrieval ignores account and date filters. It covers API integration, search controls, image and video understanding, citations and usage accounting.
The xAI Web Search guide shows developers how to add live web lookup to Grok apps, but it leaves costs and answer quality unknown. It covers SDK integration, domain filters, image understanding and image search, including differences between the documented SDK options.
Tool Usage Details is a guide for developers monitoring xAI agents, with the catch that server-side tool results remain hidden from API responses. It explains attempted versus successful calls, X Search billing counts, token usage and turn limits across the xAI SDK and Responses API.
This xAI guide helps developers receive responses from Grok requests that use tools, but it omits installation instructions, pricing and error recovery. It covers streaming progress, complete responses, citations and optional tool outputs through JavaScript, Python and HTTP examples.
This xAI guide helps developers connect Grok to external tool servers, but all tools from each server are available unless explicitly restricted. It explains Model Context Protocol (MCP) connections, authentication, multiple servers and examples using the native xAI SDK and OpenAI-compatible Responses API.
This is xAI's documentation page on function calling in the Grok API. It is for developers who want a model to request calls to their own code. The main catch is that it is one reference page tied to xAI's API and the grok-4.7 model name, and it gives no pricing, rate limits or licence terms. It explains a five-step loop: define tools with JSON Schema, send them, receive a tool call, run the function yourself, and return the result. It shows four client routes: the Vercel AI SDK, the OpenAI Python SDK, the xAI Python SDK and curl. The three SDK examples show the function being run and the conversation continuing. The curl example shows only the first request. It also covers Pydantic schemas, mixing custom tools with built-in web and X search, tool choice, parallel calls and schema rules.
This is xAI's developer documentation page for the Collections Search tool, which lets Grok models search documents you have uploaded. It is for developers building document question-answering or RAG apps on the xAI API, and its main catch is that the page gives no pricing, usage limits, data-handling terms or licence, and it needs an xAI API key and a pre-built collection. It names the tool collections_search in the xAI SDK and file_search in the OpenAI-compatible Responses API. It walks through an end-to-end example that uploads two Tesla SEC filings, searches them and returns cited answers, and shows how to combine collection search with web search, X search and code execution.
This xAI guide shows developers how to let Grok run Python for calculations and data analysis, but pricing and execution limits are unspecified. It covers the native xAI SDK, OpenAI Responses-compatible clients, direct HTTP and Vercel AI SDK, with grok-4.7 used in its examples.
Photo to Talking Character is an xAI tutorial for developers turning character pictures into talking videos, with paid rendering that cannot be cancelled through the API. Its TypeScript example combines pictures, built-in voices and dialogue in a browser app or command-line interface, with voice previews and generation progress.
xAI's Citations guide helps developers add source references to Grok search responses, but enabling inline citations does not guarantee a cited answer. It explains source lists, API-specific defaults, structured citation metadata and streaming.
