Back to glossary

Term

CrewAI

CrewAI is an open-source framework for orchestrating multiple autonomous AI agents. It assigns agents roles, goals and tools and has them collaborate in teams ("crews") to solve complex tasks through coordinated, multi-step workflows.

CrewAI — explained in detail

CrewAI is an open-source Python framework for building multi-agent systems. Instead of having a single AI agent solve a task, CrewAI models a team of specialised agents whose structure resembles a real-world organisation. Each agent is given a role (such as researcher, worker or manager), a goal and a set of tools.

The framework has two central building blocks: “crews” group agents into a collaborative team with defined tasks that are processed sequentially, in parallel or conditionally. “Flows” add event-driven, fine-grained control for production scenarios in which individual LLM calls need to be orchestrated precisely.

CrewAI ships with numerous ready-made tools — for web search, web interaction, code execution or querying vector databases — and supports the Model Context Protocol (MCP) for connecting external tools. An integrated memory system lets agents retain information across multiple steps. For enterprise use, additional features provide traceability and observability of every agent and LLM call.

Example / Practical use

One use case is the automated creation of a market report: a researcher agent gathers current data from the web, an analyst agent evaluates it, and a writer agent produces a structured text from it. CrewAI coordinates the order, passes intermediate results between the agents and ensures that each step builds on the output of the previous one — much like the division of labour in a human team.

CrewAI belongs to the family of agent frameworks alongside LangChain and LangGraph. While LangChain primarily provides a broad toolchain for connecting LLMs to data and tools, and LangGraph models workflows as state graphs, CrewAI focuses on role-based collaboration among multiple agents. It is therefore tailored to scenarios in which several specialised agents cooperate with a division of labour, and it can be combined with approaches such as Agentic RAG.

Entdecke mehr