经 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://crewai.com/open-source">Open Source</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 gives developers a practical foundation for building agentic systems that move from prototype to production: autonomous collaboration where it helps, explicit workflow control where it matters, and Python-native customization throughout.
Choose CrewAI to 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.
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.jsonc / 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.
To get started with CrewAI, follow these simple steps. The full walkthrough lives in the installation guide.
CrewAI requires Python >=3.10 and <3.14. Check your version with:
python3 --version
CrewAI uses UV for dependency management and package handling. If you haven't installed uv yet, install it first.
macOS/Linux:
curl -LsSf https://astral.sh/uv/install.sh | sh
If your system doesn't have curl, you can use wget:
wget -qO- https://astral.sh/uv/install.sh | sh
Windows:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
If you run into any issues, refer to UV's installation guide.
Then install the CrewAI CLI:
uv tool install crewai
If you encounter a PATH warning, run:
uv tool update-shell
If you encounter the chroma-hnswlib==0.7.6 build error (fatal error C1083: Cannot open include file: 'float.h') on Windows, install Visual Studio Build Tools with Desktop development with C++.
Verify the install:
uv tool list
You should see something like:
crewai v0.102.0
- crewai
To upgrade the global CLI later:
uv tool install crewai --upgrade
This upgrades the global crewai CLI tool only. To upgrade the crewai version inside a project's virtual environment, see Upgrading CrewAI in a project.
A: Install the CrewAI CLI with UV:
uv tool install crewai
Then create a project with crewai create crew <project_name>, run crewai install, and start it with crewai run. See the installation guide for details.
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.
crewai create crew creates a JSON-first crew project. Agents live in agents/*.jsonc, tasks and crew-level settings live in crew.jsonc, and crewai run loads that JSON definition directly.
crewai create crew <project_name>
This command creates a new project folder with the following structure:
my_project/
├── .gitignore
├── .env
├── agents/
│ └── researcher.jsonc
├── crew.jsonc
├── knowledge/
├── pyproject.toml
├── README.md
├── skills/
└── tools/
If you need the older Python/YAML scaffold with crew.py, config/agents.yaml, and config/tasks.yaml, run:
crewai create crew <project_name> --classic
See Using Annotations for the classic pattern.
agents/*.jsonc to define each agent's role, goal, backstory, LLM, tools, and behavior.crew.jsonc to define tasks, process, and input defaults.tools/ and reference them as "custom:<name>".knowledge/ and skill files in skills/..env file.Use {placeholder} values in agent and task text, then set defaults in crew.jsonc under inputs. When you run crewai run, the CLI prompts for any missing values.
crewai create crew latest-ai-development
cd latest_ai_development
Then edit the generated files:
agents/researcher.jsonc
{
"role": "{topic} Senior Data Researcher",
"goal": "Uncover cutting-edge developments in {topic}",
"backstory": "You're a seasoned researcher who finds relevant information and presents it clearly.",
"llm": "openai/gpt-4o",
"tools": ["SerperDevTool"],
"settings": {
"verbose": true
}
}
agents/reporting_analyst.jsonc
{
"role": "{topic} Reporting Analyst",
"goal": "Create detailed reports based on {topic} data analysis and research findings",
"backstory": "You're a meticulous analyst who turns complex data into clear, concise reports.",
"llm": "openai/gpt-4o",
"settings": {
"verbose": true
}
}
crew.jsonc
{
"name": "Latest AI Development",
"agents": ["researcher", "reporting_analyst"],
"tasks": [
{
"name": "research_task",
"description": "Conduct thorough research about {topic}. Find recent, relevant information.",
"expected_output": "A list with 10 bullet points of the most relevant information about {topic}.",
"agent": "researcher"
},
{
"name": "reporting_task",
"description": "Review the research and expand each topic into a full section for a report.",
"expected_output": "A markdown report with the main topics, each with a full section of information. No fenced code blocks around the whole document.",
"agent": "reporting_analyst",
"context": ["research_task"],
"output_file": "output/report.md",
"markdown": true
}
],
"process": "sequential",
"verbose": true,
"inputs": {
"topic": "AI Agents"
}
}
A: Yes, CrewAI is designed with production-grade patterns that support reliable, stable, and scalable agentic workflows.
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是一款开源的多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-30 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。