CrewAI 是用于创建 AI agent 团队(称为 crew)的开源 Python framework。每个 agent 分配 name、role 与 tool set,系统管理它们之间的 planning、communication 与 execution。使用时安装 package、在代码中定义 agent、用 Crew object 连接并分配 mission prompt。CrewAI 与 GPT-4 或 Claude 等 LLM 交互,传递 message、运行 tool 并返回最终 output。还可添加 web search、custom function 或 memory store,内置 log 帮助 debug 与优化 workflow。