Grok BuildNew

xAI's official terminal coding agent — written in Rust, Apache 2.0 licensed, with AGENTS.md, plugins, hooks and MCP support.

  • Popularity
  • AI Coding
  • CLI
  • Open Source
  • xAI
  • Coding
  • Free tier
No preview available

At a glance

xAI's official CLI coding agent, now Apache 2.0 open source so you can audit exactly what it does.

  • Free tierPartialBundled with a subscription; model calls billed separately
  • Open sourceYesApache 2.0, xai-org/grok-build
  • Works in ChinaNo
  • APIYes
Best for
  • Developers who live in the terminal
  • Existing SuperGrok or X Premium Plus subscribers
  • Anyone who needs to read the source before trusting a tool
Pros
  • Source released under Apache 2.0, so behavior is auditable
  • Rust implementation with AGENTS.md, plugins, hooks, skills and MCP support
  • One-command install, runs straight in the terminal
Cons
  • Early beta tied to SuperGrok / X Premium Plus subscriptions
  • Builds before July 13, 2026 uploaded repository contents to cloud storage — rotate credentials if you ran one
  • Requires your own network arrangements from mainland China
Pricing

Early beta for SuperGrok and X Premium Plus subscribers; model calls are billed through the xAI API. Check the official page for current tiers.

Pricing changes over time; check the official site

Access from mainland China

x.ai and related services need your own network arrangements inside mainland China.

Grok Build is xAI's official command-line coding agent, written in Rust and released under Apache 2.0 on July 15, 2026 at xai-org/grok-build. It belongs to the same category as Claude Code and Codex CLI: read the repository, change code and run commands from the terminal.

Capabilities and Extensions

Out of the box it supports AGENTS.md, plugins, hooks, skills and MCP servers, which means it plugs into the agent conventions you already keep rather than demanding a separate set of habits. Installation is a single official curl command (x.ai/cli/install.sh), with documentation at docs.x.ai.

The Open Sourcing Has a Backstory

Worth stating plainly: on July 10, 2026 it was reported that earlier versions of the CLI uploaded entire Git repositories — including secrets in .env — to a cloud storage bucket. xAI disabled that behavior and, on July 15, released the codebase under Apache 2.0, with the project lead framing it as letting developers "audit exactly what the tool does."

If you ran an older build against a repository containing credentials before July 13, 2026, treat API keys, database passwords, cloud tokens and webhook secrets as exposed and rotate them. That matters more right now than whether to install the new version.

Who It Suits

The early beta targets SuperGrok and X Premium Plus subscribers. If you already subscribe and work in the terminal anyway, it's worth a try; if you simply want a CLI agent, the ecosystems around Claude Code and Codex are more mature today. The open source part is a genuine advantage for anyone who has to audit tool behavior inside a company.

Pricing and Access

The CLI itself is open source; model calls are billed through xAI's API, and early beta eligibility is tied to subscription tiers — check the current official page. Reaching x.ai from mainland China requires your own network arrangements.