经 AI Skill Hub 精选评估,CrewAI 多代理协作平台 获评「强烈推荐」。在 GitHub 上收获超过 51.4k 颗 Star,这款AI工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.5 分,适合有一定技术背景的用户使用。
CrewAI 多代理协作平台 是一款基于 Python 开发的开源工具,专注于 多智能体、AI编排、工作流自动化 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
CrewAI 多代理协作平台 是一款基于 Python 开发的开源工具,专注于 多智能体、AI编排、工作流自动化 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 方式一:pip 安装(推荐)
pip install crewai
# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install crewai
# 方式三:从源码安装(获取最新功能)
git clone https://github.com/crewAIInc/crewAI
cd crewAI
pip install -e .
# 验证安装
python -c "import crewai; print('安装成功')"
# 命令行使用
crewai --help
# 基本用法
crewai input_file -o output_file
# Python 代码中调用
import crewai
# 示例
result = crewai.process("input")
print(result)
# crewai 配置文件示例(config.yml) app: name: "crewai" debug: false log_level: "INFO" # 运行时指定配置文件 crewai --config config.yml # 或通过环境变量配置 export CREWAI_API_KEY="your-key" export CREWAI_OUTPUT_DIR="./output"
<p align="center"> <a href="https://github.com/crewAIInc/crewAI"> <img src="docs/images/crewai_logo.png" width="600px" alt="Open source Multi-AI Agent orchestration framework"> </a> </p> <p align="center" style="display: flex; justify-content: center; gap: 20px; align-items: center;"> <a href="https://trendshift.io/repositories/11239" target="_blank"> <img src="https://trendshift.io/api/badge/repositories/11239" alt="crewAIInc%2FcrewAI | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/> </a> </p>
<p align="center"> <a href="https://crewai.com">Homepage</a> · <a href="https://docs.crewai.com">Docs</a> · <a href="https://app.crewai.com">Start Cloud Trial</a> · <a href="https://blog.crewai.com">Blog</a> · <a href="https://community.crewai.com">Forum</a> </p>
<p align="center"> <a href="https://github.com/crewAIInc/crewAI"> <img src="https://img.shields.io/github/stars/crewAIInc/crewAI" alt="GitHub Repo stars"> </a> <a href="https://github.com/crewAIInc/crewAI/network/members"> <img src="https://img.shields.io/github/forks/crewAIInc/crewAI" alt="GitHub forks"> </a> <a href="https://github.com/crewAIInc/crewAI/issues"> <img src="https://img.shields.io/github/issues/crewAIInc/crewAI" alt="GitHub issues"> </a> <a href="https://github.com/crewAIInc/crewAI/pulls"> <img src="https://img.shields.io/github/issues-pr/crewAIInc/crewAI" alt="GitHub pull requests"> </a> <a href="https://opensource.org/licenses/MIT"> <img src="https://img.shields.io/badge/License-MIT-green.svg" alt="License: MIT"> </a> </p>
<p align="center"> <a href="https://pypi.org/project/crewai/"> <img src="https://img.shields.io/pypi/v/crewai" alt="PyPI version"> </a> <a href="https://pypi.org/project/crewai/"> <img src="https://img.shields.io/pypi/dm/crewai" alt="PyPI downloads"> </a> <a href="https://twitter.com/crewAIInc"> <img src="https://img.shields.io/twitter/follow/crewAIInc?style=social" alt="Twitter Follow"> </a> </p>
Check out code for this example or watch a video below:
CrewAI AMP is designed for enterprises seeking a powerful, reliable solution to transform complex business processes into efficient, intelligent automations.
CrewAI stands apart as a lean, standalone, high-performance multi-AI Agent framework delivering simplicity, flexibility, and precise control—free from the complexity and limitations found in other agent frameworks.
Choose CrewAI to easily build powerful, adaptable, and production-ready AI automations.
A: CrewAI AMP provides advanced features such as a unified control plane, real-time observability, secure integrations, advanced security, actionable insights, and dedicated 24/7 enterprise support.
uv lock
uv sync
Using an AI coding agent? Teach it CrewAI best practices in one command:
Claude Code:
/plugin marketplace add crewAIInc/skills
/plugin install crewai-skills@crewai-plugins
/reload-plugins Four skills that activate automatically when you ask relevant CrewAI questions:
| Skill | When it runs |
|---|---|
getting-started | Scaffolding new projects, choosing between LLM.call() / Agent / Crew / Flow, wiring crew.py / main.py |
design-agent | Configuring agents — role, goal, backstory, tools, LLMs, memory, guardrails |
design-task | Writing task descriptions, dependencies, structured output (output_pydantic, output_json), human review |
ask-docs | Querying the live [CrewAI docs MCP server](https://docs.crewai.com/mcp) for up-to-date API details |
Cursor, Codex, Windsurf, and others (skills.sh):
npx skills add crewaiinc/skills
This installs the official CrewAI Skills — structured instructions that teach coding agents how to scaffold Flows, configure Crews, design agents and tasks, and follow CrewAI patterns.
Setup and run your first CrewAI agents by following this tutorial.
###
Learning Resources
Learn CrewAI through our comprehensive courses:
To get started with CrewAI, follow these simple steps:
Ensure you have Python >=3.10 <3.14 installed on your system. CrewAI uses UV for dependency management and package handling, offering a seamless setup and execution experience.
First, install CrewAI:
uv pip install crewai
If you want to install the 'crewai' package along with its optional features that include additional tools for agents, you can do so by using the following command:
uv pip install 'crewai[tools]'
The command above installs the basic package and also adds extra components which require more dependencies to function.
uv pip install dist/*.tar.gz
A: Install CrewAI using pip:
uv pip install crewai
For additional tools, use:
uv pip install 'crewai[tools]'
A: Yes, CrewAI AMP supports both cloud-based and on-premise deployment options, allowing enterprises to meet their specific security and compliance requirements.
You can test different real life examples of AI crews in the CrewAI-examples repo:
A: Yes. CrewAI excels at both simple and highly complex real-world scenarios, offering deep customization options at both high and low levels, from internal prompts to sophisticated workflow orchestration.
A: Check out practical examples in the CrewAI-examples repository, covering use cases like trip planners, stock analysis, and job postings.
To create a new CrewAI project, run the following CLI (Command Line Interface) command:
crewai create crew <project_name>
This command creates a new project folder with the following structure:
my_project/
├── .gitignore
├── pyproject.toml
├── README.md
├── .env
└── src/
└── my_project/
├── __init__.py
├── main.py
├── crew.py
├── tools/
│ ├── custom_tool.py
│ └── __init__.py
└── config/
├── agents.yaml
└── tasks.yaml
You can now start developing your crew by editing the files in the src/my_project folder. The main.py file is the entry point of the project, the crew.py file is where you define your crew, the agents.yaml file is where you define your agents, and the tasks.yaml file is where you define your tasks.
src/my_project/config/agents.yaml to define your agents.src/my_project/config/tasks.yaml to define your tasks.src/my_project/crew.py to add your own logic, tools, and specific arguments.src/my_project/main.py to add custom inputs for your agents and tasks..env file.Instantiate your crew:
crewai create crew latest-ai-development
Modify the files as needed to fit your use case:
agents.yaml
```yaml
researcher: role: > {topic} Senior Data Researcher goal: > Uncover cutting-edge developments in {topic} backstory: > You're a seasoned researcher with a knack for uncovering the latest developments in {topic}. Known for your ability to find the most relevant information and present it in a clear and concise manner.
reporting_analyst: role: > {topic} Reporting Analyst goal: > Create detailed reports based on {topic} data analysis and research findings backstory: > You're a meticulous analyst with a keen eye for detail. You're known for your ability to turn complex data into clear and concise reports, making it easy for others to understand and act on the information you provide.
**tasks.yaml**
`yaml
research_task: description: > Conduct a thorough research about {topic} Make sure you find any interesting and relevant information given the current year is 2025. expected_output: > A list with 10 bullet points of the most relevant information about {topic} agent: researcher
reporting_task: description: > Review the context you got and expand each topic into a full section for a report. Make sure the report is detailed and contains any and all relevant information. expected_output: > A fully fledge reports with the mains topics, each with a full section of information. Formatted as markdown without '
'
agent: reporting_analyst
output_file: report.md`
crew.py
```python
uv venv
A: Yes, CrewAI is explicitly designed with production-grade standards, ensuring reliability, stability, and scalability for enterprise deployments.
A: Absolutely! CrewAI agents can easily integrate with external tools, APIs, and databases, empowering them to leverage real-world data and resources.
A: Yes, CrewAI fully supports human-in-the-loop workflows, allowing seamless collaboration between human experts and AI agents for enhanced decision-making.
CrewAI's Advantage: CrewAI combines autonomous agent intelligence with precise workflow control through its unique Crews and Flows architecture. The framework excels at both high-level orchestration and low-level customization, enabling complex, production-grade systems with granular control.
_P.S. CrewAI demonstrates significant performance advantages over LangGraph, executing 5.76x faster in certain cases like this QA task example (see comparison) while achieving higher evaluation scores with faster completion times in certain coding tasks, like in this example (detailed analysis).
If you encounter issues during installation or usage, here are some common solutions:
uv pip install 'crewai[embeddings]'uv pip install 'crewai[tools]'uv pip install --upgrade pipuv pip install tiktoken --prefer-binary项目简介:crewAI是一款开源的多AI代理框架,提供了一个统一的控制平面来管理、监控和扩展AI代理和工作流。
功能特点:crewAI提供了多项功能,包括追踪和可观察性、统一控制平面、平滑的集成和高级安全性等。
环境依赖与系统要求:crewAI需要安装依赖项,包括uv和pip等。
安装步骤说明:crewAI可以通过多种方式安装,包括使用Docker、pip和源码等。
使用教程:crewAI提供了多个示例和教程来帮助用户快速上手。
配置说明:crewAI使用MCP和环境变量来配置项目,用户可以通过配置文件来定制项目的行为。
API/接口说明:crewAI提供了多个API接口来支持用户的需求,包括与外部工具和API的集成等。
工作流/模块说明:crewAI支持多种工作流和模块,包括人机交互和自动化等。
FAQ:crewAI提供了多个常见问题和解决方案来帮助用户解决问题。
CrewAI是多智能体编排领域的优秀开源方案,架构成熟、社区活跃、应用前景广阔,51k星证明其价值认可度高。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
AI Skill Hub 点评:CrewAI 多代理协作平台 的核心功能完整,质量优秀。对于AI爱好者来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | crewAI |
| 原始描述 | 开源AI工作流:Framework for orchestrating role-playing, autonomous AI agents. By fostering col。⭐51.4k · Python |
| Topics | 多智能体AI编排工作流自动化角色扮演开源框架 |
| GitHub | https://github.com/crewAIInc/crewAI |
| License | MIT |
| 语言 | Python |
收录时间:2026-05-14 · 更新时间:2026-05-26 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。