Grok Build by xAI (SpaceXAI)
Overview
xAI's terminal coding agent (`grok`): a full-screen TUI that edits files, runs shell commands and searches the web, with a headless/CI mode and Agent Client Protocol support for editors. Its Rust source is published under Apache-2.0 and synced from an internal monorepo.
Grok Build was downloaded 74.2K times from npm in the week ending Oct 4, 2026, up 14.8% on the week before and up 22.7% over the last 30 days compared with the 30 before. The GitHub repository has 27.2K stars, 877 of them added in the last 30 days. On Terminal-Bench 4.0 its best listed result is 37.6% with Grok 4.7, ranking 3 of 4 agents on that board. It was mentioned in 19 Hacker News posts and comments over the last 30 days.
Grok Build usage and attention over time
Download the raw daily series: grok-build.csv
Install Grok Build
| npm | npm install -g @xai-official/grok |
|---|---|
| Homebrew | brew install --cask grok-build |
These commands use the packages tracked on this page. The vendor may recommend a different installer; see the official documentation.
Key facts
| Maker | xAI (SpaceXAI) |
|---|---|
| Type | Terminal agent |
| License | Apache-2.0 |
| Interfaces | CLI |
| Platforms | macOS, Linux, Windows |
| Models | xAI Grok models (Grok 4.7 per docs); custom models via base_url config |
| Bring your own API key | Yes |
| Main language | Rust |
| Homebrew installs | 485 in 30 days · 4,401 in a year |
Pricing
x.ai pricing pages could not be retrieved (blocked); per the docs the CLI signs in through the browser or uses an XAI_API_KEY.
, checked Oct 5, 2026. Prices change often; confirm before you buy.
Pulse Score breakdown
Each component is scored 0 to 100 from public signals; a dash means no data for it. Methodology.
Grok Build benchmark results
| Benchmark | Model | Effort | Tasks solved | Cost of run | Place |
|---|---|---|---|---|---|
| Terminal-Bench 4.0 | Grok 4.7 | xhigh | 37.6% ± 3.5 | $3,683 | #3 of 4 |
| Grok 4.6 | high | 20.3% ± 3.1 | $3,592 | ||
| Grok 4.5 | high | 12.4% ± 2.6 | $2,094 | ||
| Terminal-Bench 3.0 | Grok 4.6 | high | 26.5% ± 2.9 | $2,095 | #4 of 6 |
Up to four best runs per board. Scores are not comparable between Terminal-Bench versions. Source: Terminal-Bench (tbench.ai).
Grok Build alternatives
| # | Agent | Pulse | Downloads 7d | 7d | 30d | VS Code installs | Stars | Latest release | Price | Last 90 days | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 |
OpenAI CodexOpenAI |
83 | 25.6M | up 5.7% | up 21.2% | 15.2M | 128K+153/day | 0.160.1yesterday | Free + $8/mo | ||
| 3 |
Claude CodeAnthropic |
80 | 14.8M | up 11.6% | down 36.4% | 27.1M | 150K+161/day | 2.1.290yesterday | $20/mo | ||
| 5 |
PiEarendil Inc. (created by Mario Zechner) |
75 | 5.2M | up 29.8% | up 52.1% | — | 113K+378/day | 1.0.4yesterday | Free (OSS) | ||
| 7 |
OpenCodeAnomaly (SST team) |
73 | 3.3M | up 22.0% | up 6.1% | 1.2M | 212K+200/day | 1.18.346d ago | Free + $10/mo | ||
| 24 |
Gemini CLIGoogle |
57 | 453K | up 4.7% | up 1.8% | 1.1M | 107K+24/day | 0.62.07d ago | Varies | ||
| 26 |
Oh My PiStencil Labs (Can Bölük) |
56 | 241K | up 11.4% | up 53.9% | — | 34.4K+111/day | 18.6.12d ago | Free (OSS) | ||
| No agents match that filter. | |||||||||||
Grok Build FAQ
How much does Grok Build cost?
x.ai pricing pages could not be retrieved (blocked); per the docs the CLI signs in through the browser or uses an XAI_API_KEY.
Is Grok Build open source?
Yes. Grok Build is open source, released under the Apache-2.0 license.
How popular is Grok Build?
Grok Build was downloaded 74.2K times from npm in the week ending Oct 4, 2026, up 14.8% on the week before and up 22.7% over the last 30 days compared with the 30 before. The GitHub repository has 27.2K stars, 877 of them added in the last 30 days. On Terminal-Bench 4.0 its best listed result is 37.6% with Grok 4.7, ranking 3 of 4 agents on that board.
What are the alternatives to Grok Build?
The closest alternatives in the same category by Pulse Score are OpenAI Codex, Claude Code, Pi, OpenCode.
Where these numbers come from
npm: @xai-official/grok. GitHub: xai-org/grok-build. Homebrew: grok-build. See data sources for how each one is collected.
Product facts and pricing were checked against: docs.x.ai, github.com, registry.npmjs.org, formulae.brew.sh, en.wikipedia.org.
