xai-org/grok-build, now open source
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
Anyone who ran the grok CLI may have had entire directories, including SSH keys, uploaded to xAI, and they can now audit the Apache 2.0 codebase themselves.
xAI's Grok Build is a command-line coding assistant, software that helps write code from a terminal. Last month it upset users by secretly copying entire folders, including one person's SSH keys and password database, to xAI's cloud storage. The company disabled that behavior, deleted the stored data, and released the full program's code under the permissive Apache 2.0 license so anyone can inspect it. The code, about 845,000 lines of the Rust language, is now on GitHub.
xAI faced a trust crisis when its grok CLI was found uploading whole directories, including credentials, to company cloud buckets. It responded by disabling uploads, promising deletion of retained data, and open-sourcing the full codebase under Apache 2.0, presumably to rebuild credibility against rivals like OpenAI's Codex. Decision-makers evaluating AI coding tools should note the scale: nearly 845,000 lines of Rust, comparable to Codex's 950,000. Whether transparency restores trust depends on independent audits of the code.
Grok Build is 844,530 lines of Rust by SLOCCount (about 3% vendored), released in a single Apache 2.0 commit as xai-org/grok-build. Notable components: main and subagent system prompts as templates, a Unicode box-drawing terminal renderer for Mermaid diagrams (ported to WebAssembly by Willison), and tool implementations ported from Codex (apply_patch, grep_files) and OpenCode (bash, edit, glob) under Apache/MIT notices. The old GCS upload code remains but is disabled via a hard-coded session_state_upload_unavailable error.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Self-hosted YouTube client that falls back to SABR when side doors close
A self-hosted YouTube client lets users watch videos without Google accounts, ads, or tracking, keeping data local and enabling shared libraries across devices.
datasette-charts 0.4a0
Datasette now lets developers add custom chart types more easily, expanding visualisation options for data projects.
Speculative Decoding Makes Tool Calls Faster. Agents Need a Cache.
Speed improvements in speculative decoding mean agents can execute tool calls faster, reducing latency for real-time applications.