Grok Build
SpaceXAI's terminal-based AI coding agent that runs as a full-screen TUI, headlessly, or embedded in editors via ACP.
At a Glance
Grok Build CLI/TUI and agent runtime source, first-party code licensed under Apache License 2.0.
Engagement
Available On
Listed Oct 2026
About Grok Build
Grok Build is SpaceXAI's terminal-based AI coding agent, distributed as the grok CLI/TUI. It understands a codebase, edits files, runs shell commands, searches the web, and manages long-running tasks. The repository contains the Rust source for the CLI and its agent runtime, and is synced periodically from the SpaceXAI monorepo.
What It Is
Grok Build is a coding agent harness with a full-screen, mouse-interactive terminal interface. It can be used interactively, run headlessly for scripting and CI, or embedded in editors through the Agent Client Protocol (ACP). On first launch it opens a browser to authenticate.
Setup Path
Prebuilt binaries are published for macOS, Linux, and Windows, installed through a shell script or a PowerShell script, and verified with grok --version. Building from source requires the pinned Rust toolchain, DotSlash, and protoc. macOS and Linux are the supported build hosts, while Windows builds are best-effort and not currently tested from the source tree.
Extensibility and Documentation
The bundled user guide covers getting started, keyboard shortcuts, slash commands, configuration, theming, MCP servers, skills, plugins, hooks, headless mode, and sandboxing. The workspace is split into crates for the TUI, the agent runtime, tool implementations (terminal, file edit, search), and the host workspace (filesystem, VCS, execution, checkpoints).
Licensing and Contributions
First-party code is licensed under Apache 2.0, while third-party and vendored code keeps its original licenses. External contributions are not accepted.
Community Discussions
Be the first to start a conversation about Grok Build
Share your experience with Grok Build, ask questions, or help others learn from your insights.
Pricing
Open Source (Apache-2.0)
Grok Build CLI/TUI and agent runtime source, first-party code licensed under Apache License 2.0.
- First-party code under Apache License 2.0
- Third-party and vendored code remains under its original licenses
- Build from source or install prebuilt binaries
- Authentication required on first launch (opens browser)
Capabilities
Key Features
- Full-screen mouse-interactive terminal UI
- Codebase understanding and file editing
- Shell command execution
- Web search
- Long-running task management
- Headless mode for scripting and CI
- Editor embedding via Agent Client Protocol (ACP)
- MCP server support
- Skills, plugins, and hooks
- Sandboxing
- Theming and slash commands
