Explore the harness behind our coding agent and TUI.
We're open-sourcing Grok Build, SpaceXAI's coding agent and TUI. The source is now available on GitHub.
Publishing the code is the most direct way to build toward a robust and reliable harness. You can read the source to see exactly how it works, from context assembly to tool-call dispatch.
Open-sourcing also makes the harness easier to explore and extend: if you're working with skills, plugins, hooks, MCP servers, or subagents, the source is the definitive reference for how each is loaded and invoked.
Finally, Grok Build can now run fully local-first: compile it yourself, point it at your own local inference, and drive everything from your config.toml.
The published source includes:
Explore the source on GitHub.