When does CrewAI hierarchical Process beat sequential?
Hierarchical wins when task routing must depend on intermediate results an LLM evaluates. Sequential is the right default whenever the order is known at design time.
Picture a kitchen. Sequential is a fixed recipe. Chop, sauté, plate, in that order, every time. Hierarchical hires a head chef who watches what is going on, decides who chops next, sends a sous chef back to re-sear something, and only declares the dish done when the plate looks right. The fixed recipe is faster and cheaper when the dish never changes. The head chef earns their salary when the order of moves depends on what is happening on the stove. Most weeknight cooking is recipes. Catering complicated menus is when you want a chef.
Detailed answer & concept explanation~5 min readEverything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
4 minutes: contrast the two Processes, name the routing at run time win, debunk the three distractor framings (parallelism, headcount, streaming), and connect Hierarchical to its cost model and the LangGraph alternative.
| Aspect | Sequential | Hierarchical |
|---|---|---|
| Routing decision | Author writes it at design time | Manager LLM decides at run time |
| Cost per step | Worker LLM call only | Worker LLM call plus manager dispatch call |
| Determinism | High. Same DAG every run | Low. Manager output varies |
| Best fit | Known pipelines, ETL, report generation | Exploratory research, iterative refinement, dynamic delegation |
| Failure mode | Wrong task order in code | Manager loops or routes to wrong agent |
Real products, models, and research that use this idea.
- CrewAI's official examples use Sequential for research to report flows where the DAG is fixed
- Hierarchical shows up in CrewAI's exploratory-research templates where downstream tasks depend on what the researcher found
- Production teams running Claude Opus 4.7 or GPT-5.5 as the manager_llm note materially better routing than smaller models
- Many teams initially adopting Hierarchical migrate to LangGraph supervisor patterns when they need durable state and human in the loop
What an interviewer would ask next. Try answering before peeking at the approach.
QHow does Hierarchical Process handle termination, and what happens if you forget to bound it?
QWhy might a Hierarchical Crew with GPT-5.5 as manager_llm dramatically outperform the same Crew with a 7B local model as manager_llm?
Don't say thisRed flags and common mistakes that signal junior thinking. Click to expand.
Red flags and common mistakes that signal junior thinking. Click to expand.
Reaching for Hierarchical because it 'sounds smarter' when the task DAG is fully known at design time. You are paying for an extra LLM call per routing decision with no benefit.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.
Same topic, related formats. Practice these next.