crewAI

crewAI combines a Python framework for role-based agent teams and stateful Flows with a hosted platform for building and operating enterprise agents

出典の原文 · EN

実際の例を見る

使用例

crewAI: connect a researcher and reporting analyst

The official README supplies a complete sequential project example: create the project, configure both JSONC agents and dependent tasks, provide model/search credentials, and run it. The source selects openai/gpt-4o and writes to output/report.md. These are source settings and an intended file path, not a generated report or an independently tested run.

入力例

#### Example of a simple crew with a sequential process:

```shell
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.",
  "llm": "openai/gpt-4o",
  "settings": {
    "verbose": true
  }
}
```

**crew.jsonc**

```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"
  }
}
```

### 3. Running Your Crew

Before running your crew, set the required keys in your `.env` file:

- Your model provider API key — see [LLM setup](https://docs.crewai.com/en/concepts/llms#setting-up-your-llm)
- A [Serper.dev](https://serper.dev/) API key if you use web search: `SERPER_API_KEY=YOUR_KEY_HERE`

Then install dependencies and run from the project directory:

```shell
crewai install
crewai run
```
ライセンス

Full original source license/copyright retained. Complete selected inputs preserve source values; narrative headings are editorially explained. No source script, model request, browser crawl or installation executed. Recovery tutorial MDX wrappers become readable step labels and common code indentation is normalized, without deleting Python statements. Checkpoint screenshot and tutorial are separate documented examples, not a proven common run.

Copyright (c) 2025 crewAI, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
製品画面

crewAI: inspect kickoff inputs in a saved checkpoint

The documented SQLite checkpoint interface displays topic=bing and year=2020. The selected event is task_started; the left tree also lists later events. This previews editable inputs, not completed task output. The exact documented SQLite launch command is supplied below, separately from the two-agent recovery tutorial.

crewAI: inspect kickoff inputs in a saved checkpoint
画像全体を見る

入力例

crewai checkpoint --location ./.checkpoints.db
ライセンス

Full original source license/copyright retained. Complete selected inputs preserve source values; narrative headings are editorially explained. No source script, model request, browser crawl or installation executed. Recovery tutorial MDX wrappers become readable step labels and common code indentation is normalized, without deleting Python statements. Checkpoint screenshot and tutorial are separate documented examples, not a proven common run. Original PNG converted to native-resolution lossless WebP with identical decoded RGBA; no crop, retouch or upscaling.

Copyright (c) 2025 crewAI, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
使用例

crewAI: resume a two-task crew from a checkpoint

This complete source tutorial defines a researcher and writer, enables checkpointing, interrupts after the first task and supplies the restore call. The timestamp/UUID path remains a placeholder to replace with an actual saved checkpoint. MDX wrappers and common indentation are formatted as readable steps; all Python statements are preserved. No task, model call or recovery was executed here.

入力例

Step 1: Create the crew with checkpointing enabled

```python
from crewai import Agent, Crew, Task

researcher = Agent(role="Researcher", goal="Research", backstory="Expert")
writer = Agent(role="Writer", goal="Write", backstory="Expert")

crew = Crew(
    agents=[researcher, writer],
    tasks=[
        Task(description="Research AI trends", agent=researcher, expected_output="bullets"),
        Task(description="Write a summary", agent=writer, expected_output="paragraph"),
    ],
    checkpoint=True,
)
```

Step 2: Run it and interrupt after the first task

```python
result = crew.kickoff()
```

Press `Ctrl+C` after the first task finishes. Look in `./.checkpoints/` — a file named `<timestamp>_<uuid>.json` is the checkpoint.

Step 3: Resume from the checkpoint

```python
from crewai import CheckpointConfig

result = crew.kickoff(
    from_checkpoint=CheckpointConfig(
        restore_from="./.checkpoints/<timestamp>_<uuid>.json",
    ),
)
```
ライセンス

Full original source license/copyright retained. Complete selected inputs preserve source values; narrative headings are editorially explained. No source script, model request, browser crawl or installation executed. Recovery tutorial MDX wrappers become readable step labels and common code indentation is normalized, without deleting Python statements. Checkpoint screenshot and tutorial are separate documented examples, not a proven common run.

Copyright (c) 2025 crewAI, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

製品紹介

crewAI combines a Python framework for role-based agent teams and stateful Flows with a hosted platform for building and operating enterprise agents.

出典の原文 · EN
出典に記載された機能

crewAIでできること

  1. 01Define agents, tools and dependent tasks using JSONC or Python
  2. 02Orchestrate stateful Flows and restore execution checkpoints
  3. 03Use hosted visual building, tracing and governance where available
出典の原文 · EN
違い

他と異なる点

The MIT-licensed framework can be self-hosted, while visual building and enterprise governance are part of the hosted offering. Teams supply their own model-provider access, tools and runtime configuration.

出典の原文 · EN
おすすめ

検討に向く人

  • Developers orchestrating multi-agent Python workflows
  • Teams evaluating governed enterprise agent operations
出典の原文 · EN
選ぶ前に

確認すること

  • 実際の作業を一つ試し、要件に合うか比較する。
  • 保存・共有・学習に利用されるデータを確認する。
  • 公式サイトで現在の料金、利用制限、解約条件を確認する。
サイト確認日

公式リンクは2026年10月24日に確認しました。機能の主張は独立して検証していません。

タスクに関連する項目

ツール料金対応環境用途
crewAI有料Web, API業務フローを自動化
n8n無料・有料プランWeb, Self-hosted業務フローを自動化
Dhisana AI未確認情報なし業務フローを自動化
PraisonAI未確認Windows, macOS, Linux業務フローを自動化
LangGraph未確認API業務フローを自動化