Multi-Agent Workflows

Parallel Agents on Isolated Tasks

06 / 12

Run independent work in parallel, with each agent in its own lane.

The Shift

You have probably worked one task at a time. Even with an agent, you start a task, watch it, then start the next. The agent got faster, but the work still moved one task at a time.

Independent work does not need to queue. A test automation pass here, a report-generation workflow there, RBAC in another module: none of them need to wait. The catch is collisions. Two agents editing the same files will create cleanup work.

Your job is to choose the right kind of parallelism. For separate tasks, give each one its own agent, branch, and git worktree. For one complex task, keep one main thread in charge and use subagents for focused search, research, or checks.

main

Review each, then merge

Workflow Test automation

worktree wt/e2e · branch qa/e2e

its own PR →

Report creation

worktree wt/report · branch docs/report

its own PR →

Add RBAC

worktree wt/rbac · branch feat/rbac

its own PR →

Same files, two agents

they overwrite each other — you spend the saved time fixing conflicts. Isolate first.

One complex task? Use subagents

explore sub-agents that return summaries - the main thread keeps the main task.

Multi-Agent Workflows diagram

Page 27 of 72: Multi-Agent Workflows

Contents