Grok Build is a terminal-based AI coding agent that runs as a full-screen TUI, understands your codebase, edits files, executes shell commands, searches the web, and manages long-running tasks.
The tool solves the problem of integrating AI-assisted development into your workflow by providing an interactive interface that can read and modify code, run commands, and perform web searches. It operates in multiple modes: as a full-screen terminal application with mouse support, headlessly for scripting and CI integration, or embedded in editors through the Agent Client Protocol. The agent understands your codebase context and can execute tasks interactively or in the background.
Grok Build suits developers who want an AI coding assistant integrated directly into their terminal environment or CI pipelines. It works on macOS, Linux, and Windows, with prebuilt binaries available for all three platforms. The tool is extensible through MCP servers, skills, plugins, and hooks, allowing customization for specific workflows. Authentication happens through browser-based login on first launch. The project provides comprehensive documentation covering getting started, keyboard shortcuts, slash commands, configuration, theming, headless mode, sandboxing, and more.
The project is maintained as a synced mirror from the SpaceXAI monorepo, with a SOURCE_REV file tracking the source commit. Building from source requires Rust with a pinned toolchain, DotSlash for hermetic tool management, and protoc for code generation. The repository is written in Rust and organized into multiple crates, with the main binary artifact named xai-grok-pager and shipped as grok in official installations.