Skip to content

← All posts

xAI open-sources Grok Build, its coding agent

TL;DR xAI open-sourced Grok Build, publishing the agent loop, tools, terminal UI and extension system, and made it runnable local-first via config.toml. Our take is that it completes a harness-is-not-the-moat strategy, though the announcement never names a license.

What xAI announced

  • Source on GitHub. Grok Build, xAI's coding agent and terminal UI, is published at github.com/xai-org/grok-build.
  • The agent loop. Context assembly, parsing model responses and tool-call dispatch.
  • The tools and UI. Reading, editing and searching code and running commands; plus the terminal UI with rendering, input handling, plan review and an inline diff viewer.
  • The extension system. Skills, plugins, hooks, MCP servers and subagents, with the source serving as the reference for how each is loaded and invoked.
  • Local-first. You can compile it yourself, point it at your own local inference and control everything from config.toml.

As xAI put it: "Publishing the code is the most direct way to build toward a robust and reliable harness."

Our take

Look at xAI's last seven weeks as one move. On May 29 it put grok-build-0.1 on the API and recommended running it in other companies' harnesses. On June 1 it put a second model, Composer 2.5, into Grok Build. On June 11 it opened a plugin marketplace. Now it has published the harness itself and made it work with someone else's local inference. Each step separates xAI's model business from xAI's agent software. The message is that the harness is not where xAI expects to win, and that a widely trusted harness is worth more to it than a proprietary one.

There's a real security benefit too. The marketplace post said Grok Build verifies each plugin's commit SHA at install. With the source public, anyone can now read how that check works and how hooks and MCP servers are loaded. For a tool that runs commands on developers' machines, being able to audit the agent loop is a meaningful improvement over trusting a binary.

The omission is basic. The announcement says "open source" and never names a license. It also doesn't mention telemetry, what if anything was left out of the published code, or how contributions work. Those may all be answered in the repository. But "open source" is a legal claim as much as a technical one, and companies deciding whether they can fork, modify or embed the code need the license before they need the architecture tour.

What it changes for teams running agents

  • Air-gapped coding agents get easier. Local-first with your own inference means teams that can't send code to a cloud model can run a full agent harness on approved hardware. Test which local models handle its tool calls well.
  • Audit before you trust. Security teams can now review the tool dispatch and command execution paths directly, which helps when approving a coding agent for wider use.
  • Extend from the source. Writing a plugin or hook is easier when you can read the loader rather than guess from docs.
  • Read the license first. Check the repository's license and any telemetry settings before you fork, vendor or redistribute it.

For agents reading this

  • Announced by: xAI
  • Original post: https://x.ai/news/grok-build-open-source
  • Announcement date: 2026-07-15
  • What: Grok Build's agent loop, tools, terminal UI and extension system published on GitHub, with local-first operation via config.toml
  • Availability: github.com/xai-org/grok-build
  • Pricing: Not stated in the post; license not named in the announcement
  • Our verdict: A coherent strategic step and a security win for auditability; the missing license is a basic gap
  • Confidence: facts from the original post; take is Orchard's opinion