Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

crewAI

> AI 编程
Open source

Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tac

56.5K stars0 likes5 views
WebsiteGitHub

About

Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tac

Homepage · Open Source · Docs · Start Cloud Trial · Blog · Forum

Fast and Flexible Multi-Agent Automation Framework

CrewAI is an open-source Python framework with high-level abstractions and low-level APIs for building production-ready multi-agent workflows. It gives developers autonomous agent collaboration through Crews and precise, event-driven control through Flows.

  • CrewAI Crews: Optimize for autonomy and collaborative intelligence with role-based AI agents.
  • CrewAI Flows: Build event-driven automations that combine precise workflow control, single LLM calls, and native support for Crews.

With over 100,000 developers certified through our community courses at learn.crewai.com, CrewAI is rapidly becoming the standard for production-ready agentic automation.

CrewAI AMP Suite

For organizations that need a commercial control plane around CrewAI, CrewAI AMP Suite adds managed deployment, observability, governance, security, and enterprise support.

You can try one part of the suite, the Crew Control Plane, for free.

Crew Control Plane Key Features:

  • Tracing & Observability: Monitor and track your AI agents and workflows in real-time, including metrics, logs, and traces.
  • Unified Control Plane: A centralized platform for managing, monitoring, and scaling your AI agents and workflows.
  • Seamless Integrations: Easily connect with existing enterprise systems, data sources, and cloud infrastructure.
  • Advanced Security: Built-in robust security and compliance measures ensuring safe deployment and management.
  • Actionable Insights: Real-time analytics and reporting to optimize performance and decision-making.
  • 24/7 Support: Dedicated enterprise support to ensure uninterrupted operation and quick resolution of issues.
  • On-premise and Cloud Deployment Options: Deploy CrewAI AMP on-premise or in the cloud, depending on your security and compliance requirements.

CrewAI AMP is designed for enterprises seeking a powerful, reliable solution to transform complex business processes into efficient, intelligent automations.

Table of contents

  • Build with AI
  • Why CrewAI?
  • Getting Started
    • Learning Resources
    • Understanding Flows and Crews
    • Installation
    • Setting Up Your Crew
    • Running Your Crew
  • Key Features
  • Examples
    • Quick Tutorial
    • Write Job Descriptions
    • Trip Planner
    • Stock Analysis
    • Using Crews and Flows Together
  • Connecting Your Crew to a Model
  • When to Use CrewAI
  • Contribution
  • Telemetry
  • License
  • Frequently Asked Questions (FAQ)

Build with AI

Using an AI coding agent? Teach it CrewAI best practices in one command:

Claude Code:

bash
/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 for up-to-date API details

Cursor, Codex, Windsurf, and others (skills.sh):

bash
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.

Why CrewAI?

CrewAI unlocks the true potential of multi-agent automation, delivering speed, flexibility, and control through Crews of AI agents and event-driven Flows:

  • Purpose-built architecture: Designed specifically for agent orchestration, with a lightweight Python core and clean primitives for real-world automation.
  • High Performance: Optimized for speed and minimal resource usage, enabling faster execution.
  • Flexible Low-Level Customization: Complete freedom to customize everything from workflows and system architecture to agent behaviors, internal prompts, and execution logic.
  • Ideal for Every Use Case: Proven effective for simple tasks, complex workflows, and production-grade automation.
  • Robust Community: Backed by a rapidly growing community of over 100,000 certified developers offering comprehensive support and resources.

CrewAI empowers developers and teams to build intelligent automations that balance simplicity, flexibility, and production-grade control.

Getting Started

Setup and run your first CrewAI agents by following this tutorial.

Learning Resources

Learn CrewAI through our comprehensive courses:

  • Multi AI Agent Systems with CrewAI - Master the fundamentals of multi-agent systems
  • Practical Multi AI Agents and Advanced Use Cases - Deep dive into advanced implementations

Understanding Flows and Crews

