Grok Build Workflows Release
Grok Build now supports automated orchestration of parallel agents
xAI has released Workflows in Grok Build, a feature that enables users to describe large, complex tasks in plain language. Grok then plans the task, executes it across hundreds of parallel agents in the background, and provides a final synthesized report upon completion.
Use Cases for Workflows
Workflows are designed for multi-faceted tasks that exceed the capacity of a single conversation. These include:
- Large-scale Code Review: Reviewing every feature within a large Pull Request (PR).
- Issue Triage: Triaging the last 100 issues in a project.
- Codebase Auditing: Auditing a codebase for a specific class of bug.
Essentially, any task that can be split into independent pieces and requires a consolidated final report is a candidate for a workflow.
Technical Implementation and Execution
Orchestration and Planning
Grok plans each task as a script defining the phases of work, the agents assigned to each phase, and the method for aggregating results. Each agent operates with a clean, focused context to maintain precision. The system can implement adversarial checks, such as using independent skeptics to verify findings before they are included in the final report.
Agent Capacity and State Management
- Agent Budget: Standard runs are allocated a budget of 128 agents, with a capacity of up to 1,024 agents for larger jobs.
- Persistence: Progress is saved incrementally. If a run is paused and resumed, the system does not redo work that has already been finished.
- Monitoring: Users can monitor live progress, including phase-by-phase updates and per-agent token counts, using the
/workflowscommand.
Saving and Reusing Workflows
Users do not write the orchestration scripts themselves; Grok authors the workflow based on the user's request, smoke-checks it, and improves it over subsequent runs.
Storage and Sharing
- Team Sharing: Workflows saved in
.grok/workflows/are shared with the user's team. - Personal Use: Workflows saved in
~/.grok/workflows/are available across all of a user's environments.
Command Integration
Once a workflow is saved, it becomes a custom slash command that accepts arguments. For example, a saved PR review workflow can be triggered via /pr-review [PR_NUMBER].
Built-in Capabilities
xAI has included /deep-research as a built-in workflow. This specific workflow fans research questions out to parallel investigators, verifies every claim against its sources, and returns a cited report.
Sources
- OriginalWorkflows in Grok Build
Related
- Dispatch
- Dispatch
- Dispatch
- Dispatch
- Dispatch