CrewAI
A framework for creating teams of multi-agents: you describe 'employees' with roles and goals, and they work together on a task.
Idea
Instead of one huge prompt, you create specialists who pass the result down a chain:
Researcher → Copywriter → Editor
Processes
- Sequential — pipeline: the result of the first agent goes to the input of the second;
- Hierarchical — an agent-manager decides who to delegate the task to.
Strengths of CrewAI
- autonomy: agents make decisions on their own;
- role isolation: each agent has a focused instruction;
- memory: the crew remembers the results of previous steps.
CrewAI vs LangGraph
| CrewAI | LangGraph | |
|---|---|---|
| Focus | Teams of roles | State graphs |
| Approach | Declarative | Programmatic |
| Human in the loop | Yes | Native |