Grok Build is SpaceXAI's terminal-based AI coding agent. It runs as a full-screen TUI that edits files, runs shell commands, and can work headlessly or via the Agent Client Protocol.
Overview
Grok Build (grok) is a terminal-based AI coding agent from SpaceXAI. It presents a full-screen, mouse-interactive TUI that understands a codebase, edits files, executes shell commands, searches the web, and manages long-running tasks during an interactive session.
The same agent can run headlessly for scripting and CI, or embed in editors through the Agent Client Protocol (ACP). Prebuilt binaries are published for macOS, Linux, and Windows, and the shipped command is named grok after the xai-grok-pager build artifact.
Documentation covers getting started, keyboard shortcuts, slash commands, configuration, theming, MCP servers, skills, plugins, hooks, headless mode, and sandboxing. On first launch the tool opens a browser so you can authenticate according to the authentication guide.
Online documentation is available at docs.x.ai/build/overview, with additional user guide material bundled alongside the pager crate.
Key features
- Full-screen interactive terminal UI
- Codebase-aware file editing
- Shell command execution
- Web search from the agent
- Headless mode for scripts and CI
- Agent Client Protocol editor embedding
- MCP servers, skills, and plugins
- Sandboxing options
Use cases
- Interactive coding assistance in the terminal
- Automated edits in CI pipelines
- Editor-embedded agent workflows
- Long-running agent tasks with checkpoints
Does the same job as
Grok Build doesn't name these products itself, but its own description shows it does the same job.