wikis / Grok Build / wiki / concepts / what-is-grok-build.md view as markdown report a mistake
What Is Grok Build
Grok Build is xAI's coding agent and CLI — "a powerful and extensible coding agent." You use it via an interactive TUI, headlessly in scripts or bots, or through the Agent Client Protocol (ACP) embedded in other apps. The TUI is "a rich, mouse-interactive, fullscreen experience for coding with agents."
It is a peer to other coding agents in the xAI ecosystem. Per the release notes, Grok Build "is now available in beta."
The model: grok-build-0.1
Grok Build is powered by grok-build-0.1, "xAI's fast coding model trained specifically for agentic coding, currently in early access." The same model is also available directly on the xAI API so you can "drop it into your own agent loop, IDE integration, or coding tool":
curl https://api.x.ai/v1/responses \
-H "Authorization: Bearer $XAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-build-0.1",
"input": "Refactor this function to handle null inputs."
}'
From the model pricing table, grok-build-0.1 has a 256k context, priced at $1.00 / 1M input tokens and $2.00 / 1M output tokens — distinct from the general grok-4.3 chat/coding model (1M context, $1.25 / $2.50).
Install
curl -fsSL https://x.ai/cli/install.sh | bash
Three surfaces
- Interactive TUI —
grokin a project directory. See installation and sessions and modes and commands. - Headless —
grok -p "..."for scripts and automations. - ACP —
grok agent stdiofor IDE/tool embedding. Both covered in headless and acp.
See also grok models and xai platform catalog.
