Grok Build
xAIGrok Build is a terminal coding agent that edits files, runs shell commands and searches the web from a full-screen TUI, headless scripts, or editors over the Agent Client Protocol. It adds parallel subagents, plan mode, an opt-in OS-level sandbox, MCP, skills, plugins and hooks, and can run other providers' models beside its default Grok models. SpaceXAI develops it internally and publishes the source as a periodically synced mirror.
Read against xai-org/grok-build, whose README and LICENSE name SpaceXAI while the docs, installer and API sit on x.ai, so the entry stays under xAI. The npm package is named in the vendor's enterprise docs rather than the README.
Openness
5 medium confidence- license
- Apache-2.0(OSI)
- source
- public(GitHub mirror of an internal monorepo)
- core features withheld
- no — the tree at 2bdd1d6 carries one root Apache-2.0 LICENSE and no ee/, enterprise/, commercial/ or proprietary/ path
Grok Build's first-party code is Apache-2.0, and the public repository holds the Rust source for the CLI, its agent runtime and its enterprise policy settings. What SpaceXAI sells is model access through a Grok sign-in or an xAI API key, not features held back from the code.
- https://docs.x.ai/build/enterprise.md recorded 2026-10-19
The Enterprise Deployments page lists cli-chat-proxy.grok.com ("Inference proxy, settings") and auth.x.ai as the required hosts, and sets its enterprise-only policy (sandbox pins, team-login pins, locking always-approve off) through requirements.toml.
- https://raw.githubusercontent.com/xai-org/grok-build/main/CONTRIBUTING.md recorded 2026-10-19
CONTRIBUTING says "SpaceXAI develops this software internally. The public tree is published for source transparency and local builds under the terms of the Apache License, Version 2.0", and that external pull requests are not accepted.
- https://raw.githubusercontent.com/xai-org/grok-build/main/crates/codegen/xai-grok-pager/docs/user-guide/02-authentication.md recorded 2026-10-19
The authentication guide signs users in through grok.com or SpaceXAI OAuth, or with "an API key from console.x.ai", and ranks a per-model api_key for a custom endpoint above both.
- https://raw.githubusercontent.com/xai-org/grok-build/main/crates/codegen/xai-grok-pager/docs/user-guide/26-config-reference.md recorded 2026-10-19
The in-tree config reference "ships with the CLI" and is "the complete field list for `config.toml`, `managed_config.toml`, and `requirements.toml`", including the pinned auth.force_login_team_uuid team-login policy.
- https://raw.githubusercontent.com/xai-org/grok-build/main/LICENSE recorded 2026-10-19
The root LICENSE opens "Copyright 2023-2026 SpaceXAI" above the text of the Apache License, Version 2.0.
- https://raw.githubusercontent.com/xai-org/grok-build/main/README.md recorded 2026-10-19
The README says "This repository contains the Rust source for the `grok` CLI/TUI and its agent runtime. It is synced periodically from the SpaceXAI monorepo", documents building the release binary with cargo, and licenses first-party code under Apache-2.0; no paid tier or license key is mentioned.
- https://registry.npmjs.org/@xai-official/grok/latest recorded 2026-10-19
The npm record for @xai-official/grok 1.0.62 declares "license":"Apache-2.0" and the grok command, with per-platform binary packages as optional dependencies.
Adoption
3 medium confidenceAdoption is the trailing month of npm downloads of @xai-official/grok, the package the vendor's docs offer for installing Grok Build; the per-platform binary packages it pulls in are not added. Installs through the install script on x.ai publish no count and are not included, so the figure is a lower bound on use.
- https://api.npmjs.org/downloads/point/last-month/@xai-official/grok recorded 2026-10-19
271,006 downloads of @xai-official/grok between 2026-09-17 and 2026-10-16
- https://docs.x.ai/build/enterprise.md recorded 2026-10-19
The Enterprise Deployments page offers "npm install -g @xai-official/grok" as an alternative to the curl | bash install script that downloads CLI binaries from x.ai.
- https://registry.npmjs.org/@xai-official/grok/latest recorded 2026-10-19
The npm record for @xai-official/grok 1.0.62 ("Bring Grok into your terminal") installs the grok command and lists @xai-official/grok-linux-x64, -darwin-arm64 and four other platform packages as optional dependencies.
Capability
4 medium confidenceGrok Build covers the full terminal coding agent, with parallel subagents in separate worktrees, plan mode, an OS-level sandbox, ACP for editors and other providers' models. It sits a step below OpenHands, which runs agents in containers, on VMs or in cloud backends and publishes benchmark results, while Grok Build runs on the user's machine with no benchmark of its own.
- https://docs.x.ai/build/features/permissions.md recorded 2026-10-19
The Permissions page lists Ask, Auto ("Classifier auto-approves safe tools") and Always-approve modes, with allow and deny rules in which deny always wins over allow.
- https://docs.x.ai/build/features/plan-mode.md recorded 2026-10-19
The Plan Mode page says the agent "explores the codebase and drafts a plan for your approval before it edits anything", and auto or always-approve do not skip the review.
- https://docs.x.ai/build/features/sandbox.md recorded 2026-10-19
The Sandbox page limits what the agent and its children can read, write and reach "(Landlock on Linux, Seatbelt on macOS). Off by default.", with off, workspace, devbox, read-only and strict profiles.
- https://raw.githubusercontent.com/xai-org/grok-build/main/crates/codegen/xai-grok-pager/docs/user-guide/11-custom-models.md recorded 2026-10-19
The custom models guide says "By default, Grok uses models hosted by SpaceXAI" and configures OpenAI-compatible endpoints and Claude models through the Anthropic Messages API.
- https://raw.githubusercontent.com/xai-org/grok-build/main/crates/codegen/xai-grok-pager/docs/user-guide/15-agent-mode.md recorded 2026-10-19
The guide says "Agent mode runs Grok as a long-lived server that clients talk to over" ACP (JSON-RPC), for IDEs, SDKs and eval harnesses, started over stdio or as a WebSocket server.
- https://raw.githubusercontent.com/xai-org/grok-build/main/crates/codegen/xai-grok-pager/docs/user-guide/16-subagents.md recorded 2026-10-19
The guide says "Subagents are independent child sessions that handle tasks in parallel" and lets a subagent run in "an isolated git worktree" with isolation set to worktree.
- https://raw.githubusercontent.com/xai-org/grok-build/main/crates/codegen/xai-grok-pager/docs/user-guide/README.md recorded 2026-10-19
The user guide index covers plugins with marketplaces, hooks, custom models ("Bring-your-own-key, Ollama, and OpenAI-compatible endpoints"), memory, headless mode, ACP agent mode, subagents, sandbox and plan mode.
- https://raw.githubusercontent.com/xai-org/grok-build/main/README.md recorded 2026-10-19
The README describes "SpaceXAI's terminal-based AI coding agent" that "edits files, executes shell commands, searches the web, and manages long-running tasks", interactively, headlessly or "embedded in editors via the Agent Client Protocol (ACP)"; no benchmark figure.
Verified 2026-10-19, except some scores, still awaiting re-confirmation