Skip to content
ML2
Multi-Step Agent SetupsTool#Open sourceframeworkmulti-agentPython

CrewAI

Added Updated

Published Last verified Released

Our verdict

Quick to get a role-based team of agents running (researcher, writer, reviewer), and Flows add the deterministic steps and state that production pipelines need. It's MIT-licensed, standalone and works with local models. The catch: several agents cost more tokens and are harder to debug than one, so start with a single agent or a plain Flow and add a crew only when the roles really differ.

Who it's for
Python builders prototyping multi-agent pipelines
Leverage
Role-based teams of agents quickly
Effort
Medium
Date added

What CrewAI does

CrewAI is a standalone, MIT-licensed Python framework with two building blocks. Crews are teams of agents, each with a role, goal, backstory and tools, that work through tasks together; a crew runs either sequentially, passing each task's output to the next, or hierarchically, with a manager model delegating and checking work. Flows are event-driven workflows in plain Python: decorators such as @start and @listen chain steps, and a shared state object carries data between them. A Flow can call single LLM steps or whole crews. A CLI scaffolds projects with crewai create crew and runs them with crewai run.

How builders use CrewAI

  • Scaffold with crewai create crew, define agents in agents/*.jsonc and tasks in crew.jsonc, then run crewai run.
  • Start with a sequential process; use the task context parameter to choose which earlier outputs a task sees.
  • Wrap a crew in a Flow when you need fixed steps around it: fetch inputs, run the crew, validate, then save.
  • Point agents at a local model through Ollama or LM Studio for cheap experiments.
  • Install the official CrewAI skills in your coding agent so it scaffolds crews and flows the current way.

Crews or Flows?

From CrewAI's README and docs, checked 16 Nov 2026.

CrewsFlows
Best forOpen-ended work where agents decide how to collaborateFixed steps, branching and business logic you want to control
How it runsSequential or hierarchical process over a task listEvent-driven methods chained with @start and @listen
StateTask outputs passed as contextA shared state object with a unique ID per run
Combine?Can run inside a Flow stepCan call crews, single LLM calls or plain Python

Sequential vs hierarchical

  • Sequential runs tasks in list order, and each task's output becomes context for the next. It's the easiest to follow and debug.
  • Hierarchical adds a manager that plans, delegates and validates. It needs a manager_llm or a custom manager_agent set on the crew.
  • The default model connection is the OpenAI API; other providers and local models are configured per agent.

CrewAI: limits and gotchas

  • More agents means more model calls, so a crew usually costs more and runs slower than one well-prompted agent doing the same job.
  • Hierarchical runs add a manager model on top, which is harder to predict and trace than a fixed sequence.
  • Python only, and the current README asks for Python 3.10 to 3.13.
  • Anonymous telemetry is on by default. It excludes prompts and data unless you enable share_crew, and you turn it off with OTEL_SDK_DISABLED=true.
  • Managed deployment, tracing dashboards and governance are part of the paid CrewAI AMP suite, not the open-source framework.

CrewAI compared with other tools here

  • LangGraph: models the workflow as an explicit graph with checkpoints, for long-running agents where you want fine control over every state change.
  • OpenAI Agents SDK: a lighter loop with handoffs between agents, if one or two agents with tools are enough.
  • Mastra: a TypeScript framework for agents and workflows, if your stack is Node rather than Python.
  • Claude Agent SDK: the agent loop behind Claude Code, for agents that mainly work with files, code and shell commands.
  • Dify: a visual builder for A.I. workflows and apps, if you'd rather not write Python.

When to pick CrewAI

  • Pick CrewAI if you're in Python and your job splits naturally into distinct roles, such as researcher, writer and reviewer.
  • Pick LangGraph if you need explicit state, checkpoints and precise control over long-running agents.
  • Pick the OpenAI Agents SDK if a single agent with tools and the odd handoff will do.
  • Use a CrewAI Flow without a crew if most of your pipeline is fixed steps with one or two model calls.

How it compares

For durable, resumable workflows with human approval steps, look at LangGraph. If your team works in TypeScript, Mastra covers agents, workflows and memory in one framework. See how CrewAI compares with other agent SDKs, with languages, licences, MCP support, tracing and hosting side by side.

CrewAI questions

Is CrewAI free?

Yes. The framework is open source under the MIT license. You pay your model provider, and the CrewAI AMP suite (managed deployment and observability) is a separate commercial product with a free control plane tier.

Does CrewAI depend on LangChain?

No. The project describes itself as a standalone Python framework with its own primitives for agents, tasks, crews, flows and tools.

Can CrewAI use local models?

Yes. The README lists Ollama and LM Studio among supported ways to connect local models.

What's the difference between Crews and Flows?

Crews let agents collaborate and decide how to complete tasks. Flows give you event-driven, step-by-step control with shared state, and can run crews inside them.

Related discoveries

See the newest picks →
  • ToolMulti-Step Agent Setups

    LangGraph

    Low-level framework for stateful, controllable agent workflows.

    Effort: High#Open source

  • ToolMulti-Step Agent Setups

    OpenAI Agents SDK

    A lightweight framework for multi-agent workflows with handoffs and guardrails.

    Effort: Medium#Open source

Get the best new A.I. picks in your inbox

The best new agent workflows and tools we’ve vetted, with a clear verdict on each. Short, occasional, useful.

More in Multi-Step Agent Setups →

Free. No spam. Unsubscribe anytime.