AI / CrewAI Interview Questions
What is the difference between the Sequential and Hierarchical processes?
| Sequential | Hierarchical |
| Runs tasks strictly in the order defined | A manager agent dynamically assigns and coordinates tasks |
| Every task typically names its agent upfront | Tasks can be assigned based on role and availability at runtime |
| No built-in validation step between tasks | Manager validates results as part of coordinating the crew |
| Simpler and more predictable execution path | More flexible, at the cost of added coordination overhead |
Sequential suits pipelines where the division of labor is already known, while Hierarchical suits situations that benefit from a coordinating layer actively deciding who does what and checking the results along the way.
More Related questions...