AI coding tools are often discussed as black boxes: you give them a task, they inspect a repository, run commands, edit files, and return a result. Grok Build is now a useful exception.

SpaceXAI has open-sourced Grok Build, its terminal-based coding agent and full-screen TUI. The public repository exposes the harness behind the product, so developers can inspect how context is assembled, model responses are parsed, tools are dispatched, and long-running work is managed.

What has been open-sourced?

The published Rust code includes:

the agent loop that connects model responses to tool calls