← AI PulseAug 20, 2026

Wire · news · Multi-source brief

xAI Introduces Grok 4.6 and Enhanced CLI Features

xAI has released Grok 4.6, a new frontier model designed for coding, agentic tasks, and knowledge work, alongside updates to its command-line interface (CLI) and advanced API features.

By Illumora Editorial

Source · Aug 20, 2026, 3:13 PM · On Illumora · Aug 20, 2026, 3:43 PM

Media from the primary source — shown here so you can stay on Illumora.

Synthesized from multiple allowlisted primaries on the same event. Lanes →

Brief drafted by Illumora’s editorial model from the linked primary source. Ops desk reviews flagged pieces. How we write →

Read the source →xAI Docs — CLI Reference | SpaceXAI Docs
Save

xAI has introduced Grok 4.6, a new model positioned for coding, agentic tasks, and knowledge work. This release is accompanied by updates to the grok command-line interface (CLI) and new advanced API capabilities, including a WebSocket mode for lower-latency interactions.

The grok command provides subcommands and flags for various operations. For scripting and automated environments, a headless mode is available, which can be used with flags like -p and --output-format. Additionally, xAI has detailed a WebSocket mode for its Responses API, intended for agentic workloads with numerous sequential tool calls.

Key Points

  • Grok 4.6 is xAI's frontier model for coding, agentic tasks, and knowledge work.
  • The grok command-line interface (CLI) offers subcommands and flags for user interaction.
  • Headless mode for the grok CLI supports scripting and automated tasks using flags such as -p and --output-format.
  • Headless sessions can be managed with --session-id, --resume, and --continue flags, with data stored in ~/.grok/sessions.
  • Users can suppress background update checks in headless mode or ACP by using --no-auto-update or setting auto_update = false in ~/.grok/config.toml.
  • The Responses API now supports a WebSocket mode for persistent connections, aiming to reduce latency in tool-call-heavy workflows.
  • WebSocket mode is designed for agentic workloads involving many sequential tool calls, such as coding agents or orchestration loops.

Context

According to xAI, the grok command provides a primary interface for interacting with their models, including the newly released Grok 4.6. The CLI's headless mode is specifically designed for machine-friendly tasks, scripts, and bots, allowing for programmatic interaction. The WebSocket mode for the Responses API, as described by xAI, is an advanced API usage feature intended to optimize performance for complex, multi-turn agentic applications.

Why It Matters

The introduction of Grok 4.6 and enhanced CLI and API features provides builders with more robust tools for developing applications that require advanced coding, agentic capabilities, and efficient, low-latency interactions. The WebSocket mode, in particular, addresses performance considerations for agentic workflows, potentially improving the responsiveness of applications that involve numerous sequential model calls.

What To Do

  • Review the xAI documentation for the grok command to understand its subcommands and flags.
  • Experiment with the headless mode of the grok CLI for scripting and automation, paying attention to output formats like json and streaming-json.
  • Investigate the WebSocket mode for the Responses API if developing agentic applications with frequent, sequential tool calls.
  • Note the --no-auto-update flag or auto_update configuration setting for managing background updates in automated environments.

Keep Exploring

/atlas/**grok**-family