xAI open-sources "Grok-Build" on GitHub after massive data breach XAI open-sourced its AI coding agent 'Grok Build' on GitHub under the Apache 2.0 license after a data breach exposed user files, including SSH keys and passwords, uploaded to xAI's cloud servers. The company disabled the upload feature, deleted all uploaded data, and released the source code to rebuild trust. The tool, written in Rust, can now run entirely locally. xAI open-sources "Grok-Build" on GitHub after massive data breach xAI's AI coding agent "Grok Build" drew heavy criticism after users discovered it uploaded all files in a directory to xAI's Google Cloud servers. One user reported https://x.com/a green being/status/2076598897779020159 that SSH keys, password databases, documents, and photos were transferred. Elon Musk then announced https://twitter.com/elonmusk/status/2076739687658496209 that all uploaded user data would be fully deleted. xAI disabled the upload feature and published the full source code on GitHub under the Apache 2.0 license https://github.com/xai-org/grok-build to rebuild trust. Grok Build is a terminal-based coding agent invoked via the grok command. It can read and edit codebases, run shell commands, search the web, and manage long-running tasks, either interactively, headlessly for scripting and CI, or embedded in editors via the Agent Client Protocol ACP . By open-sourcing the tool https://x.ai/news/grok-build-open-source , xAI wants to provide full transparency. Grok Build can now also run entirely locally. The codebase spans about 844,530 lines of Rust and covers the agent loop, tools, terminal UI, and an extension system for plugins and subagents. Remnants of the upload function are still in the code but disabled. According to xAI https://twitter.com/SpaceXAI/status/2077494536788664782 , data storage has been off by default since July 12. AI News Without the Hype – Curated by Humans Subscribe to THE DECODER for ad-free reading, a weekly AI newsletter, our exclusive "AI Radar" frontier report six times a year, full archive access, and access to our comment section. Subscribe now xAI https://x.ai/news/grok-build-open-source