cd /news/ai-agents/xai-open-sources-grok-build-on-githu… · home topics ai-agents article
[ARTICLE · art-61712] src=the-decoder.com ↗ pub= topic=ai-agents verified=true sentiment=↓ negative

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.

read1 min views1 publishedJul 16, 2026
xAI open-sources "Grok-Build" on GitHub after massive data breach
Image: The Decoder

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 that SSH keys, password databases, documents, and photos were transferred. Elon Musk then announced 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 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, 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, 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

── more in #ai-agents 4 stories · sorted by recency
── more on @xai 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/xai-open-sources-gro…] indexed:0 read:1min 2026-07-16 ·