Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tac
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
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.
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.
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.
CrewAI AMP is designed for enterprises seeking a powerful, reliable solution to transform complex business processes into efficient, intelligent automations.
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-pluginsFour 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):
npx skills add crewaiinc/skillsThis 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.
CrewAI unlocks the true potential of multi-agent automation, delivering speed, flexibility, and control through Crews of AI agents and event-driven Flows:
CrewAI empowers developers and teams to build intelligent automations that balance simplicity, flexibility, and production-grade control.
Setup and run your first CrewAI agents by following this tutorial.
Learn CrewAI through our comprehensive courses:
CrewAI offers two powerful, complementary approaches that work seamlessly together to build sophisticated AI applications:
Crews: Teams of AI agents with true autonomy and agency, working together to accomplish complex tasks through role-based collaboration. Crews enable:
Flows: Production-ready, event-driven workflows that deliver precise control over complex automations. Flows provide:
The true power of CrewAI emerges when combining Crews and Flows. This synergy allows you to:
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 --versionCrewAI 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 | shIf your system doesn't have curl, you can use wget:
wget -qO- https://astral.sh/uv/install.sh | shWindows:
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 crewaiIf you encounter a PATH warning, run:
uv tool update-shellIf 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 listYou should see something like:
crewai v0.102.0
- crewaiTo upgrade the global CLI later:
uv tool install crewai --upgradeThis upgrades the global crewai CLI tool only. To upgrade the crewai version inside a project's virtual environment, see Upgrading CrewAI in a project.
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> --classicSee 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_developmentThen 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.",
"[BUG] `StaticToolFilter(allowed_tool_names=[])` allows all MCP tools instead of blocking all
[BUG] Native OpenAI rejects GPT-6 Astra file inputs before the API call
[BUG] Shared serializer turns Enum values into repr strings
Add optional ScreenContextAgent context tool
Make the "you MUST return the actual complete content" task template line configurable
[FEATURE] Pooled x402 settlement for CoinbaseAgenticWalletTool via Concord channels
fix(project): JSONC block-comment stripping can concatenate separate value tokens
[FEATURE] Document Tsubasa through the native custom OpenAI route
[FEATURE] Add SearchApi.io as a search provider tool
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