AI Briefing
KO

Grok Build: SpaceXAI's AI Coding Agent

·2026.07.16 09:00

Key point

SpaceXAI has open-sourced Grok Build, a terminal-based AI coding agent.

Details

Grok Build is a terminal-based AI coding agent written in Rust that runs as a full-screen TUI. It can understand codebases, edit files, run shell commands, search the web, and manage long-running tasks.

Installation and execution modes:

  • Terminal interactive mode
  • Headless mode for scripts/CI
  • Editor integration via Agent Client Protocol (ACP)

Prebuilt binaries are provided for macOS, Linux, and Windows, and it can be installed with a simple one-line install script. Building from source requires the Rust toolchain, DotSlash, and protoc.

Repository structure: The repository is organized into several Rust crates. xai-grok-pager-bin handles binary composition, xai-grok-pager implements the TUI, xai-grok-shell is the agent runtime, and xai-grok-tools implements the tools. The root Cargo.toml is auto-generated, so individual crate manifests should be edited instead.

License and contributions: First-party code is licensed under the Apache License 2.0, and external contributions are not accepted. Third-party and vendored code retains its original license. Full online documentation is available at docs.x.ai/build/overview.

This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.

Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.