Claude Can Parallelize by Prompting
Prompts like the following will create parallel sub agents to do tasks:
Launch X parallel agents to do Y, Each parallel agent should do Z
Example use case: Research
Prompt snippet
Imperfect prompt but illustrates area where spinning multiple parallel agents makes sense:
... Perform re-search on libraries to choose from, choose top candidates THEN create PARALLEL sub-agents to dive deeper into each library creating a markdown file with the research result of that library. After parallization analyze results from each sub-agent and propose the library to use.
Output:
● Now I'll create parallel agents to research each library in detail:
● Task(Research react-resizable-panels)
⎿ Received 363.5KB (200 OK)
Fetch(https://wwwc.npmjs.com/package/react-resizable-panels)
+1 more tool use
● Task(Research react-rnd)
⎿ Received 691.6KB (200 OK)
Fetch(https://www.npmjs.com/package/react-rnd)
+1 more tool use
● Task(Research re-resizable)
⎿ Received 438.1KB (200 OK)
Fetch(https://www.npmjs.com/package/re-resizable)
+1 more tool use
● Task(Research react-resizable)
⎿ Received 381.1KB (200 OK)
Fetch(https://www.npmjs.com/package/react-resizable)
+1 more tool use