Grok Build by xAI (SpaceXAI)
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.
Use it in: CLI Works with: MCP Own API key Multi-agent Headless / CI
On this page
Usage data: latest readings Nov 17 to Nov 19, 2026, last checked Nov 19, 06:26 UTC. Date of each number
What Grok Build does
Grok Build is a terminal agent from xAI, first released in October 2025. You use it through a command-line tool on macOS, Linux and Windows. Its documentation covers MCP servers, subagents or parallel agents, a non-interactive mode for scripts and CI and your own API key. It can run models from xAI and any OpenAI-compatible endpoint. It is free and open source (Apache-2.0); you pay only for the models it calls.
Teams use it for: Code review, Workflow automation, Refactoring. See examples.
Key facts
| Maker | xAI (SpaceXAI) |
|---|---|
| Type | Terminal agent |
| First released | October 2025 |
| 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 | 2,011 in 30 days · 6,913 in a year |
Pricing
x.ai/build says Grok Build is available to try for free; it installs with one command and, per the docs, signs in through the browser or uses an XAI_API_KEY. Prices for heavier use are not on that page.
Source: official pricing page, checked Nov 9, 2026. Prices change often; confirm before you buy.
Quick answers
- Free to start?Unknown
- Open source?Yes (Apache-2.0)
- Bring your own API key?Yes
- Runs onmacOS, Linux, Windows
- Where you use itCLI
- Supports MCP?Yes
- Model providersxai, any OpenAI-compatible
- Subagents / multi-agent?Yes
- Runs in scripts / CI?Yes
- Feature comparisonAll agents
- Closest alternativeClaude Code · all alternatives
How teams use Grok Build
AgentGid articles about Grok Build
Get started with 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.
Grok Build alternatives
Best Grok Build alternatives compared · All terminal coding agents
| # | Agent | Gid Score | Downloads 7d | 7d | 30d | Stars | Latest release | Price | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 |
Claude CodeAnthropic |
88 | 18.9M | up 15.1% | up 15.5% | 156K+136/day | 2.1.328yesterday | $20/mo | |||
| 2 |
OpenAI CodexOpenAI |
84 | 26.6M | up 2.4% | up 7.4% | 136K+144/day | 0.168.07d ago | Free + $8/mo | |||
| 3 |
OpenCodeAnomaly (SST team) |
80 | 3.9M | up 15.4% | up 28.7% | 228K+266/day | 2.3.22d ago | Free + $10/mo | |||
| 7 |
PiEarendil Inc. (created by Mario Zechner) |
73 | 6.4M | up 1.6% | up 36.3% | 123K+193/day | 1.5.210d ago | Free (OSS) | |||
| 15 |
Gemini CLIGoogle |
62 | 495K | up 16.9% | up 6.8% | 109K+35/day | 0.69.0yesterday | API usage or license | |||
| 20 |
ClineCline Bot Inc. |
58 | 84.3K | down 8.7% | up 14.9% | 71.8K+38/day | 4.1.2625d ago | Free + $9.99/mo | |||
Ratings from people who use Grok Build
No ratings yet. Used Grok Build? Rate it and say what it is good and bad at.
Grok Build popularity and usage data
Grok Build was downloaded 103K times from npm in the week ending Nov 17, 2026, down 5.3% on the week before and up 31.7% over the last 30 days compared with the 30 before. The GitHub repository has 27.8K stars, 476 of them added in the last 30 days. On Terminal-Bench 4.1 its best listed result is 38.8% with Grok 4.7, ranking 7 of 7 agents on that board. It was mentioned in 7 Hacker News posts and comments over the last 30 days.
Download the raw daily series: grok-build.csv
Gid Score breakdown
Gid Score shows public popularity and activity (usage, GitHub stars, mentions, growth), not the quality of the product. Each component is scored 0 to 100 from public signals; a dash means no data for it. How the Gid Score works.
How fresh these numbers are
| Number | Latest reading | Last checked |
|---|---|---|
| Package downloads | Nov 17, 2026 | Nov 19, 06:20 UTC |
| GitHub stars | Nov 19, 2026 | Nov 19, 06:26 UTC |
| Homebrew installs | Nov 19, 2026 | Nov 19, 06:26 UTC |
| Hacker News mentions | Nov 18, 2026 | Nov 19, 06:26 UTC |
We fetch every source once a day. Registries publish downloads and page views a day or two late, so their latest reading trails the check. A reading more than 4 days old is marked out of date; the Gid Score still uses it until a newer one arrives.
Grok Build benchmark results
| Benchmark | Model | Effort | Tasks solved | Cost of run | Place |
|---|---|---|---|---|---|
| Terminal-Bench 4.1 | Grok 4.7 | xhigh | 38.8% ± 3.6 | $3,683 | #7 of 7 |
| Grok 4.6 | high | 19.7% ± 3.1 | $3,592 | ||
| Grok 4.5 | high | 12.4% ± 2.6 | $2,094 | ||
| Terminal-Bench 4.0 | Grok 4.7 | xhigh | 37.6% ± 3.5 | $3,683 | #6 of 6 |
| 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 FAQ
How much does Grok Build cost?
x.ai/build says Grok Build is available to try for free; it installs with one command and, per the docs, signs in through the browser or uses an XAI_API_KEY. Prices for heavier use are not on that page.
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 103K times from npm in the week ending Nov 17, 2026, down 5.3% on the week before and up 31.7% over the last 30 days compared with the 30 before. The GitHub repository has 27.8K stars, 476 of them added in the last 30 days. On Terminal-Bench 4.1 its best listed result is 38.8% with Grok 4.7, ranking 7 of 7 agents on that board.
What are the alternatives to Grok Build?
The closest alternatives in the same category by Gid Score are Claude Code, OpenAI Codex, OpenCode, Pi.
For the makers of Grok Build badges, corrections
Add a live badge to your README or site:
[](https://agentgid.com/agents/grok-build/)
[](https://agentgid.com/agents/grok-build/)
[](https://agentgid.com/agents/grok-build/)
Something wrong or outdated on this page? Send a correction with a link to the official source. More for makers.
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.