liveBook · Manning

Parallel flow

Also called parallel pattern

A parallel flow is a workflow pattern in which multiple branches or activities execute concurrently rather than in sequence.

How 2 Manning books explain it

AI Agents in Action, Second Edition

A parallel flow is a multi-agent pattern in which independent agents execute subtasks concurrently and a downstream step combines their outputs.

How it is used
Coordinates independent agent tasks concurrently to improve performance when they can run in parallel.
How deep it goes
Defines the execution pattern and compares coordination strategies, without detailing a parallel-flow implementation.
Examples
Illustrates a flow with two middle agents executing simultaneously.
What you can do after
Evaluate when parallel delegation fits and when a simpler flow or centralized orchestration is appropriate.

Read how AI Agents in Action, Second Edition explains parallel flow →

Build an AI Agent (From Scratch)

A parallel workflow runs multiple constituent agents or steps concurrently and combines their results.

How it is used
Runs independent analyses concurrently when combining diverse perspectives is more useful than sequential processing.
How deep it goes
Explains asynchronous execution, context boundaries, duplicate-event removal, result merging, and workflow composition.
Examples
Uses optimistic, pessimistic, and realistic startup analysis plus security, performance, readability, and multi-subtopic research scenarios.
What you can do after
Build it from scratch as an asynchronous Agent-compatible workflow that runs agents concurrently and merges their results.

Read how Build an AI Agent (From Scratch) explains parallel flow →

Also covered in

What to know first

Related concepts

Questions about parallel flow

What is parallel flow?

A parallel flow is a workflow pattern in which multiple branches or activities execute concurrently rather than in sequence.

Which Manning books explain parallel flow?

AI Agents in Action, Second Edition and Build an AI Agent (From Scratch).

What should I know before learning parallel flow?

Manning books that teach parallel flow usually introduce agent orchestration and pipeline first.

What is the difference between parallel flow and sequential workflow?

A parallel flow is a workflow pattern in which multiple branches or activities execute concurrently rather than in sequence. A workflow in which steps proceed in a defined order, one after another.

What is parallel flow a kind of?

Parallel flow is a kind of AI agent. An AI agent is a computational system that uses artificial intelligence to interpret information and select or perform actions toward goals while interacting with an environment.

What is parallel flow also called?

Parallel flow is also called parallel pattern.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.