🧬CrewAI
Also known as Crew AI, CrewAI Framework, CrewAI Flows
A free Python kit. A crew of agents, each with a role, shares one job.
Think of it like
It is like a school project team. One child reads, one writes, and one draws.
Example
Lucy makes a crew of two. A researcher agent finds facts about e-bikes. Then a writer agent turns them into a blog post.
Why it matters
Splitting a big job between agents with clear roles is easy to read and to change. Each agent can be tested on its own part.
Definition
Example code
python
from crewai import Agent
researcher = Agent(
role="Senior Data Researcher",
goal="Uncover new developments in electric bikes",
backstory="You find the most relevant information and present it clearly.",
)Common mistake
Key takeaways
- 1Roles. Role, goal and backstory.
- 2Tasks and crews. Work handed out to agents.
- 3Flows. Steps and state around crews.