Use /goal for long-running autonomous task execution in Grok Build.
Today we're introducing /goal in Grok Build. This new mode yields long-running, autonomous execution, helping you hand off larger implementation tasks to the agent.
Available now in Grok Build. Install the CLI with a single command and sign in with your account:
Introducing /goal
Most coding sessions require back-and-forth execution and verification. With /goal, the agent continues until a task is completed and verified, whether that means reviewing code, inspecting webpages, or executing scripts.
Give /goal an objective and Grok Build takes it from there:
It plans an approach, breaks the work into a progress checklist, and starts executing. You can keep sharing additional instructions with the agent as it works.
The new mode offers additional commands for monitoring and steering long-running tasks:
When the goal is finished, the panel flips to Complete with every checklist item checked.
Install Grok Build with the command above, then invoke /goal to hand off your first long-running task.