Seven common frameworks can run agents in parallel, each through its own primitive. LangGraph fans out through edges and Send, CrewAI can run multiple crews concurrently, ADK has a ParallelAgent class, the OpenAI Agents SDK points to asyncio.gather, Microsoft Agent Framework has concurrent orchestration, Agno runs broadcast members concurrently in async runs, and Mastra has a .parallel() step. They differ most in how results merge.
How does LangGraph run nodes in parallel?
LangGraph fans out through edges. The destinations of multiple outgoing edges run together in the following super-step. A routing function on a conditional edge can return a list of names for fan-out, or Send objects for map-reduce.
Send handles the case where the branch count depends on data. The docs say to use it to run the same node once per item, each with its own input, when the number of items appears only at runtime. LangGraph runs those invocations in parallel, and in the map-reduce shape a later node reads the combined results.
Merging happens in shared state. When workers write to shared keys, reducers merge their updates, for example by concatenating lists. LangGraph's state documentation says most channels use last-write-wins, while channels with a reducer combine values instead. For each node, the docs say to use static edges or dynamic routing but not both, since mixing them can run both paths.
How do CrewAI and the OpenAI Agents SDK run agents in parallel?
Both rely on Python async. CrewAI can kick off a crew asynchronously without blocking. akickoff() is native async through the whole execution chain, while kickoff_async() wraps synchronous execution in asyncio.to_thread. The docs recommend akickoff() for high-concurrency workloads, and their example runs multiple crews with asyncio.gather().
Inside a crew, the task attribute async_execution defaults to False, so you opt in per task, and the context attribute names other tasks whose outputs a task uses. In the hierarchical process, a manager assigns the work. You must specify manager_llm or manager_agent to enable it, the manager allocates tasks based on capabilities, and agents finish their tasks with optional asynchronous execution. The same page says tasks still follow a logical order. LangGraph vs CrewAI compares the two in full.
The OpenAI Agents SDK guide lists running multiple agents in parallel with Python primitives like asyncio.gather as a pattern for speed when tasks do not depend on each other. That pattern belongs to orchestrating via code, which the guide describes as determining the flow of agents through your own code.
If one agent should own the merge, the agents-as-tools pattern has a manager agent call specialists through Agent.as_tool(). The guide recommends it when you want one agent to combine outputs from multiple specialists.
What does ADK's ParallelAgent do, and how do results merge?
ParallelAgent executes its sub-agents concurrently, and the docs say it can dramatically speed up workflows where tasks can run without depending on each other. Each sub-agent must operate without depending on the others. The ParallelAgent's own execution is not controlled by an AI model and is deterministic, while its sub-agents may or may not use AI models.
Each branch sees only its own events, with no automatic sharing of conversation history. Session state is shared, so a value one sub-agent writes through output_key is visible to the other branches and to later agents. The ParallelAgent merges the sub-agents' event streams as events are produced, gathers no result list, and gives a non-deterministic event order. To use a result, read it from session state under that sub-agent's output_key. The docs' example runs a SequentialAgent that executes the ParallelAgent first and a merger agent second.
The page marks the class deprecated. In ADK Python, TypeScript, Go, and Kotlin, template workflows have been superseded by structures that include graph-based and dynamic workflows. LangGraph vs Google ADK covers the graph side.
How does Microsoft Agent Framework run agents concurrently?
Concurrent orchestration gives one task to several agents. Each agent processes the input on its own, and the results are collected and aggregated. The Python example builds the workflow with ConcurrentBuilder and a participants list, and the .NET example uses AgentWorkflowBuilder.BuildConcurrent() over a collection of agents.
By default the orchestration aggregates all agent responses into a single AgentResponse with one assistant message per participant. A custom aggregator can replace that, and its callback can be synchronous or asynchronous. The docs call the pattern well suited to brainstorming, ensemble reasoning, or voting.
Plan for one process. The AutoGen migration guide says Agent Framework focuses on single-process composition today, with distributed execution planned.
How do Agno teams and workflows run members in parallel?
In broadcast mode, the Agno leader delegates the same task to all members. Synchronous runs execute members sequentially and asynchronous runs execute them concurrently, and the docs say you can use arun() for concurrent member execution. In the default coordinate mode, multiple async member calls can run at the same time.
Broadcast ends with leader synthesis after every member run, and Agno's latency notes say sync runs take members one at a time while async runs execute them concurrently before synthesis. When a run fails partway, the docs say to inspect TeamToolCallError and TeamRunError along with member events and responses rather than assume a partial result is complete.
For a fixed parallel group, Agno workflow steps can run in parallel as well as in sequence, loops or conditions, and a workflow's steps list accepts a Parallel container.
How does Mastra run workflow steps in parallel?
Mastra has two methods. .parallel() collects all branch outputs into an object and passes it on, and .foreach() collects all iteration outputs into an array. The docs map .parallel().then() to fan-out/fan-in and .foreach().then() to map-reduce.
Both methods are synchronization points, so the next step waits for every branch or iteration, and results cannot be streamed onward as they finish. .parallel() has no limit option for concurrency, while .foreach() takes { concurrency: N } and defaults to 1, which is sequential. Mastra vs LangGraph sets this beside graph fan-out.
Which framework should I use for parallel agents?
If all your agents live in one framework, use that framework's primitive and choose by how you want results merged.
- LangGraph fits merging through shared state, where reducers combine worker updates on shared keys.
- ADK fits reading results from session state, but check the deprecation, because template workflows are superseded in four of its languages.
- Microsoft Agent Framework fits a built-in merge, since results are automatically collected into the final result.
- Mastra fits workflow steps that run side by side, since .parallel() runs all branches simultaneously and .foreach() concurrency defaults to 1 until you raise it.
- Agno fits answers a leader synthesizes from every member, and its broadcast docs say you can use arun() for concurrent member execution.
- CrewAI and the OpenAI Agents SDK fit teams comfortable with asyncio, since CrewAI shows crews run through asyncio.gather() and the SDK guide names asyncio.gather for parallel agents.
When agents from more than one framework, or agents and people, have to work together, the problem shifts from fan-out inside one runtime to coordination across several. The guide on handoffs vs shared rooms covers that case.