Skip to content

CrewAI

CrewAI Inc.

一个用于编排角色扮演 AI agent 的框架,使多个 agent 能够协作完成复杂任务。

Official Site
01

概述

CrewAI 是由 Joao Moura 开发的开源框架,专注于多 Agent 协作。与单 Agent 系统不同,CrewAI 让多个 AI Agent 扮演不同角色,如研究员、作者、审查者等,协作完成复杂任务。每个 Agent 有独特的角色、目标、背景故事和工具集。CrewAI 支持顺序和并行两种执行模式,Agent 之间可以委派任务和共享信息。

bash
for(const x of arr){}
const dbl=arr.map(x=>x*2);
const sum=arr.reduce((a,b)=>a+b,0);
02

安装

CrewAI 通过 pip 安装,需要 Python 3.10+。安装后需要配置 LLM API key。CrewAI 支持多种 LLM 后端,包括 OpenAI、Anthropic 和本地模型。

Ready to try CrewAI?

Visit the official site for the latest version and full documentation.

Visit CrewAI