XNews

SpaceXAI Open-Sources Grok Build's Agent Harness and Resets User Quotas

SpaceXAI Open-Sources Grok Build's Agent Harness and Resets User Quotas

SpaceXAI open-sourced the full Agent Harness for Grok Build and reset quotas for all users in response to a prior code upload security controversy. The open-sourcing aims to gain trust through transparency, exposing the production-grade coding agent's context assembly, model response parsing, and tool dispatch code. The architecture features a four-layer decoupled design (Pager, Shell, Tools, Workspace) and a seven-layer Agent Harness with a Leader process, Session Actors, and a Subagent Coordinator. Engineering highlights include a two-pass hierarchical context compression system, a goal and early-stop detection module with regex-based 'giving up' phrase detection, a dual-layer doom-loop defense, and per-client capability routing.

Source posts