Copied


xAI Launches /goal for Autonomous Coding in Grok Build

Iris Coleman   Jun 22, 2026 16:18 0 Min Read


xAI has unveiled /goal, a new feature for its terminal-native coding tool, Grok Build. Designed for long-running, autonomous task execution, /goal allows developers to offload complex software objectives to the AI agent with minimal oversight. This marks a significant step forward in xAI's push toward agentic development tools.

Available now, /goal empowers users to set objectives, such as "Migrate the auth module to the new API," and let the Grok Build agent take charge. The tool plans the workflow, breaks tasks into manageable steps, and executes autonomously until completion. Developers can monitor progress using commands like /goal status, pause tasks as needed, or provide additional instructions mid-process. The feature promises to streamline workflows for tasks requiring extensive back-and-forth execution and verification, such as code reviews, script execution, and webpage inspections.

A Shift Toward Autonomous Development

This launch builds on xAI’s broader Grok ecosystem, which includes Grok Build, a terminal-based coding agent introduced in beta in May 2026. Unlike IDE-embedded assistants, Grok Build operates directly in the terminal, offering features like isolated Git worktrees for parallel task execution and integrations via the Model Context Protocol (MCP). These capabilities position it as a powerful tool for professional developers managing multi-step coding workflows.

Earlier this month, xAI opened Grok Build 0.1 to developers via API, signaling a pivot toward a more accessible platform strategy. Industry analysts see this as part of a broader trend among AI labs to develop "agentic" tools that can autonomously plan and execute software tasks. Competing offerings like GitHub Copilot, Codex CLI, and Claude Code are also vying for dominance in this space.

Why It Matters

The introduction of /goal is likely to draw significant interest from developers and enterprises looking to optimize coding efficiency. By reducing the need for constant human intervention, the feature could cut development timelines and costs, particularly for large, complex projects. While Grok Build remains a niche tool for now, its evolving feature set underscores xAI’s ambition to challenge incumbents in the AI coding assistant market.

How to Get Started

Developers can install Grok Build and access /goal by running the following command:

$ curl -fsSL https://x.ai/cli/install.sh | bash

Once installed, users can invoke /goal to begin delegating long-running tasks. The feature includes commands for tracking progress, pausing, resuming, or canceling goals entirely, ensuring flexibility during execution.

As xAI continues to refine its agentic development tools, the company’s trajectory will be worth watching. With Grok Build and /goal, xAI is not just automating code execution—it’s redefining how software developers interact with their tools.


Read More