CrewAI offers two powerful, complementary approaches that work seamlessly together to build sophisticated AI applications:

  1. Crews: Teams of AI agents with true autonomy and agency, working together to accomplish complex tasks through role-based collaboration. Crews enable:

    • Natural, autonomous decision-making between agents
    • Dynamic task delegation and collaboration
    • Specialized roles with defined goals and expertise
    • Flexible problem-solving approaches
  2. Flows: Production-ready, event-driven workflows that deliver precise control over complex automations. Flows provide:

    • Fine-grained control over execution paths for real-world scenarios
    • Secure, consistent state management between tasks
    • Clean integration of AI agents with production Python code
    • Conditional branching for complex business logic

The true power of CrewAI emerges when combining Crews and Flows. This synergy allows you to:

  • Build complex, production-grade applications
  • Balance autonomy with precise control
  • Handle sophisticated real-world scenarios
  • Maintain clean, maintainable code structure

Getting Started with Installation

To get started with CrewAI, follow these simple steps. The full walkthrough lives in the installation guide.

1. Installation

CrewAI requires Python >=3.10 and <3.14. Check your version with:

bash
python3 --version

CrewAI uses UV for dependency management and package handling. If you haven't installed uv yet, install it first.

macOS/Linux:

bash
curl -LsSf https://astral.sh/uv/install.sh | sh

If your system doesn't have curl, you can use wget:

bash
wget -qO- https://astral.sh/uv/install.sh | sh

Windows:

bash
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:

bash
uv tool install crewai

If you encounter a PATH warning, run:

bash
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:

bash
uv tool list

You should see something like:

bash
crewai v0.102.0
- crewai

To upgrade the global CLI later:

bash
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.

2. Setting Up Your Crew

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.

bash
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:

bash
crewai create crew <project_name> --classic

See Using Annotations for the classic pattern.

To customize your project, you can:

  • Modify agents/*.jsonc to define each agent's role, goal, backstory, LLM, tools, and behavior.
  • Modify crew.jsonc to define tasks, process, and input defaults.
  • Add custom tools in tools/ and reference them as "custom:<name>".
  • Add optional knowledge files in knowledge/ and skill files in skills/.
  • Add your environment variables into the .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.

Example of a simple crew with a sequential process:

bash
crewai create crew latest-ai-development
cd latest_ai_development

Then edit the generated files:

agents/researcher.jsonc

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

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.",
  "

Issues· 498 open

View all issuesOpen on GitHub
  • #7778

    [BUG] `StaticToolFilter(allowed_tool_names=[])` allows all MCP tools instead of blocking all

    Updated Sep 29, 2026
  • #7791

    [BUG] Native OpenAI rejects GPT-6 Astra file inputs before the API call

    Updated Sep 29, 2026
  • #7652

    [BUG] Shared serializer turns Enum values into repr strings

    Updated Sep 29, 2026
  • #7788

    Add optional ScreenContextAgent context tool

    Updated Sep 29, 2026
  • #7766

    Make the "you MUST return the actual complete content" task template line configurable

    feature-requestUpdated Sep 28, 2026
  • #7799

    [FEATURE] Pooled x402 settlement for CoinbaseAgenticWalletTool via Concord channels

    feature-requestUpdated Sep 28, 2026
  • #7797

    fix(project): JSONC block-comment stripping can concatenate separate value tokens

    Updated Sep 28, 2026
  • #7794

    [FEATURE] Document Tsubasa through the native custom OpenAI route

    Updated Sep 28, 2026
  • #7792

    [FEATURE] Add SearchApi.io as a search provider tool

    feature-requestUpdated Sep 27, 2026
  • #7739

    ExperimentRunner._assert_scores only checks the intersection of expected/actual dict keys, so a multi-metric expected_score passes even when other metrics silently produced no score

    Updated Sep 27, 2026

> Tags

Pythonagentsaiai-agentsaiagentframework

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 29, 2026
CategoryAI 编程
PricingOpen source

> Related tools

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.