SpaceXAI Open-Sources Grok Build, Terminal-Based AI Coding Agent
SpaceXAI open-sources Grok Build, the terminal-based AI coding agent behind its grok CLI, on GitHub under Apache 2.0 license.

SpaceXAI has open-sourced Grok Build, the terminal-based AI coding agent behind its grok CLI. The source landed on GitHub today. The release covers the agent harness, TUI, CLI shell, and developer tooling under the Apache 2.0 license.
A harness is the scaffolding around a model. It assembles context, calls the model, parses the reply, and dispatches tool calls. Grok Build was launched as an early beta on May 25, 2026.
It is an agent that understands your codebase, edits files, executes shell commands, and searches the web. It also manages long-running tasks. It runs as a full-screen, mouse-interactive TUI.
Three surfaces exist. There is the interactive TUI, headless mode for scripting and CI. Editors embed it through the Agent Client Protocol (ACP).
Building on that framing, SpaceXAI lists four published areas. The agent loop covers context assembly, response parsing, and tool-call dispatch. The tools cover how the agent reads, edits, and searches code.
The terminal UI covers rendering, input handling, plan review, and the inline diff viewer. The extension system covers skills, plugins, hooks, MCP servers, and subagents. Read that table as a reading order.
Start at xai-grok-shell for the loop, then xai-grok-tools. One build note is easy to miss. The root Cargo.toml is generated, and the README says to treat it as read-only.
Beyond inspection, SpaceXAI frames one practical outcome. Grok Build can now run fully local-first. Compile it yourself, point it at local inference, and drive everything from config.toml.
grok inspect then prints what the harness discovered in the current directory. That covers config sources, instructions, skills, plugins, hooks, and MCP servers. Given all of that, four uses hold up today.
Check out the GitHub Repo, the announcement, and the documentation. The open-sourcing of Grok Build marks a significant shift in the AI coding agent ecosystem. With Grok Build now available on GitHub under an open-source license, developers can modify and extend the agent to suit their specific needs.
This move enables greater community involvement and contributions, potentially leading to more robust and feature-rich coding agents. For businesses, this could mean more flexible and customizable solutions for automating coding tasks. However, questions remain about the long-term support and maintenance of Grok Build, as well as its compatibility with various development environments.
Source: MarkTechPost