SpaceXAI has open-sourced Grok Build, its terminal-based AI coding agent and text user interface (TUI), releasing the project’s source code on GitHub under the Apache 2.0 license.
According to SpaceXAI, publishing the code lets developers inspect how the coding agent works end-to-end, including how it assembles context, dispatches tool calls, renders its terminal interface, and loads extensions such as plugins, hooks, Model Context Protocol (MCP) servers, skills, and subagents.
The company said the release also enables a fully local-first workflow, allowing developers to compile Grok Build themselves, connect it to their own local inference setup, and configure it through a local configuration file.
The backlash: An agent that took too much
Grok Build, launched in May 2026, is a terminal user interface (TUI) and agent runtime powered by the Grok 4.5 model. It is designed to read and edit code, execute commands, and run long-running tasks.
However, security researchers and users recently discovered that the initial beta version of the command-line tool was defaulting to uploading entire directories, including highly sensitive files like SSH keys, password databases, personal photos, and documents, directly to xAI’s Google Cloud servers.
In response to the outcry, Elon Musk announced that all previously uploaded user data would be fully deleted. SpaceXAI disabled the automatic upload feature on July 12. The company also reset user usage quotas following the change.
What developers get
SpaceXAI said the source code serves as the definitive reference for developers building extensions or integrating Grok Build into their workflows.
However, the release does not include the Grok 4.5 model itself. As ABAB News noted, the open-source package includes the coding agent’s runtime and interface, not the underlying AI model, so cloud-based model access is still required unless users connect the tool to their own compatible local inference setup.
More must-read AI coverage
- SS&C Intralinks DealCentre AI vs. Datasite: Which platform is built for the future of dealmaking?
- SS&C Intralinks FundCentre AI vs. Juniper Square: Which platform better supports modern private markets fund managers?
- Why Data, Not Models, Determines AI Success
- The Rise of the AI-Native Factory: How Physical AI Is Transforming Manufacturing
What it means
Making Grok Build open source could make the tool more attractive to developers who prefer software they can inspect, modify, and run locally, particularly after concerns about privacy and data handling. The Apache 2.0 license also permits commercial use, potentially lowering barriers for companies that want to build tools around the coding agent and integrate it into their own development environments.
For enterprise development teams, the release also makes it easier to conduct internal security reviews and compliance assessments before deploying Grok Build in production environments.
Bigger picture
Open-sourcing the runtime does not remove every concern.
Because the Grok 4.5 model remains proprietary, developers can review the software that interacts with the model but cannot inspect or modify the AI system itself. That means the release improves visibility into the coding agent while stopping short of making the complete Grok platform fully open.
Even so, releasing the code under a permissive license marks a notable step for SpaceXAI as it seeks to rebuild confidence with developers and expand the Grok ecosystem after a week dominated by scrutiny over privacy and data handling.
Also Read: SpaceX secured FAA launch clearance for two Starship missions after environmental groups pushed back over launch impacts.