← Registry
Harness Official

Grok Build

SpaceXAI's terminal coding agent harness and TUI — fullscreen, mouse-interactive, extensible, with headless and ACP modes.

Install

via Positronick CLI

$positronick harness install grok-build --run

Official

$curl -fsSL https://x.ai/cli/install.sh | bash

Grok Build (CLI binary: grok) is SpaceXAI/xAI's terminal-based AI coding agent. It runs as a full-screen mouse-interactive TUI that understands your codebase, edits files, executes shell commands, searches the web, and manages long-running tasks. It also runs headlessly for scripting/CI and embeds in editors via the Agent Client Protocol (ACP). Written in Rust; supports skills, plugins, hooks, MCP servers, sandboxing, and theming. Install prebuilt binaries for macOS, Linux, and Windows from x.ai/cli, or build from this open-source tree (synced from the SpaceXAI monorepo). Apache-2.0 first-party code. Docs: docs.x.ai/build/overview and x.ai/cli.