Grok build is Grok's terminal AI agent, positioned to drive an Agent in the terminal environment to complete development and automation tasks.
Purpose:
- Run checks in the terminal and continue execution based on the results.
- Read and write project files, execute commands, search the web, and handle persistent tasks.
- Connect tasks to scripts, CI, and editors.
Main capabilities:
- Supports an interactive TUI, headless scripting/CI, and ACP editor embedding.
- Can extend tools and workflows through MCP, Skills, plugins, and hooks.
- Can execute Shell commands and file modifications; sandbox, workspace, and approval settings need to be verified.
Usage:
- Prefer installing the release version from the official CLI page; supports macOS, Linux, and Windows.
- The first launch opens browser authentication.
- Do not confuse the source-built artifact xai-grok-pager with the official installation command grok.
- It is recommended to first do a read-only review in a test repository, then specify a small issue; check the commands, file diffs, and failed checks in the output, and long tasks should provide verifiable results in stages.
- Prefer looking up the current version's configuration items in the user guide, and do not directly apply parameters from other terminal Agents.
Applicable scenarios:
- Users who want to drive an Agent in the terminal.
- Users who need to connect tasks to scripts, CI, and editors.
Limitations and notes:
- The license of the open-source CLI and access to Grok models are two separate matters; the available models, quotas, and overage rules after login are subject to the account page and official documentation.
- Building the source code yourself does not exempt you from model invocation costs; when using it in CI, also limit the number of tasks and the input scope.
- Web pages, repository content, and external tool results may contain untrusted instructions and must not be automatically treated as your authorization.
- Building from source requires Rust, DotSlash, and related compilation tools; the official documentation states that Windows source builds are still best-effort, and ordinary users should prefer the release version.
- Using the release version does not require Rust; only modifying the source code requires the Rust toolchain.
- The repository currently states that it does not accept external code contributions; see the issue feedback and contribution rules separately.
Cost: The code is licensed under Apache-2.0; model and account access are billed according to official service rules.
Other information: X founder and CEO Elon Musk (@elonmusk).