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

SpaceXAI open-sourced Grok Build's Agent Harness and reset user quotas after a code repository security incident. The open-source aims for transparency, extensibility, and local-first use. Grok CLI has four decoupled layers; Agent Harness has seven layers including Leader, Session Actor, Turn abstraction, Sampler, Subagent Coordinator, Tool Index. Engineering highlights: two-pass hierarchical compression, goal+early stop detection with 9 regex patterns, double doom-loop defense, subagent state machine, per-client capability routing.