← All questions
Agent Protocols & ToolsEasy· CrewAI

What is CrewAI, and how does it simplify building multi...

CrewAI builds multi-agent systems around role-playing: you define agents with a role, a goal, and a backstory, give each one specific tasks, and group them into a “crew” that works together. The framework handles the delegation and coordination between agents so you’re not writing that orchestration logic by hand.

A two-agent setup — a researcher with the goal of finding AI trends, and a writer with the goal of producing an engaging blog post — gets wired together with a couple of Task objects and one Crew; calling crew.kickoff() runs the researcher first, then hands its output to the writer.

The mental model that makes this click is treating it like assembling a small team: agents are employees with defined roles, tasks are their assignments, and the crew is the team structure holding it together — which is also exactly why it’s fast to prototype with, since defining a role and a goal is a lot less work than hand-coding how two agents should pass information to each other.

Code playground (Python)