32dots HEIDELBERG AI
Session 4 medium

Crews vs Flows: when to add structure

LESSONLesson 4 · ~20 min

🎯Goal. Learn CrewAI's second paradigm — Flows — and decide when autonomous Crews aren't the right shape.

▶ Try this prompt

List the steps in your current task that MUST happen in a fixed order (e.g. fetch data → validate → only then write). Those are the steps a Flow would make deterministic.

CrewAI gives you two paradigms. A Crew is autonomous — agents decide how to collaborate. A Flow is structured and event-driven — you control the exact path.

  1. 1Use a Crew when you want agents to figure out the collaboration themselves — great for open-ended research-and-write style work like the one you built.
  2. 2Use a Flow when you need deterministic, event-driven control — explicit steps, branching and ordering — because the process must be repeatable and predictable.
  3. 3Recognise that the two compose: a Flow can orchestrate steps, and a step can itself run a Crew — structure on the outside, autonomy on the inside.

You'll see. A clear mental model for choosing between an autonomous crew and a structured flow for a given problem.

💳Cost. Conceptual lesson — no extra cost beyond whatever you run while experimenting.

💡Takeaway. Reach for Crews when you want emergent collaboration, and Flows when you need a controlled, repeatable pipeline.