Grok Build — terminal coding agent and CLI
Install the Grok CLI, plan repo edits in the terminal, and run the same agent headlessly in scripts.
- Coding Agent
- CLI
- Terminal
- MCP
- Publisher
- xAI
- Type
- Coding Agent
- Pricing
- Paid
- Reviewed
- 25 September 2026
Quick verdict
Use when
- Terminal-first coding agent
- Plan mode before edits
- Headless runs in scripts
- Skills, hooks, and MCP
Skip when
- GUI editor as daily driver
- No SuperGrok or Premium+ seat
- Fully local model only
Try instead
Grok Build vs common coding agents
Tap a dimension to focus
Pricing
- Grok BuildThis page
- Early access
- SuperGrok or X Premium+
- Free Hobby tier
- Paid for higher limits
- Usage-based
- Claude account billing
Preview of Grok Build - not the live app. Confirm details on the official site.
Does this overview help you decide?
—
(—)
Learn more
Details below the decision summary—features, workflow, and scope notes.
What is Grok Build?
What it costs
- Free tier
- No
- Pricing summary
- Grok Build is a terminal coding agent. The official page lists early access for SuperGrok and X Premium+ subscribers. Docs also document browser sign-in on first launch and an API key for non-browser environments. Seat rules and request caps change—check grok.com/build and the plans page rather than a fixed quota.
Reviewed on 25 September 2026 · Grok Build — official page
What the CLI actually does
Interactive terminal session
Running grok with no arguments opens a fullscreen, mouse-friendly session in the current repo. First launch signs in through the browser.
Plan mode before edits
Larger tasks can start in plan mode so you approve, comment, or rewrite steps before the agent applies a diff.
Headless grok agent runs
The -p flag runs a prompt without the UI, including streaming JSON, which is the path for scripts and CI rather than a separate automation product.
Skills, plugins, and MCP
grok inspect lists skills, plugins, hooks, and MCP servers discovered in the directory. Those are the extension points for tools the agent can call.
Custom models
A user config file can point the CLI at another model endpoint. The same Grok model family is also available on the xAI API for your own loop.
How to start with the Grok CLI
Install the command
On macOS, Linux, or WSL, the official page uses curl -fsSL https://x.ai/cli/install.sh | bash. Windows uses the PowerShell installer on the same host.
Open a repo and sign in
cd into the project and run grok. The first session opens a browser login. Headless machines can use an API key instead.
Plan, then let it edit
For a multi-file change, start in plan mode and approve the steps. Smaller questions can go straight to the prompt.
Check what the repo already configures
Run grok inspect to see skills, plugins, hooks, and MCP servers before you assume a blank agent.
Who Grok Build is for
Developers who stay in the shell
You want repo edits, shell commands, and a reviewable diff without switching into a desktop editor.
Teams scripting an agent
Headless prompts fit repeatable checks in scripts once the account can authenticate without a browser.
People extending the agent
Skills, hooks, and MCP servers matter when the agent should follow repo conventions and call tools you already run.
When Grok Build is the right pick
Platform notes
- Seat gate
- The product page describes early access for SuperGrok and X Premium+ subscribers, and names Grok 4.7 as the model behind the agent.
- Where it runs
- The agent is a local CLI and terminal UI. Model calls go to the cloud. Docs also cover ACP so other apps can host the agent.
- Not the chat composer
- This page is the coding CLI. Image and video generation live on Imagine, not in the grok install command.