[{"data":1,"prerenderedAt":60},["ShallowReactive",2],{"blog-parallel-coding-agents-grok-build-vs-claude-code":3,"blog-related-parallel-coding-agents-grok-build-vs-claude-code":42},{"slug":4,"title":5,"description":6,"category":7,"categoryId":8,"keyword":9,"date":10,"minutes":11,"body":12,"html":13,"headings":14},"parallel-coding-agents-grok-build-vs-claude-code","How to run coding agents in parallel: Grok Build workflows vs Claude Code subagents, teams and worktrees","Running coding agents in parallel in Grok Build (workflows in JavaScript, agent messaging, worktrees, the agent dashboard) and in Claude Code (subagents, agent teams, worktrees, background sessions, \u002Fbatch). What each one does, limits, cost, and which fits which job.","Workflows","workflows","run coding agents in parallel","2026-11-30",7,"Running several coding agents at once has gone from a trick to a headline feature. On November 30, 2026, the day [Cursor became Grok Build](\u002Fblog\u002Fcursor-is-now-grok-build), its terminal app got workflows that \"run them across hundreds of agents in parallel\" and agents that message each other, and its desktop app was rewritten \"for managing dozens or hundreds of agents in parallel\". Claude Code gets there through subagents, agent teams, worktrees and background sessions.\n\nThe tools differ more in shape than in power. Grok Build puts a scripted fan-out at the center. Claude Code gives you several smaller pieces to combine. This page compares them from each side's docs, read on November 30, 2026: Grok Build's [workflows](https:\u002F\u002Fdocs.grok.com\u002Fbuild\u002Ffeatures\u002Fworkflows), [subagents](https:\u002F\u002Fdocs.grok.com\u002Fbuild\u002Ffeatures\u002Fsubagents), [worktrees](https:\u002F\u002Fdocs.grok.com\u002Fbuild\u002Ffeatures\u002Fworktrees) and [agent dashboard](https:\u002F\u002Fdocs.grok.com\u002Fbuild\u002Ffeatures\u002Fdashboard) pages, and Claude Code's [subagents](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fsub-agents), [agent teams](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fagent-teams), [worktrees](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fworktrees) and [agent view](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fagent-view) pages.\n\n## What are the ways to run agents in parallel?\n\n| Job | Grok Build | Claude Code |\n| --- | --- | --- |\n| Delegate a side task, get a summary | Subagents (`general-purpose`, `explore`, `plan`, your own) | Subagents (Explore, Plan, your own in `.claude\u002Fagents\u002F`) |\n| Split a big task across many agents, one report | Workflows: a JavaScript file, up to 1,024 agents per run | `\u002Fbatch`, or a script with `claude -p` or the Agent SDK |\n| Agents that talk to each other | Agent messaging, on in every session | Agent teams, experimental and off by default |\n| Separate checkouts so agents don't collide | `grok -w`, under `~\u002F.grok\u002Fworktrees\u002F` | `claude --worktree`, under `.claude\u002Fworktrees\u002F` |\n| One screen for every session | Agent dashboard (`Ctrl+\\`) | Agent view (`claude agents`, research preview) |\n| Keep going with the laptop closed | Cloud send (`&`), cloud agents | Cloud sessions at claude.ai\u002Fcode |\n\n## Grok Build: workflows, messages and the dashboard\n\n### Workflows\n\nA workflow is a JavaScript module that starts subagents in the background and returns one result. Your session stays free while it runs. You save it as `.grok\u002Fworkflows\u002F\u003Cname>.js` in a trusted repository, or in `~\u002F.grok\u002Fworkflows\u002F` for every project, and start it with `\u002F\u003Cname>`. Inside, `host.agent(prompt, options)` starts an agent and `.wait()` returns its answer. The options set a label (shown under a phase in the run view), `readonly: true` for an agent that only reads, a JSON `schema` for its answer, and a `model`.\n\nYou don't have to write the file. Ask in plain words (\"use a workflow to review each feature in this PR\"), and Grok writes a script and runs it without saving it. The announcement groups this under \"code mode and workflows\". `\u002Fcreate-workflow` writes a saved one for you, and `\u002Fdeep-research` is built in.\n\nLimits worth knowing: a run starts as many agents as its code asks for, so cap it with `--agent-budget N` (1 to 1,024). A stopped run can't be resumed, and quitting Grok stops every unfinished run. Workflows start only in agent mode.\n\n### Agents that message each other\n\nIn Grok Build 2.0, agents in one session can message each other while they work. The main agent can correct a subagent without stopping it, subagents can pass each other what they found, and you can open a running subagent and write to it yourself. Each message shows as a row in the transcript.\n\n### Worktrees and the dashboard\n\n`grok -w` starts a session in its own checkout under `~\u002F.grok\u002Fworktrees\u002F\u003Crepo>\u002F\u003Cname>`, from your current HEAD including uncommitted changes, and subagents can ask for one when the parent delegates parallel work. Worktrees older than seven days are cleaned up automatically, except those that still hold uncommitted or unpushed work.\n\nThe agent dashboard (`Ctrl+\\` or `grok dashboard`) lists every session by state: Needs input, Working, Idle, Completed, Failed. Select one to peek and reply, and dispatch new sessions into worktrees from its input bar.\n\nOn the desktop, the rewritten Agents Window is built for many agents at once. It's in open beta on November 30.\n\n## Claude Code: subagents, teams, worktrees and background sessions\n\n### Subagents\n\nA subagent is a second Claude with its own context, instructions and tools. It does the noisy part of a job and returns a summary. Up to 20 run at once by default (`CLAUDE_CODE_MAX_CONCURRENT_SUBAGENTS` changes it), each can work in its own worktree with `isolation: worktree`, and they can spawn their own, three layers deep. They don't talk to each other or to you while they work. Full guide: [Subagents in Claude Code](\u002Fblog\u002Fclaude-code-subagents).\n\n### Agent teams\n\nClaude Code's agents-that-talk feature. A lead session and teammates, each a full Claude Code instance, share a task list and message each other by name. It's **experimental and off by default**: turn it on with `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1`. The docs list its limits (interactive sessions only, one team per session, teammates not in worktrees, `\u002Fresume` doesn't bring them back), and Anthropic's costs page puts a team at about 7 times the tokens of one session. More in [Claude Code agent teams](\u002Fblog\u002Fclaude-code-agent-teams).\n\n### Worktrees, background sessions and \u002Fbatch\n\n`claude --worktree feature-auth` starts a session in `.claude\u002Fworktrees\u002Ffeature-auth\u002F` on a new `worktree-feature-auth` branch. Background sessions (`claude --bg \"task\"`) keep running without a terminal, and agent view (`claude agents`) shows them all by state, in research preview. Background sessions that edit files move into a worktree first. For one large mechanical change, `\u002Fbatch` splits it across subagents, each in its own worktree. See [git worktrees with Claude Code](\u002Fblog\u002Fclaude-code-git-worktrees) and [running several Claude Code sessions at once](\u002Fblog\u002Frun-multiple-claude-code-sessions).\n\nFor a fixed pipeline, `claude -p` in a shell script or the [Agent SDK](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fagent-sdk\u002Foverview) chains runs in code. That's the closest thing to a Grok Build workflow file, without the run view.\n\n## What does Grok Build do better?\n\n- **Fan-out as a first-class feature.** A workflow file with phases, schemas, a per-agent model, an agent budget and a run view is more than Claude Code ships in one piece. Saving it in the repository makes it repeatable for a team.\n- **Agents that talk, on by default.** Messaging between agents in one session works without an experimental flag, and you can steer a running subagent directly.\n- **Scale on the desktop.** The new Agents Window and cloud agents aim at dozens or hundreds of agents, with Projects shared across a team.\n\n## What does Claude Code do better?\n\n- **Smaller pieces you can combine.** Subagents, worktrees, background sessions and scripts each do one thing, and each is documented with its limits.\n- **Predictable cost on a plan.** Parallel sessions cost one session each, on your Pro or Max plan. A workflow that starts hundreds of agents costs hundreds of agents. In Grok Build, Claude and other third-party models are billed at API price from prepaid credit, by its [models page](https:\u002F\u002Fdocs.grok.com\u002Fbuild\u002Fagents-window\u002Fmodels-and-pricing).\n- **Worktrees in the repository.** `.claude\u002Fworktrees\u002F` sits next to your code on a named branch, easy to find and review.\n\n## Which approach fits which job?\n\n- **One feature, a few side questions**: subagents, in either tool.\n- **Three independent features**: worktrees, one session each. You merge.\n- **Audit every route, review each file of a PR**: a Grok Build workflow, or Claude Code's `\u002Fbatch` or a `claude -p` loop.\n- **A hard bug with several plausible causes**: agents that debate, so Grok Build's messaging or Claude Code's agent teams.\n- **More than four or five sessions**: whichever tool, the hard part becomes knowing which one is waiting for you. Use the dashboard or agent view.\n\n## FAQ\n\n**How many agents can run at once?**\n\nA Grok Build workflow can start up to 1,024 per run with `--agent-budget`. Claude Code runs up to 20 subagents per session by default, and parallel sessions are limited by your machine and your plan's usage.\n\n**Do parallel agents edit the same files?**\n\nThey can, in one checkout. Put each in a worktree: `grok -w` or `claude --worktree`.\n\n**Are Claude Code's agent teams the same as Grok Build's agent messaging?**\n\nClose in idea: agents message each other. Claude Code's are experimental, off by default, and limited to interactive sessions. Grok Build's are on in every 2.0 session.\n\n**Does running agents in parallel cost more?**\n\nYes, roughly in proportion to the number of agents. Anthropic puts an agent team at about 7 times the tokens of one session. A Grok Build workflow's cost depends on how many agents it starts and on their model.\n\n## More on the Grok Build change\n\n- [Cursor is now Grok Build: what changed](\u002Fblog\u002Fcursor-is-now-grok-build)\n- [Grok Build pricing](\u002Fblog\u002Fgrok-build-pricing)\n- [Using Claude in Grok Build](\u002Fblog\u002Fuse-claude-in-grok-build)\n- [Grok Build alternatives](\u002Fblog\u002Fgrok-build-alternatives)\n- [Relais vs Grok Build](\u002Fblog\u002Frelais-vs-grok-build)\n- [How to migrate from Cursor to Claude Code](\u002Fblog\u002Fmigrate-cursor-to-claude-code)\n- [What Grok Build's \u002Fimport-claude and \u002Fresume-claude read](\u002Fblog\u002Fgrok-build-import-claude)\n- [Grok Build Remote Control vs Claude Code](\u002Fblog\u002Fgrok-build-remote-control-vs-claude-code)\n- [Grok Build privacy after the Cursor merger](\u002Fblog\u002Fgrok-build-privacy)\n- [Grok Build vs Claude Code, side by side](\u002Fblog\u002Fgrok-build-vs-claude-code)\n\n## In Relais\n\nRelais is a Mac app built on Claude Code, for the parallel sessions part. It runs many Claude Code sessions sorted by [project](\u002Ffeatures\u002Fprojects), each in a worktree if you want, and puts what waits for you in one [Needs you](\u002Ffeatures\u002Fneeds-you) list. When a Claude seat hits its limit, the same session carries on with your next one. [Workflows](\u002Ffeatures\u002Fworkflows), a YAML file in your project, chain Claude sessions, shell commands and your reviews, with steps running at once when they can. It doesn't run Grok Build. See [Relais vs Grok Build](\u002Fblog\u002Frelais-vs-grok-build) and [Compare](\u002Fcompare).","\u003Cp>Running several coding agents at once has gone from a trick to a headline feature. On November 30, 2026, the day \u003Ca href=\"\u002Fblog\u002Fcursor-is-now-grok-build\">Cursor became Grok Build\u003C\u002Fa>, its terminal app got workflows that &quot;run them across hundreds of agents in parallel&quot; and agents that message each other, and its desktop app was rewritten &quot;for managing dozens or hundreds of agents in parallel&quot;. Claude Code gets there through subagents, agent teams, worktrees and background sessions.\u003C\u002Fp>\n\u003Cp>The tools differ more in shape than in power. Grok Build puts a scripted fan-out at the center. Claude Code gives you several smaller pieces to combine. This page compares them from each side&#39;s docs, read on November 30, 2026: Grok Build&#39;s \u003Ca href=\"https:\u002F\u002Fdocs.grok.com\u002Fbuild\u002Ffeatures\u002Fworkflows\">workflows\u003C\u002Fa>, \u003Ca href=\"https:\u002F\u002Fdocs.grok.com\u002Fbuild\u002Ffeatures\u002Fsubagents\">subagents\u003C\u002Fa>, \u003Ca href=\"https:\u002F\u002Fdocs.grok.com\u002Fbuild\u002Ffeatures\u002Fworktrees\">worktrees\u003C\u002Fa> and \u003Ca href=\"https:\u002F\u002Fdocs.grok.com\u002Fbuild\u002Ffeatures\u002Fdashboard\">agent dashboard\u003C\u002Fa> pages, and Claude Code&#39;s \u003Ca href=\"https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fsub-agents\">subagents\u003C\u002Fa>, \u003Ca href=\"https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fagent-teams\">agent teams\u003C\u002Fa>, \u003Ca href=\"https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fworktrees\">worktrees\u003C\u002Fa> and \u003Ca href=\"https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fagent-view\">agent view\u003C\u002Fa> pages.\u003C\u002Fp>\n\u003Ch2 id=\"what-are-the-ways-to-run-agents-in-parallel\">\u003Ca class=\"anchor\" href=\"#what-are-the-ways-to-run-agents-in-parallel\" aria-label=\"Link to this section\">#\u003C\u002Fa>What are the ways to run agents in parallel?\u003C\u002Fh2>\n\u003Cdiv class=\"table-wrap\">\u003Ctable>\u003Cthead>\u003Ctr>\u003Cth>Job\u003C\u002Fth>\u003Cth>Grok Build\u003C\u002Fth>\u003Cth>Claude Code\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>\u003Ctr>\u003Ctd>Delegate a side task, get a summary\u003C\u002Ftd>\u003Ctd>Subagents (\u003Ccode>general-purpose\u003C\u002Fcode>, \u003Ccode>explore\u003C\u002Fcode>, \u003Ccode>plan\u003C\u002Fcode>, your own)\u003C\u002Ftd>\u003Ctd>Subagents (Explore, Plan, your own in \u003Ccode>.claude\u002Fagents\u002F\u003C\u002Fcode>)\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>Split a big task across many agents, one report\u003C\u002Ftd>\u003Ctd>Workflows: a JavaScript file, up to 1,024 agents per run\u003C\u002Ftd>\u003Ctd>\u003Ccode>\u002Fbatch\u003C\u002Fcode>, or a script with \u003Ccode>claude -p\u003C\u002Fcode> or the Agent SDK\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>Agents that talk to each other\u003C\u002Ftd>\u003Ctd>Agent messaging, on in every session\u003C\u002Ftd>\u003Ctd>Agent teams, experimental and off by default\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>Separate checkouts so agents don&#39;t collide\u003C\u002Ftd>\u003Ctd>\u003Ccode>grok -w\u003C\u002Fcode>, under \u003Ccode>~\u002F.grok\u002Fworktrees\u002F\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>\u003Ccode>claude --worktree\u003C\u002Fcode>, under \u003Ccode>.claude\u002Fworktrees\u002F\u003C\u002Fcode>\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>One screen for every session\u003C\u002Ftd>\u003Ctd>Agent dashboard (\u003Ccode>Ctrl+\\\u003C\u002Fcode>)\u003C\u002Ftd>\u003Ctd>Agent view (\u003Ccode>claude agents\u003C\u002Fcode>, research preview)\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>Keep going with the laptop closed\u003C\u002Ftd>\u003Ctd>Cloud send (\u003Ccode>&amp;\u003C\u002Fcode>), cloud agents\u003C\u002Ftd>\u003Ctd>Cloud sessions at claude.ai\u002Fcode\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\u003C\u002Ftable>\u003C\u002Fdiv>\n\u003Ch2 id=\"grok-build-workflows-messages-and-the-dashboard\">\u003Ca class=\"anchor\" href=\"#grok-build-workflows-messages-and-the-dashboard\" aria-label=\"Link to this section\">#\u003C\u002Fa>Grok Build: workflows, messages and the dashboard\u003C\u002Fh2>\n\u003Ch3 id=\"workflows\">\u003Ca class=\"anchor\" href=\"#workflows\" aria-label=\"Link to this section\">#\u003C\u002Fa>Workflows\u003C\u002Fh3>\n\u003Cp>A workflow is a JavaScript module that starts subagents in the background and returns one result. Your session stays free while it runs. You save it as \u003Ccode>.grok\u002Fworkflows\u002F&lt;name&gt;.js\u003C\u002Fcode> in a trusted repository, or in \u003Ccode>~\u002F.grok\u002Fworkflows\u002F\u003C\u002Fcode> for every project, and start it with \u003Ccode>\u002F&lt;name&gt;\u003C\u002Fcode>. Inside, \u003Ccode>host.agent(prompt, options)\u003C\u002Fcode> starts an agent and \u003Ccode>.wait()\u003C\u002Fcode> returns its answer. The options set a label (shown under a phase in the run view), \u003Ccode>readonly: true\u003C\u002Fcode> for an agent that only reads, a JSON \u003Ccode>schema\u003C\u002Fcode> for its answer, and a \u003Ccode>model\u003C\u002Fcode>.\u003C\u002Fp>\n\u003Cp>You don&#39;t have to write the file. Ask in plain words (&quot;use a workflow to review each feature in this PR&quot;), and Grok writes a script and runs it without saving it. The announcement groups this under &quot;code mode and workflows&quot;. \u003Ccode>\u002Fcreate-workflow\u003C\u002Fcode> writes a saved one for you, and \u003Ccode>\u002Fdeep-research\u003C\u002Fcode> is built in.\u003C\u002Fp>\n\u003Cp>Limits worth knowing: a run starts as many agents as its code asks for, so cap it with \u003Ccode>--agent-budget N\u003C\u002Fcode> (1 to 1,024). A stopped run can&#39;t be resumed, and quitting Grok stops every unfinished run. Workflows start only in agent mode.\u003C\u002Fp>\n\u003Ch3 id=\"agents-that-message-each-other\">\u003Ca class=\"anchor\" href=\"#agents-that-message-each-other\" aria-label=\"Link to this section\">#\u003C\u002Fa>Agents that message each other\u003C\u002Fh3>\n\u003Cp>In Grok Build 2.0, agents in one session can message each other while they work. The main agent can correct a subagent without stopping it, subagents can pass each other what they found, and you can open a running subagent and write to it yourself. Each message shows as a row in the transcript.\u003C\u002Fp>\n\u003Ch3 id=\"worktrees-and-the-dashboard\">\u003Ca class=\"anchor\" href=\"#worktrees-and-the-dashboard\" aria-label=\"Link to this section\">#\u003C\u002Fa>Worktrees and the dashboard\u003C\u002Fh3>\n\u003Cp>\u003Ccode>grok -w\u003C\u002Fcode> starts a session in its own checkout under \u003Ccode>~\u002F.grok\u002Fworktrees\u002F&lt;repo&gt;\u002F&lt;name&gt;\u003C\u002Fcode>, from your current HEAD including uncommitted changes, and subagents can ask for one when the parent delegates parallel work. Worktrees older than seven days are cleaned up automatically, except those that still hold uncommitted or unpushed work.\u003C\u002Fp>\n\u003Cp>The agent dashboard (\u003Ccode>Ctrl+\\\u003C\u002Fcode> or \u003Ccode>grok dashboard\u003C\u002Fcode>) lists every session by state: Needs input, Working, Idle, Completed, Failed. Select one to peek and reply, and dispatch new sessions into worktrees from its input bar.\u003C\u002Fp>\n\u003Cp>On the desktop, the rewritten Agents Window is built for many agents at once. It&#39;s in open beta on November 30.\u003C\u002Fp>\n\u003Ch2 id=\"claude-code-subagents-teams-worktrees-and-background-sessions\">\u003Ca class=\"anchor\" href=\"#claude-code-subagents-teams-worktrees-and-background-sessions\" aria-label=\"Link to this section\">#\u003C\u002Fa>Claude Code: subagents, teams, worktrees and background sessions\u003C\u002Fh2>\n\u003Ch3 id=\"subagents\">\u003Ca class=\"anchor\" href=\"#subagents\" aria-label=\"Link to this section\">#\u003C\u002Fa>Subagents\u003C\u002Fh3>\n\u003Cp>A subagent is a second Claude with its own context, instructions and tools. It does the noisy part of a job and returns a summary. Up to 20 run at once by default (\u003Ccode>CLAUDE_CODE_MAX_CONCURRENT_SUBAGENTS\u003C\u002Fcode> changes it), each can work in its own worktree with \u003Ccode>isolation: worktree\u003C\u002Fcode>, and they can spawn their own, three layers deep. They don&#39;t talk to each other or to you while they work. Full guide: \u003Ca href=\"\u002Fblog\u002Fclaude-code-subagents\">Subagents in Claude Code\u003C\u002Fa>.\u003C\u002Fp>\n\u003Ch3 id=\"agent-teams\">\u003Ca class=\"anchor\" href=\"#agent-teams\" aria-label=\"Link to this section\">#\u003C\u002Fa>Agent teams\u003C\u002Fh3>\n\u003Cp>Claude Code&#39;s agents-that-talk feature. A lead session and teammates, each a full Claude Code instance, share a task list and message each other by name. It&#39;s \u003Cstrong>experimental and off by default\u003C\u002Fstrong>: turn it on with \u003Ccode>CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1\u003C\u002Fcode>. The docs list its limits (interactive sessions only, one team per session, teammates not in worktrees, \u003Ccode>\u002Fresume\u003C\u002Fcode> doesn&#39;t bring them back), and Anthropic&#39;s costs page puts a team at about 7 times the tokens of one session. More in \u003Ca href=\"\u002Fblog\u002Fclaude-code-agent-teams\">Claude Code agent teams\u003C\u002Fa>.\u003C\u002Fp>\n\u003Ch3 id=\"worktrees-background-sessions-and-batch\">\u003Ca class=\"anchor\" href=\"#worktrees-background-sessions-and-batch\" aria-label=\"Link to this section\">#\u003C\u002Fa>Worktrees, background sessions and \u002Fbatch\u003C\u002Fh3>\n\u003Cp>\u003Ccode>claude --worktree feature-auth\u003C\u002Fcode> starts a session in \u003Ccode>.claude\u002Fworktrees\u002Ffeature-auth\u002F\u003C\u002Fcode> on a new \u003Ccode>worktree-feature-auth\u003C\u002Fcode> branch. Background sessions (\u003Ccode>claude --bg &quot;task&quot;\u003C\u002Fcode>) keep running without a terminal, and agent view (\u003Ccode>claude agents\u003C\u002Fcode>) shows them all by state, in research preview. Background sessions that edit files move into a worktree first. For one large mechanical change, \u003Ccode>\u002Fbatch\u003C\u002Fcode> splits it across subagents, each in its own worktree. See \u003Ca href=\"\u002Fblog\u002Fclaude-code-git-worktrees\">git worktrees with Claude Code\u003C\u002Fa> and \u003Ca href=\"\u002Fblog\u002Frun-multiple-claude-code-sessions\">running several Claude Code sessions at once\u003C\u002Fa>.\u003C\u002Fp>\n\u003Cp>For a fixed pipeline, \u003Ccode>claude -p\u003C\u002Fcode> in a shell script or the \u003Ca href=\"https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fagent-sdk\u002Foverview\">Agent SDK\u003C\u002Fa> chains runs in code. That&#39;s the closest thing to a Grok Build workflow file, without the run view.\u003C\u002Fp>\n\u003Ch2 id=\"what-does-grok-build-do-better\">\u003Ca class=\"anchor\" href=\"#what-does-grok-build-do-better\" aria-label=\"Link to this section\">#\u003C\u002Fa>What does Grok Build do better?\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>\u003Cstrong>Fan-out as a first-class feature.\u003C\u002Fstrong> A workflow file with phases, schemas, a per-agent model, an agent budget and a run view is more than Claude Code ships in one piece. Saving it in the repository makes it repeatable for a team.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Agents that talk, on by default.\u003C\u002Fstrong> Messaging between agents in one session works without an experimental flag, and you can steer a running subagent directly.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Scale on the desktop.\u003C\u002Fstrong> The new Agents Window and cloud agents aim at dozens or hundreds of agents, with Projects shared across a team.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"what-does-claude-code-do-better\">\u003Ca class=\"anchor\" href=\"#what-does-claude-code-do-better\" aria-label=\"Link to this section\">#\u003C\u002Fa>What does Claude Code do better?\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>\u003Cstrong>Smaller pieces you can combine.\u003C\u002Fstrong> Subagents, worktrees, background sessions and scripts each do one thing, and each is documented with its limits.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Predictable cost on a plan.\u003C\u002Fstrong> Parallel sessions cost one session each, on your Pro or Max plan. A workflow that starts hundreds of agents costs hundreds of agents. In Grok Build, Claude and other third-party models are billed at API price from prepaid credit, by its \u003Ca href=\"https:\u002F\u002Fdocs.grok.com\u002Fbuild\u002Fagents-window\u002Fmodels-and-pricing\">models page\u003C\u002Fa>.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Worktrees in the repository.\u003C\u002Fstrong> \u003Ccode>.claude\u002Fworktrees\u002F\u003C\u002Fcode> sits next to your code on a named branch, easy to find and review.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"which-approach-fits-which-job\">\u003Ca class=\"anchor\" href=\"#which-approach-fits-which-job\" aria-label=\"Link to this section\">#\u003C\u002Fa>Which approach fits which job?\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>\u003Cstrong>One feature, a few side questions\u003C\u002Fstrong>: subagents, in either tool.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Three independent features\u003C\u002Fstrong>: worktrees, one session each. You merge.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Audit every route, review each file of a PR\u003C\u002Fstrong>: a Grok Build workflow, or Claude Code&#39;s \u003Ccode>\u002Fbatch\u003C\u002Fcode> or a \u003Ccode>claude -p\u003C\u002Fcode> loop.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>A hard bug with several plausible causes\u003C\u002Fstrong>: agents that debate, so Grok Build&#39;s messaging or Claude Code&#39;s agent teams.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>More than four or five sessions\u003C\u002Fstrong>: whichever tool, the hard part becomes knowing which one is waiting for you. Use the dashboard or agent view.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"faq\">\u003Ca class=\"anchor\" href=\"#faq\" aria-label=\"Link to this section\">#\u003C\u002Fa>FAQ\u003C\u002Fh2>\n\u003Cp>\u003Cstrong>How many agents can run at once?\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>A Grok Build workflow can start up to 1,024 per run with \u003Ccode>--agent-budget\u003C\u002Fcode>. Claude Code runs up to 20 subagents per session by default, and parallel sessions are limited by your machine and your plan&#39;s usage.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Do parallel agents edit the same files?\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>They can, in one checkout. Put each in a worktree: \u003Ccode>grok -w\u003C\u002Fcode> or \u003Ccode>claude --worktree\u003C\u002Fcode>.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Are Claude Code&#39;s agent teams the same as Grok Build&#39;s agent messaging?\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>Close in idea: agents message each other. Claude Code&#39;s are experimental, off by default, and limited to interactive sessions. Grok Build&#39;s are on in every 2.0 session.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Does running agents in parallel cost more?\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>Yes, roughly in proportion to the number of agents. Anthropic puts an agent team at about 7 times the tokens of one session. A Grok Build workflow&#39;s cost depends on how many agents it starts and on their model.\u003C\u002Fp>\n\u003Ch2 id=\"more-on-the-grok-build-change\">\u003Ca class=\"anchor\" href=\"#more-on-the-grok-build-change\" aria-label=\"Link to this section\">#\u003C\u002Fa>More on the Grok Build change\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>\u003Ca href=\"\u002Fblog\u002Fcursor-is-now-grok-build\">Cursor is now Grok Build: what changed\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fblog\u002Fgrok-build-pricing\">Grok Build pricing\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fblog\u002Fuse-claude-in-grok-build\">Using Claude in Grok Build\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fblog\u002Fgrok-build-alternatives\">Grok Build alternatives\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fblog\u002Frelais-vs-grok-build\">Relais vs Grok Build\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fblog\u002Fmigrate-cursor-to-claude-code\">How to migrate from Cursor to Claude Code\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fblog\u002Fgrok-build-import-claude\">What Grok Build&#39;s \u002Fimport-claude and \u002Fresume-claude read\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fblog\u002Fgrok-build-remote-control-vs-claude-code\">Grok Build Remote Control vs Claude Code\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fblog\u002Fgrok-build-privacy\">Grok Build privacy after the Cursor merger\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fblog\u002Fgrok-build-vs-claude-code\">Grok Build vs Claude Code, side by side\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"in-relais\">\u003Ca class=\"anchor\" href=\"#in-relais\" aria-label=\"Link to this section\">#\u003C\u002Fa>In Relais\u003C\u002Fh2>\n\u003Cp>Relais is a Mac app built on Claude Code, for the parallel sessions part. It runs many Claude Code sessions sorted by \u003Ca href=\"\u002Ffeatures\u002Fprojects\">project\u003C\u002Fa>, each in a worktree if you want, and puts what waits for you in one \u003Ca href=\"\u002Ffeatures\u002Fneeds-you\">Needs you\u003C\u002Fa> list. When a Claude seat hits its limit, the same session carries on with your next one. \u003Ca href=\"\u002Ffeatures\u002Fworkflows\">Workflows\u003C\u002Fa>, a YAML file in your project, chain Claude sessions, shell commands and your reviews, with steps running at once when they can. It doesn&#39;t run Grok Build. See \u003Ca href=\"\u002Fblog\u002Frelais-vs-grok-build\">Relais vs Grok Build\u003C\u002Fa> and \u003Ca href=\"\u002Fcompare\">Compare\u003C\u002Fa>.\u003C\u002Fp>\n",[15,18,21,24,27,30,33,36,39],{"id":16,"text":17},"what-are-the-ways-to-run-agents-in-parallel","What are the ways to run agents in parallel?",{"id":19,"text":20},"grok-build-workflows-messages-and-the-dashboard","Grok Build: workflows, messages and the dashboard",{"id":22,"text":23},"claude-code-subagents-teams-worktrees-and-background-sessions","Claude Code: subagents, teams, worktrees and background sessions",{"id":25,"text":26},"what-does-grok-build-do-better","What does Grok Build do better?",{"id":28,"text":29},"what-does-claude-code-do-better","What does Claude Code do better?",{"id":31,"text":32},"which-approach-fits-which-job","Which approach fits which job?",{"id":34,"text":35},"faq","FAQ",{"id":37,"text":38},"more-on-the-grok-build-change","More on the Grok Build change",{"id":40,"text":41},"in-relais","In Relais",[43,48,55],{"slug":44,"title":45,"description":46,"category":7,"categoryId":8,"keyword":47,"date":10,"minutes":11},"grok-build-remote-control-vs-claude-code","Grok Build Remote Control vs Claude Code: steering a coding agent from your phone","Grok Build's Remote Control (terminal \u002Fremote and desktop \u002Fremote-control) next to Claude Code's Remote Control and cloud sessions. Requirements, pairing, what a phone can and can't do, where the session runs, and what each does better.","grok build remote control",{"slug":49,"title":50,"description":51,"category":7,"categoryId":8,"keyword":52,"date":53,"minutes":54},"claude-code-notifications","Claude Code notifications: know when it finishes or needs you","Get a sound or a desktop alert when Claude Code finishes or waits for you: the built-in setting, Notification and Stop hooks, and how to keep it quiet.","claude code notifications","2026-11-25",6,{"slug":56,"title":57,"description":58,"category":7,"categoryId":8,"keyword":59,"date":53,"minutes":11},"claude-code-workflow-automation","Claude Code workflow automation: from one prompt to a pipeline","How to automate repeated work with Claude Code, rung by rung: CLAUDE.md, skills, hooks, headless scripts, CI, and multi-step workflows that stop where a person has to decide.","claude code workflow automation",1796309900559]