Agentic AI · Advanced level

Advanced level · Module 3 of 10 · 15 guided hours

Sequential and Parallel Workflows

Composing agents in sequence and in parallel: handing off state, fan-out and fan-in, asynchronous execution, timeouts and partial failure, and controlling cost when work runs in parallel.

Learning objectives

  • Build sequential multi-agent pipelines with clean hand-offs
  • Run independent agent tasks in parallel and merge results
  • Handle timeouts and partial failures in parallel work

Topics

  • sequential hand-offs
  • fan-out and fan-in
  • asynchronous execution
  • merging and conflict resolution
  • timeouts and partial failure
  • cost control in parallel runs

Lessons

  1. Lesson 1 Sequential Pipelines and Hand-Offs

    Learners chain specialist agents (retrieval, analysis, drafting) with validated hand-offs and quality gates between them.

    hand-offvalidated contractquality gateearly terminationpipeline trace

  2. Lesson 2 Parallel Agents: Fan-Out and Fan-In

    Learners run independent agents at the same time (for example searching several document collections or analysing several datasets) and merge their results.

    fan-outfan-inasyncio.gathermerge functionconflicting evidence

  3. Lesson 3 Timeouts, Partial Failure and Cost Control

    Learners make parallel workflows robust: per-task timeouts, continuing with partial results when safe, reporting what is missing, and keeping total cost within budget.

    per-task timeoutpartial resultsgraceful degradationworkflow budgetconcurrency limit

Practical activity

Build the capstone's sequential and parallel stages with validated hand-offs, merging, timeouts, partial-failure rules and budgets.

Expected outcomes

  • Robust sequential and parallel agent workflows
  • Cost-controlled execution

Assessment

Workflow implementation with failure tests (70%) and trace review (30%).

Taught live by an instructor — online or in person. Free course lessons are for self-study and do not lead to a certificate — see registration options.