HarnessesCoding agent

Grok Build

xAI's terminal coding agent (the grok CLI): a full-screen TUI that also runs headless and over the Agent Client Protocol.

Maker
SpaceXAI (xAI)
Kind
coding agent
Interface
CLI, IDE (ACP)
Open source
Open source · Licence: Apache-2.0 · GitHub
GitHub stars
27,429 (GitHub API, 2026-10-17)
Models
Grok models (default); docs say it 'supports any custom model' via ~/.grok/config.toml · Bring your own model
Pricing
Included in xAI subscription plans. Plus ($8/mo) lists Grok Chat, Voice, Imagine and Build. Premium is $30/mo, Super $100/mo and Ultra $200/mo, each with more usage. Teams costs $30+/user/mo and Enterprise is custom. You can also use an XAI_API_KEY. (source: official page, checked 2026-10-17)
MCP support
Yes
Subagents
Yes
Headless / scripted mode
Yes
Sandboxing
Yes Landlock (Linux) and Seatbelt (macOS) profiles. Off by default.
Note
The README says the repo is 'synced periodically from the SpaceXAI monorepo'. The community superagent-ai/grok-cli is a different project.
Official site
https://docs.x.ai/build/overview
Sources
docs.x.ai/build/overview · x.ai/build · x.ai/pricing · github.com/xai-org/grok-build · api.github.com/repos/xai-org/grok-build · docs.x.ai/build/features/mcp-servers · docs.x.ai/build/features/subagents · docs.x.ai/build/cli/headless-scripting · docs.x.ai/build/features/sandbox (docs checked 2026-10-17)
Other coding agents
Claude Code, OpenAI Codex CLI, Gemini CLI, OpenCode, goose, Aider, Cline, Roo Code, Kilo Code, OpenHands, Crush, Amp, Cursor CLI, Warp, Qwen Code, Plandex, Pi, Hermes Agent, Muse Code

Every value comes from the official site or docs, or from the GitHub API, on the date shown. A blank (—) means the value isn't stated or wasn't verified. It never means 'no'. Pricing is copied from official pages and changes often. No affiliate links.