跳到正文
原文
xAI:News·· 2026-06-22AI 评分44

xAI 在 Grok Build 推出 /goal 模式,支持长时自主执行编码任务

Introducing /goal Use /goal for long-running autonomous task execution in Grok Build. Jun 22, 2026

文章要点
  • 1xAI 在 Grok Build 推出 /goal 模式,一行目标即可把实现任务交给智能体长时自主执行
  • 2智能体会自行规划方法、拆解进度清单并持续执行,直到任务完成且通过验证为止
  • 3执行过程中可继续追加指令,新模式附带用于监控与转向长任务的专用命令
  • 4任务完成后面板显示 Complete 并勾选全部清单项,安装 Grok Build 后即可调用
决策要点

编码智能体的交接粒度从对话轮次升级为目标级,较大的长任务可在一次交付后自主推进并自行验证

  • 影响:开发团队可把较大的实现任务整段交给智能体,人力投入从逐轮往返转向验收清单;自主执行时间拉长后,过程监督要改用任务内的监控与转向命令
  • 参考:可考虑选一个边界清晰、能用脚本或页面检查验证的任务试点 /goal,记录原先逐轮往返的耗时对比;值得先明确目标写法与清单验收口径,再扩大到更长任务
  • 依据:内容为 xAI 官方公告,官方称智能体持续执行直到任务完成且通过验证,暂无独立验证
正文

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 with a single command and sign in with your account:

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.

Set a goal in one line

Give /goal an objective and Grok Build takes it from there:

bash

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:

bash

When the goal is finished, the panel flips to Complete with every checklist item checked.

Getting started

Install Grok Build with the command above, then invoke /goal to hand off your first long-running task.

来源:xAI:News · x.ai