# CrewAI

> Canonical: https://skillalmanac.com/glossary/crewai | Last verified: 2026-11-24 | Index status: not offered to search engines

CrewAI is an open-source Python framework for orchestrating multiple autonomous AI agents. Developers define agents with roles and goals, give them tasks, and combine them into teams called crews.

Also called: crew ai, crewai agents, CrewAI framework, CrewAI Python.

## In plain language

CrewAI is a toolkit for programmers who want several AI agents to work together, a bit like a small team where each member has a job title. One agent might research a topic and another might write a summary from it. The developer describes each agent's role and goal, and the tasks to be done, and the framework passes work between them. It is code for developers, not an app you chat with. Using several agents means several model calls, which can raise cost and make errors harder to trace, and it does not make the answers correct by itself.

## Technical definition

CrewAI's documentation describes an open-source framework for orchestrating autonomous AI agents and building workflows, combining Crews with Flows. Crews are teams of autonomous agents that collaborate on tasks delegated by a Flow. Agents are specialised, with specific goals and tools. Flows define steps, logic and data flow, handling state and control flow such as branching and loops. According to IBM, CrewAI is Python-based, agents are given a role, a goal and a backstory, and each task needs a description, an assigned agent and an expected output.

## How it shows up when you use agents

You meet CrewAI in tutorials about [multi-agent systems](/glossary/multi-agent-system) and in Python projects that define agents, tasks and crews in code. If a coding agent edits such a project, it has to read how roles, goals and tasks are written, because those descriptions steer what each agent does. The documentation also describes Flows, which hold the overall steps and hand parts to a Crew.

What breaks when this is misunderstood: people add more agents hoping for better answers. Each extra agent is more model calls and more places for a mistake to enter, and vague roles produce vague work. Another failure is no stopping rule or review step, so a wrong early result is passed along as if it were fact.

Next action: start with one agent and one task, check its output by hand, and add a second agent only when you can say what it does that the first cannot. For the general idea see [AI agent framework](/glossary/ai-agent-framework) and [AI agent](/glossary/ai-agent).

## Common confusions

- **CrewAI versus an AI agent.** An agent is the behaviour. CrewAI is a framework for defining and coordinating several of them.
- **Crew versus Flow.** In CrewAI's docs, a Crew is a team of agents on delegated tasks, and a Flow defines the steps, state and control around it.
- **CrewAI versus a language model.** CrewAI calls models made by others. It is not a model.
- **Myth.** More agents means a better result. A crew is a design choice, and a single agent can be enough for a small task.

## Worked examples in this catalogue

### [How to Build an AI Agent: A Minimal Tool Loop](https://skillalmanac.com/learn/build-an-ai-agent)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A minimal agent in one Python file: a loop that sends tools to the model, runs each requested tool and stops at a hard cap on iterations.

Why it exercises the concept: Each agent in a crew rests on a loop like this one. Building one agent bare shows what the framework coordinates when it runs several.

### [subagent-design](https://skillalmanac.com/skills/skill-almanac/subagent-design)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: Decide what to delegate, then write subagent definitions and briefs that work without the conversation.

Why it exercises the concept: Splitting work among agents raises the same design question as a crew: what each one is given and asked to return. This skill is about coding-agent subagents, not CrewAI.

### [subagent-driven-development](https://skillalmanac.com/skills/obra/subagent-driven-development)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: Executes a plan by handing independent tasks to separate subagents.

Why it exercises the concept: A coding agent handing tasks to subagents is a close cousin of a crew dividing tasks among agents. CrewAI is a different mechanism that lives in application code.

## Related terms

- [Multi-agent system](https://skillalmanac.com/glossary/multi-agent-system.md)
- [AI agent framework](https://skillalmanac.com/glossary/ai-agent-framework.md)
- [AI agent](https://skillalmanac.com/glossary/ai-agent.md)
- [Subagent](https://skillalmanac.com/glossary/subagent.md)
- [Tool calling (function calling)](https://skillalmanac.com/glossary/tool-calling.md)
- [Agent loop](https://skillalmanac.com/glossary/agent-loop.md)

## Sources

- [CrewAI introduction](https://docs.crewai.com/en/introduction), CrewAI (accessed 2026-11-24)
- [What is crewAI?](https://www.ibm.com/think/topics/crew-ai), IBM (accessed 2026-11-24)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-24. [Glossary index](https://skillalmanac.com/glossary.md).
