RAG & Agents Engineering

M24 lab, agentic workflow patterns

A fan-out takes as long as its slowest branch.

The step durations below are the ones the lesson 24.3 notebooks printed. The lab schedules them the way a thread pool runs parallel branches: each branch starts as soon as a slot is free, in the order it was written, and the merge step waits for the last one. Move the cap and watch the wall time.

Workload
Order the branches are submitted in
Wall time
Every step one after another
Time saved
Merge step starts at

Timeline at this cap

Seconds, scaled to the one-after-another total

BranchBranch the merge waits forStep before or after the fan-outFan-in

Against the notebook

SettingNotebook printedLab computes