Iterative Multi-Agent Brainstorming
Spawns several agents in parallel on the same problem, often with different perspectives, then merges their ideas into one set of options
View .md
Edit on GitHub
Add to Pack
or
Saved locally in this browser for now.
Cite This Pattern
APA
Nikola Balic (@nibzard) (2026). Iterative Multi-Agent Brainstorming. In *Awesome Agentic Patterns*. Retrieved September 28, 2026, from https://agentic-patterns.com/patterns/iterative-multi-agent-brainstorming
BibTeX
@misc{agentic_patterns_iterative-multi-agent-brainstorming,
title = {Iterative Multi-Agent Brainstorming},
author = {Nikola Balic (@nibzard)},
year = {2026},
howpublished = {\url{https://agentic-patterns.com/patterns/iterative-multi-agent-brainstorming}},
note = {Awesome Agentic Patterns}
} Use when
- Task needs a wide range of ideas or solution approaches
- A single agent keeps converging on the same answer
- A coordinator agent or human can synthesize the outputs
Avoid when
- Task has one clear correct answer
- Budget cannot cover several parallel agent runs
Problem
For complex problems or creative ideation, a single AI agent instance might get stuck in a local optimum or fail to explore a diverse range of solutions. Generating a breadth of ideas can be challenging for a sequential, monolithic process.
Solution
Employ a multi-agent approach for brainstorming and idea generation. This involves:
- Defining a core problem or task.
- Spawning multiple independent (or semi-independent) AI agent instances.
- Assigning each agent the same initial task or slightly varied perspectives on the task.
- Allowing each agent to work in parallel to generate ideas, solutions, or approaches.
- Collecting the outputs from all agents.
- Optionally, a coordinating agent or a human user can then synthesize these diverse outputs, identify common themes, or select the most promising ideas for further development.
This pattern leverages parallelism to explore a wider solution space and can lead to more creative or robust outcomes than a single agent might produce alone.
Example (parallel brainstorming)
flowchart TD
A[Core Problem/Task] --> B[Agent 1: Perspective A]
A --> C[Agent 2: Perspective B]
A --> D[Agent 3: Perspective C]
B --> E[Solution Set 1]
C --> F[Solution Set 2]
D --> G[Solution Set 3]
E --> H[Coordinator/Human]
F --> H
G --> H
H --> I[Synthesized Solutions]
H --> J[Common Themes]
H --> K[Best Ideas Selected]
Example
- "Use 3 parallel agents to brainstorm ideas for how to clean up
@services/aggregator/feed_service.cpp." (from Claude Code examples)
How to use it
- Use this when you need diverse perspectives or want to avoid local optimum trapping.
- Assign distinct roles or perspectives to each agent (e.g., critic, optimist, technical realist).
- Limit to 2-4 agents for manageable coordination; more than 6 adds exponential overhead.
- Use a coordinating agent or human to synthesize and deduplicate outputs.
Trade-offs
- Pros: Explores wider solution space, reduces local optimum trapping, enables diverse perspective exploration.
- Cons: Adds orchestration complexity, coordination overhead increases with agent count, requires synthesis mechanisms.
References
- Inspired by the example of using parallel agents for brainstorming in "Mastering Claude Code: Boris Cherny's Guide & Cheatsheet," section III.
- AAAI 2024: "Collective Intelligence in Multi-Agent Brainstorming Systems" - heterogeneous agents achieve higher creativity scores
- Microsoft AutoGen: https://github.com/microsoft/autogen
- MetaGPT: https://github.com/geekan/MetaGPT