跳到主要内容Skip to main content
← Frameworks

CrewAICrewAI

CrewAI Inc
PythonPython 开源Open source MITMIT 编排框架Orchestration framework 多AgentMulti-agent CrewCrew FlowFlow 事件驱动Event-driven 状态管理State management MCPMCP A2AA2A OllamaOllama 本地模型Local models 角色分工Role assignments partial lifecycle: active 核验Checked 2026-10-23

CrewAI 是一个 Python 框架。它用「角色分工」和「业务流程」两套比喻来编排多 agent。 官方自述是 "Framework for orchestrating role-playing, autonomous AI agents."

「role-playing」这个词容易让人低估它。 同一份 README 里也写着 production-grade, 并明确承诺:

"Move from experiment to production without changing frameworks."

CrewAI is a Python framework that orchestrates multi-agent work through two metaphors: role division and business process. The official description reads: "Framework for orchestrating role-playing, autonomous AI agents."

The word "role-playing" makes people underrate it. The same README also says production-grade, and promises plainly:

"Move from experiment to production without changing frameworks."

适合与不适合When to use it, when not to

适合三类场景:

  • 任务能被表述成「一支有角色分工的团队」
  • 需要业务逻辑留在普通 Python 里、并显式控制执行路径
  • 想在本地模型上跑;需要 MCP 与 A2A 接入

不适合三类场景:

  • 需要进程 / 容器级沙箱或网络访问控制(官方无此机制)
  • 需要把工作记忆与长期记忆分开管理(CrewAI 已统一成一个 Memory 类)
  • 需要厂商托管的真后台(纯库,要自己部署)

Fits: tasks that can be expressed as "a team with defined roles" (Crews); business logic that stays in ordinary Python with explicit control over the execution path (Flows); running on local models (the official docs name Ollama and LM Studio); needing MCP and A2A; a Python stack.

Not a fit: requiring process- or container-level sandboxing, or network access control — the official docs provide no such mechanism, guardrails only validate task output, and file tools are confined to base_dir; needing working memory and long-term memory managed separately — CrewAI has unified them into one Memory class, the opposite of LangGraph's split design; needing a genuinely vendor-hosted background — it is a pure library, so you deploy it to your own server or VPC.

中文生态China availability 国产 / 国内可直接用 / 备案状态 · 快照domestic / direct access / CAC filing · snapshot 2026-10-20

出品属地Origin
国外出品foreign-made 国外主体(网信办公示名单未见对应备案主体)。foreign entity (no matching filing entity in the CAC registry).
国内使用Direct access
大陆可直连direct OK 官网直连实测 200。official site measured 200 direct.
备案状态CAC filing
未见于备案名单not in filing list:未见于网信办公示名单(2026-10-20 检索 13 批附件,https://www.cac.gov.cn/2024-04/02/c_1713729983803145.htm);该产品未面向大陆公众提供服务,备案不适用。not in the CAC public registry (13 batch attachments searched 2026-10-20, https://www.cac.gov.cn/2024-04/02/c_1713729983803145.htm); the product does not serve the mainland public, so filing does not apply.

备案信息以网信办《生成式人工智能服务已备案信息》公示名单为准(按批次滚动更新,本站只抄编号不解读);「大陆可直连」是本站从大陆网络直连实测的结果,不是厂商承诺。GitHub 类站点当日实测有波动,口径写在依据里。Filing status is quoted from the CAC public registry (updated batch by batch; this site copies the number and does not interpret it). "Direct access" is this site's own reachability measurement from a mainland network, not a vendor promise. GitHub-hosted sites fluctuated on the measurement day — the note says so.

固定坐标系Fixed coordinate system

8 个维度dimensions, 与同分区其他对象逐项可比each comparable item by item against others in the same section.

模型与开放条件Model & openness

它的模型接入路径最具体。默认走 OpenAI API,本地模型官方点名了 Ollama 工具。

README 按这个顺序写。默认 OpenAI,另有多种连接方式,例如本地模型走 Ollama 工具。

"CrewAI supports using various LLMs through a variety of connection options. By default your agents will use the OpenAI API when querying the model. However, there are several other ways to allow your agents to connect to models. For example, you can configure your agents to use a local model via the Ollama tool."

FAQ 还补了一句:LM Studio 也能接。

官方原文:"Tools like Ollama and LM Studio allow seamless integration"

这条对本站读者特别有价值:本地量化模型在这三个编排框架里, 只有 CrewAI 在 README 首屏级别点名了具体工具。

完整 provider 清单已核到(官方 learn/llm-connections 页),分两类:

  • 原生 SDK 接入 5 家 —— OpenAI、Anthropic、Google Gemini、Azure、AWS Bedrock
  • 其余走 LiteLLM 兜底,装法 uv add 'crewai[litellm]'。官方另点名单列: Ollama、Mistral、Groq、Cohere、Hugging Face、Replicate、Together AI、 Cloudflare Workers AI、DeepInfra、SambaNova、Nebius、NVIDIA NIMs。

这条清单以 "And many more!" 结尾,指向 LiteLLM Providers 文档取全量列表

另外,官方页原文也给了默认模型:

官方原文:"By default, CrewAI uses the gpt-4o-mini model."

它由 OPENAI_MODEL_NAME 决定,未设即 gpt-4o-mini。换法两种: 传字符串标识符(llm='claude-2'),或用 LLM 类配 model / base_url / api_key。 本地片段官方写全:

官方示例:LLM(model="ollama/llama3.2", base_url="http://localhost:11434")

未知:换 provider 后 tool calling / structured output 的可靠性,官方未说明。 (已查 learn/llm-connections 与 concepts/llms 两页,无 provider 间可靠性对比。)

Its model-access path is the most concrete. Defaults to the OpenAI API, and local models are officially named via the Ollama tool.

The README writes in this order. Default OpenAI, plus several connection options, e.g. local models via the Ollama tool.

"CrewAI supports using various LLMs through a variety of connection options. By default your agents will use the OpenAI API when querying the model. However, there are several other ways to allow your agents to connect to models. For example, you can configure your agents to use a local model via the Ollama tool."

The FAQ adds one more: LM Studio can also be connected.

Official wording: "Tools like Ollama and LM Studio allow seamless integration"

This is especially valuable for this site's readers: among the three orchestration frameworks, for running local quantized models, only CrewAI names concrete tools at README-first-screen level.

The full provider list is verified (official learn/llm-connections page), in two classes:

  • native SDK integration, 5 vendors — OpenAI, Anthropic, Google Gemini, Azure, AWS Bedrock
  • the rest fall back to LiteLLM, installed via uv add 'crewai[litellm]'. The official page additionally names individually: Ollama, Mistral, Groq, Cohere, Hugging Face, Replicate, Together AI, Cloudflare Workers AI, DeepInfra, SambaNova, Nebius, NVIDIA NIMs.

This list ends with "And many more!", pointing to the LiteLLM Providers docs for the full list

Also, the official page states the default model verbatim:

Official wording: "By default, CrewAI uses the gpt-4o-mini model."

It is decided by OPENAI_MODEL_NAME; unset means gpt-4o-mini. Two ways to switch: pass a string identifier (llm='claude-2'), or use the LLM class with model / base_url / api_key. The local snippet is given in full officially:

Official example: LLM(model="ollama/llama3.2", base_url="http://localhost:11434")

Unknown: tool calling / structured output reliability after switching providers, not stated officially. (learn/llm-connections and concepts/llms pages checked; no cross-provider reliability comparison.)

运行位置Where it runs

它是纯库,官方口径是「从原型到生产不用换框架」。

安装是 pip 包(README Getting Started 走 pip install + crewai CLI),没有托管服务。

"Move from experiment to production without changing frameworks."

状态持久化官方定位成「随系统成长再加」,README 两处原文都带这个限定语:

"Add tools, memory, checkpointing, and async execution as your system grows"

"Add deterministic steps, human input, structured outputs, and checkpointing as your system grows"

那是 README 的定位话术。

机制本身官方文档给得很细。见官方 concepts/checkpointing 页:

  • 粒度:事件驱动,默认 on_events=["task_completed"], 即每完成一个 task 落一次盘;CheckpointConfig 可改频率与上限
  • 落盘后端两个:JsonProvider(每次一个文件,默认,写在 ./.checkpoints/)、 SqliteProvider(单个 SQLite 库,开 WAL,适合高频)
  • 开关:Crew / Flow / Agent 都可传 checkpoint;子级默认继承父级, 也可传 False 退出

粒度是「每个完成的 task / method」,这正是本站要找的落盘粒度。

It is a pure library; the official line is "from prototype to production without changing frameworks."

Install is a pip package (README Getting Started uses pip install + the crewai CLI); there is no hosted service.

"Move from experiment to production without changing frameworks."

State persistence is positioned officially as "add as your system grows"; both README quotes carry that qualifier:

"Add tools, memory, checkpointing, and async execution as your system grows"

"Add deterministic steps, human input, structured outputs, and checkpointing as your system grows"

That is README positioning language.

The mechanism itself is documented in detail officially. See the official concepts/checkpointing page:

  • granularity: event-driven, default on_events=["task_completed"], i.e. one checkpoint per completed task; CheckpointConfig can change frequency and caps
  • two storage backends: JsonProvider (one file per checkpoint, default, under ./.checkpoints/), SqliteProvider (a single SQLite database, WAL enabled, suited to high frequency)
  • switches: Crew / Flow / Agent all accept checkpoint; children inherit parents by default, and can pass False to opt out

The granularity is "each completed task / method" — exactly the checkpoint granularity this site looks for.

本地文件Local files

框架本身不内置文件系统能力,文件读写靠工具提供 —— 但工具的默认边界清楚。

默认边界已核到(官方 FileReadTool 页)。运行时传入的路径必须落在 base_dir 内。 base_dir 默认是当前工作目录。.. 与符号链接都会先解析再校验,

so they cannot be used to escape

两个例外:

  • 构造函数里写死的 file_path 属开发者声明,可越过该限制,但只放行这一个文件
  • 放开更大范围须显式 base_dir='/data'

两个环境变量管逃生与锁死:

  • 逃生阀 CREWAI_TOOLS_ALLOW_UNSAFE_PATHS=true —— 进程级。

官方称它会同时关掉所有 crewai-tools 的 SSRF 防护,不建议

  • 托管 worker 应用用 CREWAI_TOOLS_FORCE_SAFE_PATHS=true 锁死

另有一组多模态文件输入(crewai[file-processing] extra,Files 页,early access)。 可传图片 / PDF / 音频 / 视频 / 文本。

未知:容器部署时的默认权限,官方未说明。(已查 Files 页与 FileReadTool 页。)

The framework itself ships no filesystem capability; file read/write comes from tools — but the tools' default boundary is clear.

The default boundary is verified (official FileReadTool page). Paths passed in at runtime must fall inside base_dir. base_dir defaults to the current working directory. .. and symlinks are resolved before validation,

so they cannot be used to escape

Two exceptions:

  • a file_path hardcoded in the constructor is a developer declaration and may bypass that limit, but only that one file is allowed
  • opening a wider range requires an explicit base_dir='/data'

Two environment variables manage the escape hatch and the lockdown:

  • escape hatch CREWAI_TOOLS_ALLOW_UNSAFE_PATHS=true — process-level.

The official docs say it also turns off SSRF protection for all crewai-tools; not recommended

  • managed worker apps lock it down with CREWAI_TOOLS_FORCE_SAFE_PATHS=true

There is also a set of multimodal file inputs (crewai[file-processing] extra, Files page, early access). Images / PDFs / audio / video / text can be passed.

Unknown: default permissions under container deployment, not stated officially. (Files page and FileReadTool page checked.)

关机后的任务Tasks after shutdown

它不托管后台。 库本身不提供厂商托管的执行环境 —— 要「电脑关了还能跑」, 得自己把进程跑在自有服务器 / VPC 上。AMP 商业侧另给 Cron scheduling。

Flow 的 state management 是官方明文。 README 把 Flow 描述成 "event-driven workflows with state, branching, routing", FAQ 说 Flow 适合 "detailed execution paths and secure state management"。

state 是显式、结构化的(README「Using Crews and Flows Together」段示例代码)。

class MarketState(BaseModel),Flow[MarketState] 里直接读写 self.state.sentiment 等字段,并按 self.state.confidence 的数值阈值分支。

这就是本站要找的「状态」:显式、结构化、可分支判断。

落盘与跨进程恢复已核到(官方 concepts/checkpointing、concepts/flows 页):

  • Flow 的 @persist 装饰器:官方称 "automatically persists all flow method states", 默认后端 SQLiteFlowPersistence
  • 续跑:kickoff(inputs={"id": <uuid>}) —— 同一 flow_uuid 续写历史
  • 分叉:kickoff(restore_from_state_id=<uuid>) —— 换新 state.id,原历史不动
  • checkpoint 恢复:crew / flow / agent 的 checkpoint 可从 ./.checkpoints/ 恢复, CLI crewai checkpoint 提供 resume / fork

It does not host a background. The library provides no vendor-managed execution environment — for "keeps running after the computer shuts down", you must run the process on your own servers / VPC. The AMP commercial side separately offers Cron scheduling.

Flow's state management is explicit official wording. The README describes Flow as "event-driven workflows with state, branching, routing", and the FAQ says Flow suits "detailed execution paths and secure state management".

State is explicit and structured (example code in the README's "Using Crews and Flows Together" section).

class MarketState(BaseModel), with Flow[MarketState] reading and writing self.state.sentiment and similar fields directly, branching on numeric thresholds of self.state.confidence.

This is the "state" this site looks for: explicit, structured, branchable.

Persistence and cross-process recovery verified (official concepts/checkpointing, concepts/flows pages):

  • Flow's @persist decorator: officially "automatically persists all flow method states", default backend SQLiteFlowPersistence
  • resume: kickoff(inputs={"id": <uuid>}) — same flow_uuid continues the history
  • fork: kickoff(restore_from_state_id=<uuid>) — new state.id, original history untouched
  • checkpoint restore: crew / flow / agent checkpoints can be restored from ./.checkpoints/; the crewai checkpoint CLI provides resume / fork
工具与扩展Tools & extensions

官方明确列了 MCP 与 A2A 两项,这是它的一个强项。

"Use tools, memory, knowledge, checkpointing, async execution, and MCP/A2A support for more capable production agents."

MCP 是核心依赖,不是可选 extra。 官方 lib/crewai/pyproject.toml 的 [project] dependencies 里直接写死 mcp~=1.28.1。

A2A 才是可选 extra:a2a = ["a2a-sdk~=0.3.10", ...]。 这与 OpenAI Agents SDK 把 mcp>=1.19.0 放进 dependencies 一致,属核心能力。

MCP 的接入面:

  • 传输三种:stdio / SSE / Streamable HTTP(各一页)
  • DSL 字段 mcps=;多 server 聚合用 MCPServerAdapter
  • 另有 MCP security 专页
  • 内置工具是 crewai-tools(官方称 75+ OSS catalog,装 crewai[tools])

另外,CrewAI 自己托管了一个文档 MCP server(docs.crewai.com/mcp), 可供 AI 编程助手查询它的 API 细节(README「Build with AI」段提到的 ask-docs)。

A2A(Agent-to-Agent)的规范与生态仍属外部协议:本站只记 「官方有 a2a extra 与一批 A2A 事件」,协议规范不在本站研究范围。

The official docs explicitly list MCP and A2A — one of its strengths.

"Use tools, memory, knowledge, checkpointing, async execution, and MCP/A2A support for more capable production agents."

MCP is a core dependency, not an optional extra. The official lib/crewai/pyproject.toml [project] dependencies pins mcp~=1.28.1 directly.

A2A is the optional extra: a2a = ["a2a-sdk~=0.3.10", ...]. This matches the OpenAI Agents SDK putting mcp>=1.19.0 in dependencies — a core capability.

The MCP integration surface:

  • three transports: stdio / SSE / Streamable HTTP (one page each)
  • DSL field mcps=; multi-server aggregation via MCPServerAdapter
  • there is also an MCP security dedicated page
  • built-in tools are crewai-tools (officially a 75+ OSS catalog, install crewai[tools])

Additionally, CrewAI hosts its own documentation MCP server (docs.crewai.com/mcp), queryable by AI coding assistants for its API details (the ask-docs mentioned in the README's "Build with AI" section).

The A2A (Agent-to-Agent) specification and ecosystem remain an external protocol: this site only records "the official docs have an a2a extra and a batch of A2A events"; the protocol spec is outside this site's research scope.

上下文与记忆Context & memory

它给了一套统一 memory 系统,外加独立的 knowledge。机制已核到。

README 里与记忆相关的表述有两处:

  • Key Features 的 "memory, knowledge, checkpointing"
  • 「Build with AI」段的 agent 配置项清单 "Configuring agents — role, goal, backstory, tools, LLMs, memory, guardrails"

机制已核到,且推翻旧判断(官方 concepts/memory 页)。官方现有统一 Memory 类。

官方原文:"a single Memory class that replaces separate short-term, long-term, entity, and external memory types with one intelligent API"

即旧档案「官方不区分工作记忆 / 长期记忆」的说法已过时。

具体机制:

  • 作用域:分层 scope 树(类文件系统,如 /agent/researcher)。Crew 级默认共享。 agent 可用 memory.scope("/agent/x") 取私有子树。另有 slice() 做跨分支只读 / 读写视图
  • 存储后端:默认平台目录下的向量库,默认 ChromaDB,路径可由 CREWAI_STORAGE_DIR 改。

知识存储官方称 "uses the same storage system as memory"

  • 裁剪不是简单截断:检索用 semantic + recency + importance 复合打分。 写入走 LLM 抽取原子事实 + consolidation/dedup (相似度过阈值时由 LLM 决定 keep / update / delete)
  • knowledge 与 memory 的关系:knowledge 是 RAG 事实库(独立 collection,agent/crew 两级)。 memory 是跨任务的统一记录库。两者共用向量存储,用途不同。

It provides a unified memory system plus separate knowledge. The mechanism is verified.

Two memory-related statements in the README:

  • Key Features' "memory, knowledge, checkpointing"
  • the agent-config checklist in the "Build with AI" section: "Configuring agents — role, goal, backstory, tools, LLMs, memory, guardrails"

The mechanism is verified, and it overturns the old judgment (official concepts/memory page). The official docs now have a unified Memory class.

Official wording: "a single Memory class that replaces separate short-term, long-term, entity, and external memory types with one intelligent API"

That is, the old entry's "official docs do not distinguish working / long-term memory" is outdated.

The concrete mechanism:

  • scopes: a hierarchical scope tree (filesystem-like, e.g. /agent/researcher). Crew-level is shared by default. Agents can take a private subtree via memory.scope("/agent/x"). slice() provides cross-branch read-only / read-write views.
  • storage backend: a vector store under the platform directory, ChromaDB by default, path changeable via CREWAI_STORAGE_DIR.

The knowledge store officially "uses the same storage system as memory"

  • pruning is not simple truncation: retrieval uses a composite semantic + recency + importance score. Writes go through LLM extraction of atomic facts + consolidation/dedup (when similarity crosses the threshold, the LLM decides keep / update / delete)
  • knowledge vs memory: knowledge is a RAG fact base (separate collection, agent/crew two levels). Memory is the unified cross-task record store. The two share vector storage but serve different purposes.
权限与限制Permissions & limits

guardrails 是「任务输出校验」,不是权限边界 —— 这一点与旧判断不同。

官方 concepts/tasks 页「Task Guardrails」原文:

官方原文:"validate and transform task outputs before they are passed to the next task"

两类实现:

  • 函数式 —— 传 guardrail= 回调,返回 (bool, result),确定性校验
  • LLM 式 —— 传字符串描述,自动建 LLMGuardrail,用该 task 的 agent 的 LLM 判
  • 相关字段 —— guardrail / guardrails / guardrail_max_retries(默认 3 次)

关键判定:它只拦输出(task 产出),不是双向校验,也不改状态:

  • 不是 OpenAI Agents SDK 那种 input + output 双向校验
  • 不是 ADK 的 Tool Confirmation 执行前确认
  • 不是 LangGraph 的 interrupts 改状态

所以对照表里 CrewAI 应写作「校验 task 输出、失败重试」。

沙箱:OSS 无进程 / 容器级沙箱。 边界来自工具本身 —— 文件工具默认把路径限制在 base_dir。默认是 cwd,见 local_files 轴。 MCP 安全官方明说是「信任」问题、不提供内置防护。

未知:网络访问控制官方无机制(已查 tasks 页与 mcp/security 页)。 RBAC / SSO / PII redaction 属 AMP 商业侧,开源版没有。

Guardrails are "task output validation", not a permission boundary — this differs from the old judgment.

Official concepts/tasks page "Task Guardrails" wording:

Official wording: "validate and transform task outputs before they are passed to the next task"

Two implementation styles:

  • functional — pass a guardrail= callback returning (bool, result), deterministic validation
  • LLM-style — pass a string description; an LLMGuardrail is auto-built, judged by the task's agent's LLM
  • related fields — guardrail / guardrails / guardrail_max_retries (default 3)

Key judgment: it only gates outputs (task products), not two-way validation, and it does not change state:

  • not the OpenAI Agents SDK style of input + output two-way validation
  • not ADK's Tool Confirmation pre-execution check
  • not LangGraph's interrupts changing state

So in the comparison table CrewAI should read "validates task outputs, retries on failure".

Sandbox: OSS has no process / container-level sandbox. The boundary comes from the tools themselves — file tools restrict paths to base_dir by default. Default is cwd, see the local_files axis. MCP security is officially stated as a matter of "trust", with no built-in protection.

Unknown: network access control has no official mechanism (tasks page and mcp/security page checked). RBAC / SSO / PII redaction belong to the AMP commercial side; the open-source version does not have them.

适合什么任务Best for

适合三类场景。

  • 任务能被表述成「一支有角色分工的团队」(Crews)
  • 需要业务逻辑留在普通 Python 里、并显式控制执行路径(Flows)
  • 想在本地模型上跑(官方点名 Ollama / LM Studio);需要 MCP 与 A2A 接入;Python 栈

不适合三类场景。 都写在同一张否定的清单里:

  • 需要进程 / 容器级沙箱或网络访问控制 —— 官方无此机制; guardrails 只校验 task 输出,文件工具只限 base_dir
  • 需要把「工作记忆」与「跨会话长期记忆」分开管理 —— CrewAI 已统一成一个 Memory 类, 不再分型,与 LangGraph 的分型路线相反
  • 需要厂商托管的真后台 —— 纯库,得自己部署到自有服务器 / VPC

Fits three scenarios.

  • tasks expressible as "a team with role division" (Crews)
  • needing business logic to stay in plain Python with explicit control of execution paths (Flows)
  • wanting to run on local models (officially naming Ollama / LM Studio); needing MCP and A2A integration; Python stacks

Does not fit three scenarios. All on the same negative list:

  • needing process / container-level sandboxing or network access control — no official mechanism; guardrails only validate task outputs, file tools only limit base_dir
  • needing "working memory" and "cross-session long-term memory" managed separately — CrewAI has unified them into one Memory class, no longer typed, the opposite of LangGraph's typed route
  • needing a vendor-hosted true background — pure library; deploy it yourself to your own servers / VPC

头号误解Top misconception

  • 以为是「角色扮演玩具」—— 官方定位是 production-grade,README 明写 Move from experiment to production without changing frameworksAssuming it is a role-play toy — the official positioning is production-grade, and the README states "Move from experiment to production without changing frameworks"
  • 把 Crew Control Plane 的能力当成开源版自带 —— tracing / 集中管控 / 企业安全 / 24×7 支持 /本地与云部署都是 CrewAI AMP 的卖点Taking Crew Control Plane's capabilities as built into the open version — tracing, centralised control, enterprise security, 24×7 support and local/cloud deployment are CrewAI AMP selling points
  • 把 guardrails 当权限护栏 —— 官方明文它只校验 task 输出,不管输入、也无沙箱Treating guardrails as a permission boundary — the official docs state they validate task output only, never input, and there is no sandbox
  • 以为 memory 和 knowledge 是两套记忆 —— knowledge 是 RAG 事实库,memory 是统一记录库Assuming memory and knowledge are two separate memory systems — knowledge is a RAG fact store, memory is the unified record store
  • 以为 checkpointing 是「以后再说」—— 官方已给 Json/Sqlite 后端与恢复 CLI,可按需启用Assuming checkpointing is a later concern — the official docs already ship Json and Sqlite backends plus a resume CLI, so it can be enabled on demand
  • 以为有 Flow 就有厂商托管后台 —— Flow 给的是 state management,进程仍跑在你自己机器上Assuming a Flow gives you vendor-hosted background execution — Flow provides state management; the process still runs on your own machine

未知项清单Known unknowns

  • 换 provider 后 tool calling / structured output 的可靠性(官方未说明)
  • 容器部署时的默认权限(官方未说明,已查 Files 页与 FileReadTool 页)
  • OSS 是否有网络访问控制的官方机制(官方未说明)
  • A2A(Agent-to-Agent)规范与生态现状(外部协议,不在本站研究范围)
  • AMP Enterprise 的档位内容(官方仅标 Custom)
  • Basic 档 50 次/月上限之后,除 Enterprise 洽谈外是否有自助加购路径(官方对比表该栏为「—」)
  • MCP / A2A 接入的实际使用门槛
  • Tool calling / structured output reliability after switching providers (not stated officially)
  • Default permissions under container deployment (not stated officially; Files page and FileReadTool page checked)
  • Whether OSS has an official network-access-control mechanism (not stated officially)
  • The A2A (Agent-to-Agent) specification and ecosystem status (external protocol, outside this site's research scope)
  • AMP Enterprise tier contents (officially labeled Custom only)
  • Beyond negotiating with Enterprise, whether Basic's 50/month cap has a self-serve add-on path (the official comparison table shows "—" in that column)
  • The practical usability threshold of MCP / A2A integration

证据来源Evidence sources

判断可回到以下一手源复核。本站核验日Every judgement can be rechecked against the primary sources below. Verified on 2026-10-23,内容更新日content updated on 2026-10-08。

类型Type名称Name链接Link
repocrewAIInc/crewAI · 仓库(60,002★,MIT,滚动核验 2026-10-23)crewAIInc/crewAI · repository (60,002★, MIT, rolling check 2026-10-23)https://github.com/crewAIInc/crewAI
docs主 README(Crews/Flows 双抽象、七项 Key Features、Crew Control Plane 商业段、模型接入、FAQ)Main README (Crews/Flows dual abstraction, seven Key Features, Crew Control Plane commercial section, model access, FAQ)https://github.com/crewAIInc/crewAI/blob/main/README.md
docs官方文档 · Connect CrewAI to LLMs(完整 provider 清单;原生 5 家 + LiteLLM 兜底;默认 gpt-4o-mini)Official docs · Connect CrewAI to LLMs (full provider list; 5 native + LiteLLM fallback; default gpt-4o-mini)https://docs.crewai.com/en/learn/llm-connections
docs官方文档 · Checkpointing(事件驱动、默认每 task 完成落盘、Json/Sqlite 后端、resume/fork、CLI)Official docs · Checkpointing (event-driven, default per-task-completion checkpoints, Json/Sqlite backends, resume/fork, CLI)https://docs.crewai.com/en/concepts/checkpointing
docs官方文档 · Flows(state management、@persist、SQLiteFlowPersistence、续跑/分叉语义)Official docs · Flows (state management, @persist, SQLiteFlowPersistence, resume/fork semantics)https://docs.crewai.com/en/concepts/flows
docs官方文档 · Memory(统一 Memory 类、scope/slice、复合打分、consolidation)Official docs · Memory (unified Memory class, scope/slice, composite scoring, consolidation)https://docs.crewai.com/en/concepts/memory
docs官方文档 · Tasks(Task Guardrails:函数式/LLM 式,只校验任务输出,默认重试 3 次)Official docs · Tasks (Task Guardrails: functional/LLM-style, validates task outputs only, default 3 retries)https://docs.crewai.com/en/concepts/tasks
docs官方文档 · Knowledge(存储与 memory 同系统,默认 ChromaDB,独立 collection)Official docs · Knowledge (storage same system as memory, ChromaDB default, separate collection)https://docs.crewai.com/en/concepts/knowledge
docs官方文档 · MCP 安全(信任模型、无内置防护、风险清单)Official docs · MCP security (trust model, no built-in protection, risk list)https://docs.crewai.com/en/mcp/security
docs官方文档 · FileReadTool(base_dir 路径沙箱,默认 cwd,越界逃生阀环境变量)Official docs · FileReadTool (base_dir path sandbox, cwd default, escape-hatch env var)https://docs.crewai.com/en/tools/file-document/filereadtool
docs官方文档 · Agent Capabilities(Tools/MCPs/Apps/Skills/Knowledge 五类能力)Official docs · Agent Capabilities (five capability classes: Tools/MCPs/Apps/Skills/Knowledge)https://docs.crewai.com/en/concepts/agent-capabilities
repolib/crewai/pyproject.toml(核心依赖含 mcp~=1.28.1;a2a 为可选 extra)lib/crewai/pyproject.toml (core dependencies include mcp~=1.28.1; a2a an optional extra)https://github.com/crewAIInc/crewAI/blob/main/lib/crewai/pyproject.toml
docsCrewAI AMP(商业控制面,本次未取到页面)CrewAI AMP (commercial control plane; page not captured in the 2026-10-08 pass)https://crewai.com
pricingCrewAI 官方定价页(核验 2026-10-01:只有 Basic 与 Enterprise 两档、 Basic 50 次/月硬上限且加购栏为「—」、Enterprise 可部署在客户自有 VPC/基础设施、 45 天 onboarding、SSO/RBAC/PII redaction 等 Enterprise 专属项;第三方站的六档均不存在)CrewAI official pricing page (verified 2026-10-01: only Basic and Enterprise two tiers, Basic 50/month hard cap with add-on column "—", Enterprise deployable on customer's own VPC/infrastructure, 45-day onboarding, SSO/RBAC/PII redaction etc. Enterprise-only items; the six tiers on third-party sites do not exist)https://crewai.com/pricing
changelogReleases(1.15.23 @ 2026-09-28)Releases (1.15.23 @ 2026-09-28)https://github.com/crewAIInc/crewAI/releases
repocrewAI-examples · 官方示例集crewAI-examples · official example collectionhttps://github.com/crewAIInc/crewAI-examples
docsCrewAI 文档 MCP server(README「Build with AI」段提到)CrewAI documentation MCP server (mentioned in the README's "Build with AI" section)https://docs.crewai.com/mcp

实测记录Measured runs

本档未跑集成与性能实测;结论只覆盖 API 与官方文档披露的能力面。

实测建议(按编排框架 + 角色抽象维度定制):

#测什么为什么值得测
1同一需求用 Crew 实现 vs 用 Flow 实现,代码量与可读性差多少验证双抽象是否真的各有用处
2用 Ollama 接本地量化模型跑完一个 Crew官方点名支持,值得验证真实可行性
3guardrails 实战强度:LLM 式误判率、重试 3 次够不够机制已知(输出校验),误判率需实测
4checkpointing 实测:中断后 resume 是否真跳过已完成 task官方文档已述机制,需验证真实表现
5Crew 之间传递信息的开销(角色扮演的 token 成本)角色协作通常吃 token,要量
6Flow 的 state 在崩溃后跨进程恢复的真实成功率与 LangGraph 的 superstep 落盘对比

This site has not completed measured runs.

The test protocol is at protocols/framework/_protocol.md.

Suggested measurement (tailored to the orchestration-framework + role-abstraction dimensions):

#What to testWhy it is worth testing
1Implementing the same requirement with Crew vs Flow — how much code volume and readability differverifies whether the dual abstraction really has distinct uses
2Attach a local quantized model via Ollama and run a full Crewofficially named as supported; real feasibility deserves verification
3Guardrails in practice: LLM-style misjudgment rate, whether 3 retries sufficemechanism known (output validation); misjudgment rate needs measurement
4Checkpointing in practice: does resume after interruption really skip completed tasksthe official docs describe the mechanism; real behavior needs verifying
5Overhead of passing information between Crew members (the token cost of role-playing)role collaboration usually eats tokens; needs measuring
6Real success rate of Flow state cross-process recovery after a crashcompare against LangGraph's superstep persistence

双抽象是它最好用的一张对照轴The dual abstraction is its most useful contrast axis

README 的 Key Features 前两条就是这个对照:

官方原句抽象适合
Crews for autonomy: Model teams of specialized AI agents with roles, goals, tools, and tasks角色/目标/任务需要灵活决策的协作
Flows for control: Build event-driven workflows with state, branching, routing事件/状态/分支/路由需要精确控制执行路径

FAQ 里官方把分工讲得更直白:

Crews provide autonomous agent collaboration, ideal for tasks requiring flexible decision-making and dynamic interaction. Flows offer precise, event-driven control, ideal for managing detailed execution paths and secure state management. You can seamlessly combine both.

这一段是本站编排家族里最好用的一句话 —— 「需要弹性用 Crew,需要精确用 Flow,可以混用」, 比「它是什么框架」的回答更能帮人做决定。

The first two Key Features in the README are exactly this contrast:

Official sentenceAbstractionFits
Crews for autonomy: Model teams of specialized AI agents with roles, goals, tools, and tasksroles/goals/taskscollaboration needing flexible decision-making
Flows for control: Build event-driven workflows with state, branching, routingevents/state/branching/routingneeding precise control of execution paths

The FAQ states the division of labor even more plainly:

Crews provide autonomous agent collaboration, ideal for tasks requiring flexible decision-making and dynamic interaction. Flows offer precise, event-driven control, ideal for managing detailed execution paths and secure state management. You can seamlessly combine both.

This passage is the single most useful sentence in this site's orchestration family — "flexible use Crew, precise use Flow, mix freely" helps people decide better than any "what framework is it" answer.

状态:Flow 的 state management 是显式且结构化的State: Flow's state management is explicit and structured

README 示例代码(Using Crews and Flows Together 段)把状态做成了 Pydantic 模型:

class MarketState(BaseModel):
    ...

class AdvancedAnalysisFlow(Flow[MarketState]):
    def run(self):
        self.state.sentiment = "analyzing"
        if self.state.confidence > 0.8:
            ...
        elif self.state.confidence > 0.5:
            ...

这就是本站要找的「状态」 —— 显式、结构化、可按数值阈值分支。

落盘与跨进程恢复已核到(官方 concepts/checkpointing、concepts/flows 页)。 README 把 checkpointing 写成按需添加。两处原话都加了限定语:

  • "Add tools, memory, checkpointing, and async execution as your system grows"
  • "Add deterministic steps, human input, structured outputs, and checkpointing as your system grows"

那是 README 的定位话术;机制本身官方文档给得很细:

  • 落盘粒度:事件驱动,默认 on_events=["task_completed"],即每完成一个 task 落一次盘。
  • 持久化后端:JsonProvider(每次一文件,默认)或 SqliteProvider(单库、开 WAL)。
  • 跨进程恢复:可从 ./.checkpoints/ 或 SQLite 库恢复;Flow 另有 @persist (默认 SQLiteFlowPersistence),kickoff(inputs={"id": ...}) 续跑、 restore_from_state_id= 分叉。
  • CLI:crewai checkpoint 提供 resume / fork 的 TUI。

这与 LangGraph 形成本站编排家族里最值得看的一组对照:

LangGraphCrewAI
状态落盘✅ 每 superstep 落盘(官方明文:save graph state at every superstep)✅ 每 task 完成落盘(事件驱动,默认 task_completed)
落盘粒度superstep(图的一个步进)task(或自定义事件,如 method_execution_finished)
持久化后端有独立子包(SQLite / Postgres)JsonProvider / SqliteProvider,Flow 用 SQLiteFlowPersistence
跨进程恢复官方承诺 "resuming from exactly where they left off"从 checkpoint 恢复 / fork,CLI 可 resume

The README example code (the Using Crews and Flows Together section) makes state a Pydantic model:

class MarketState(BaseModel):
    ...

class AdvancedAnalysisFlow(Flow[MarketState]):
    def run(self):
        self.state.sentiment = "analyzing"
        if self.state.confidence > 0.8:
            ...
        elif self.state.confidence > 0.5:
            ...

This is the "state" this site looks for — explicit, structured, branchable on numeric thresholds.

Persistence and cross-process recovery verified on 2026-10-08 (official concepts/checkpointing, concepts/flows pages). The README writes checkpointing as add-on as needed. Both quotes carry the qualifier:

  • "Add tools, memory, checkpointing, and async execution as your system grows"
  • "Add deterministic steps, human input, structured outputs, and checkpointing as your system grows"

That is README positioning language; the mechanism itself is documented in detail officially:

  • checkpoint granularity: event-driven, default on_events=["task_completed"], i.e. one checkpoint per completed task.
  • persistence backends: JsonProvider (one file per checkpoint, default) or SqliteProvider (single DB, WAL enabled).
  • cross-process recovery: restorable from ./.checkpoints/ or the SQLite DB; Flow additionally has @persist (default SQLiteFlowPersistence), kickoff(inputs={"id": ...}) resumes, restore_from_state_id= forks.
  • CLI: crewai checkpoint provides a resume / fork TUI.

This forms the most worth-watching contrast pair in this site's orchestration family with LangGraph:

LangGraphCrewAI
state persistence✅ persists at every superstep (official wording: save graph state at every superstep)✅ persists per completed task (event-driven, default task_completed)
persistence granularitysuperstep (one graph step)task (or custom events, e.g. method_execution_finished)
persistence backendsseparate subpackages (SQLite / Postgres)JsonProvider / SqliteProvider; Flow uses SQLiteFlowPersistence
cross-process recoveryofficially promises "resuming from exactly where they left off"restore / fork from checkpoints, CLI can resume

模型接入:三个编排框架里对本地模型最友好的一个Model access: the most local-model-friendly of the three orchestration frameworks

默认走 OpenAI API,本地模型走 Ollama 工具。 README「Connecting Your Crew to a Model」原文:

By default your agents will use the OpenAI API when querying the model. However, there are several other ways... For example, you can configure your agents to use a local model via the Ollama tool.

FAQ 补充 LM Studio 也能接。

这一点对本站读者有实际价值:要拿本地量化模型跑编排框架, CrewAI 是三个编排对象里唯一在 README 首屏级别点名具体工具的。

完整 provider 清单已核到(官方 learn/llm-connections 页):

  • 原生 SDK 接入 5 家 —— OpenAI、Anthropic、Google Gemini、Azure、AWS Bedrock
  • 其余走 LiteLLM 兜底(uv add 'crewai[litellm]')。官方另点名单列:Ollama、 Mistral、Groq、Cohere、Hugging Face、Replicate、Together AI、Cloudflare、 DeepInfra、SambaNova、Nebius、NVIDIA NIMs,以 "And many more!" 结尾指向全量列表

默认模型:页原文 "By default, CrewAI uses the gpt-4o-mini model." (由 OPENAI_MODEL_NAME 决定)。换法:字符串标识符或用 LLM 类。

未知:换 provider 后 tool calling / structured output 的可靠性,官方未说明。

Defaults to the OpenAI API; local models go through the Ollama tool. README "Connecting Your Crew to a Model" wording:

By default your agents will use the OpenAI API when querying the model. However, there are several other ways... For example, you can configure your agents to use a local model via the Ollama tool.

The FAQ adds that LM Studio can also be connected.

This point has practical value for this site's readers: to run an orchestration framework on local quantized models, CrewAI is the only one of the three orchestration objects naming concrete tools at README-first-screen level.

The full provider list verified on 2026-10-08 (official learn/llm-connections page):

  • native SDK integration, 5 vendors — OpenAI, Anthropic, Google Gemini, Azure, AWS Bedrock
  • the rest fall back to LiteLLM (uv add 'crewai[litellm]'). The official page additionally names individually: Ollama, Mistral, Groq, Cohere, Hugging Face, Replicate, Together AI, Cloudflare, DeepInfra, SambaNova, Nebius, NVIDIA NIMs, ending with "And many more!" pointing to the full list

Default model: page wording "By default, CrewAI uses the gpt-4o-mini model." (decided by OPENAI_MODEL_NAME). Switching: a string identifier or the LLM class.

Unknown: tool calling / structured output reliability after switching providers, not stated officially.

工具:MCP 与 A2A 都写了Tools: both MCP and A2A are written in

Key Features 一条原文:

Use tools, memory, knowledge, checkpointing, async execution, and MCP/A2A support for more capable production agents.

MCP 是核心依赖:官方 lib/crewai/pyproject.toml 的 [project] dependencies 里写死 mcp~=1.28.1。A2A 才是可选 extra(a2a = ["a2a-sdk~=0.3.10", ...])。 这与 OpenAI Agents SDK 把 mcp>=1.19.0 放进 dependencies 一致,属核心能力。

MCP 的接入面:

  • 传输三种:stdio / SSE / Streamable HTTP(各一页)
  • DSL 字段 mcps=、多 server 聚合 MCPServerAdapter
  • MCP security 专页
  • 内置工具 crewai-tools(官方称 75+ OSS catalog,装 crewai[tools])

A2A(Agent-to-Agent)的规范与生态仍属外部协议,本站只记 「官方有 a2a extra 与一批 A2A 事件」,协议规范不在本站研究范围。

另外有个有意思的细节:CrewAI 自己托管了一个文档 MCP server (docs.crewai.com/mcp)。README「Build with AI」段提到有个 ask-docs 配置: 「查询 CrewAI 的实时文档 MCP server 获取最新 API 细节」 它用自己的 MCP server 来喂 AI 编程助手。这属于 MCP 的一个真实自用案例。

One Key Features sentence verbatim:

Use tools, memory, knowledge, checkpointing, async execution, and MCP/A2A support for more capable production agents.

MCP is a core dependency: the official lib/crewai/pyproject.toml [project] dependencies pins mcp~=1.28.1. A2A is the optional extra (a2a = ["a2a-sdk~=0.3.10", ...]). This matches the OpenAI Agents SDK putting mcp>=1.19.0 in dependencies — a core capability.

The MCP integration surface:

  • three transports: stdio / SSE / Streamable HTTP (one page each)
  • DSL field mcps=, multi-server aggregation MCPServerAdapter
  • an MCP security dedicated page
  • built-in tools crewai-tools (officially a 75+ OSS catalog, install crewai[tools])

The A2A (Agent-to-Agent) specification and ecosystem remain an external protocol; this site only records "the official docs have an a2a extra and a batch of A2A events"; the protocol spec is outside this site's research scope.

There is also an interesting detail: CrewAI hosts its own documentation MCP server (docs.crewai.com/mcp). The README's "Build with AI" section mentions an ask-docs config: "query CrewAI's live documentation MCP server for the latest API details" (translated) It feeds AI coding assistants with its own MCP server. This is a real dogfooding case of MCP.

权限维度:guardrails 是「任务输出校验」,不是权限边界The permissions dimension: guardrails is "task output validation", not a permission boundary

已把这一维核实了,结论与旧判断不同。官方 concepts/tasks 页 「Task Guardrails」原文:

validate and transform task outputs before they are passed to the next task

两类实现:函数式(传 guardrail= 回调,返回 (bool, result))与 LLM 式(传字符串描述,自动建 LLMGuardrail,用该 task 的 agent 的 LLM 判); 字段 guardrail / guardrails / guardrail_max_retries(默认 3 次)。 对照本站其它对象:

对象机制层次
OpenAI Agents SDKguardrails(input + output 双向校验)校验内容
Google ADKTool Confirmation拦执行
LangGraphinterrupts改状态
CrewAIguardrails(只校验 task 输出、失败重试)校验产物

它只拦输出,不管输入;OSS 也没有进程 / 容器级沙箱。 边界来自工具:文件工具默认限 base_dir(默认 cwd), MCP 安全官方明说是「信任」问题、不提供内置防护。 未知:网络访问控制官方无机制。要企业级权限得走 AMP(RBAC / SSO / PII redaction)。

The 2026-10-08 check verified this dimension, and the conclusion differs from the old judgment. The official concepts/tasks page "Task Guardrails" wording:

validate and transform task outputs before they are passed to the next task

Two implementation styles: functional (pass a guardrail= callback returning (bool, result)) and LLM-style (pass a string description; an LLMGuardrail is auto-built, judged by the task's agent's LLM); fields guardrail / guardrails / guardrail_max_retries (default 3). Against other objects on this site:

ObjectMechanismLayer
OpenAI Agents SDKguardrails (input + output two-way validation)validates content
Google ADKTool Confirmationgates execution
LangGraphinterruptschanges state
CrewAIguardrails (validates task outputs only, retries on failure)validates products

It only gates outputs, not inputs; OSS also has no process / container-level sandbox. The boundary comes from the tools: file tools limit base_dir by default (default cwd), and MCP security is officially stated as a matter of "trust", with no built-in protection. Unknown: network access control has no official mechanism. Enterprise-grade permissions require AMP (RBAC / SSO / PII redaction).

记忆:统一 Memory 系统,机制已核到(旧判断作废)Memory: a unified Memory system, mechanism verified (old judgment void)

已核实官方 concepts/memory 页。官方已把记忆统一成一个 Memory 类。

a single Memory class that replaces separate short-term, long-term, entity, and external memory types with one intelligent API

即旧档案「官方不区分工作记忆 / 长期记忆」的说法已过时 —— 现在它是「统一成一个 API」,而不是「没有分型」。这与 LangGraph 的分型路线正好相反。

  • 作用域:分层 scope 树(/agent/researcher 等),Crew 级默认共享, agent 可用 memory.scope() 取私有子树。slice() 做跨分支只读或读写视图。
  • 存储后端:平台目录下的向量库(默认 ChromaDB,CREWAI_STORAGE_DIR 可改)。
  • 不靠截断:检索用 semantic + recency + importance 复合打分; 写入走 LLM 抽取原子事实 + consolidation/dedup(过阈值时 LLM 决定 keep/update/delete)。
  • knowledge vs memory:knowledge 是 RAG 事实库(独立 collection,agent/crew 两级), memory 是跨任务统一记录库;两者共用向量存储但用途不同。

The 2026-10-08 check verified the official concepts/memory page. The official docs have unified memory into a single Memory class.

a single Memory class that replaces separate short-term, long-term, entity, and external memory types with one intelligent API

That is, the old entry's "official docs do not distinguish working / long-term memory" is outdated — now it is "unified into one API", not "no typing". This is exactly opposite to LangGraph's typed route.

  • scopes: a hierarchical scope tree (/agent/researcher etc.), Crew-level shared by default, agents take private subtrees via memory.scope(). slice() provides cross-branch read-only or read-write views.
  • storage backend: a vector store under the platform directory (ChromaDB by default, changeable via CREWAI_STORAGE_DIR).
  • not truncation-based: retrieval uses a composite semantic + recency + importance score; writes go through LLM extraction of atomic facts + consolidation/dedup (past the threshold the LLM decides keep/update/delete).
  • knowledge vs memory: knowledge is a RAG fact base (separate collection, agent/crew two levels), memory is the unified cross-task record store; they share vector storage but serve different purposes.

商业线:Crew Control Plane(AMP)要分清The commercial line: Crew Control Plane (AMP) must be kept distinct

README 单列一节 Crew Control Plane Key Features,七项全是商业产品特征:

  • Tracing & Observability(实时指标、日志、trace)
  • Unified Control Plane(集中管控与扩缩)
  • Seamless Integrations(企业系统集成)
  • Advanced Security(官方原文:"Built-in robust security and compliance measures")
  • 24/7 Support(专属企业支持)
  • On-premise and Cloud Deployment Options(CrewAI AMP 两种部署形态)

注意其中「Advanced Security」这一条 —— 如果你用 CrewAI 的理由之一是权限边界,开源版并没有这一项。

AMP 档位:官方页只有两档,且这本身是个坑

2026-10-01 核验官方定价页,只有两档(报价按本站的报价记录约定不存,见官方页):

档位执行次数席位
Basic(免费档)50 次/月,上限就是 501
Enterprise(定制)"Sized to workflow" + Flexible overage不限

Basic 包含:

  • Visual editor + AI copilot、GitHub 集成、Export as MCP server、Export as UI component
  • Guardrails、Human-in-the-loop input、Cron scheduling
  • Tracing、OpenTelemetry、LLM testing、AI agent training
  • Usage dashboard、Token count、自动扩缩、社区支持

Enterprise 才解锁:

  • SSO(MS Entra / Okta)、RBAC、workload identity、PII redaction、policies
  • 企业连接器、专属 VPC / NAT、专属支持
  • Slack/Teams 支持、on-site 支持与培训、部署与 onboarding、每月开发工时

Enterprise 的 onboarding 是 45 天,forward deployed engineering 与培训按需另购。

三个必须读出来的结论:

结论一:Basic 没有自助加购通道。

Basic 的加购一栏写的是「—」。 官方对比表 Basic 行「Maximum executions = 50」「Additional executions = —」。 超过 50 次/月的自助出路基本只有去找 Enterprise 谈。

结论二:部署形态在商业侧确实兑现了。

Enterprise 明确写可部署在 CrewAI 云。它也支持你自己的 VPC / 你自己的基础设施。 这也兑现了 README 那句原文:

On-premise and Cloud Deployment Options

官方页也没有任何强制联网授权的表述。

结论三:第三方报价站不可信。

核验时多个第三方来源给出的档位与报价,官方定价页上根本没有这些档位 (有来源自己都标注「那一档来自第三方聚合站,不在官方页上」)。 本站只采官方页面读得到的事实——按本站的报价记录约定,本站连官方报价也不存,只给官方页链接。

The README has a standalone Crew Control Plane Key Features section; all seven items are commercial-product features:

  • Tracing & Observability (live metrics, logs, traces)
  • Unified Control Plane (centralized management and scaling)
  • Seamless Integrations (enterprise system integration)
  • Advanced Security (official wording: "Built-in robust security and compliance measures")
  • 24/7 Support (dedicated enterprise support)
  • On-premise and Cloud Deployment Options (CrewAI AMP's two deployment forms)

Note the "Advanced Security" item — if one of your reasons for using CrewAI is permission boundaries, the open-source version does not have this item.

AMP tiers: the official page has only two tiers, and that itself is a pitfall

Verified on the official pricing page 2026-10-01: only two tiers (quotes not stored per the price-recording policy; see the official page):

TierExecutionsSeats
Basic (free tier)50/month, the cap is 501
Enterprise (custom)"Sized to workflow" + Flexible overageunlimited

Basic includes:

  • Visual editor + AI copilot, GitHub integration, Export as MCP server, Export as UI component
  • Guardrails, Human-in-the-loop input, Cron scheduling
  • Tracing, OpenTelemetry, LLM testing, AI agent training
  • Usage dashboard, Token count, auto-scaling, community support

Unlocked only by Enterprise:

  • SSO (MS Entra / Okta), RBAC, workload identity, PII redaction, policies
  • enterprise connectors, dedicated VPC / NAT, dedicated support
  • Slack/Teams support, on-site support and training, deployment and onboarding, monthly development hours

Enterprise onboarding takes 45 days; forward deployed engineering and training are purchased separately as needed.

Three conclusions that must be read out:

Conclusion one: Basic has no self-serve add-on path.

Basic's add-on column reads "—". In the official comparison table the Basic row reads "Maximum executions = 50", "Additional executions = —". Beyond 50/month, the self-serve way out is basically only negotiating with Enterprise.

Conclusion two: deployment form is genuinely delivered on the commercial side.

Enterprise explicitly supports deploying on CrewAI cloud. It also supports your own VPC / your own infrastructure. This also delivers the README's original line:

On-premise and Cloud Deployment Options

The official page also contains no forced-online-authorization wording.

Conclusion three: third-party quote sites are untrustworthy.

During verification, several third-party sources gave tiers and quotes that do not exist on the official pricing page at all (one source itself notes "that tier comes from a third-party aggregator, not on the official page"). This site collects only facts readable on official pages — per the price-recording policy, this site does not even store official quotes, only links to the official page.

核验说明Verification notes

confidence: partial 的依据:

为什么仍是 partial(补充核验后):八维已全部从「未核验」改为结论, 但仍有三处官方确实没写、只能记「官方未说明」的项 —— 换 provider 后 tool calling / structured output 的可靠性、容器部署时的默认权限、 OSS 是否有网络访问控制的官方机制。

此外 A2A 规范属外部协议、AMP Enterprise 官方仅标 Custom。 这些不是「没查到」,是官方文档本身没给,故仍不足以升到 verified。

2026-10-08 补充核验的官方源:

  • concepts/checkpointing(落盘粒度 / 后端 / 恢复 / fork)
  • concepts/flows(@persist 与 SQLiteFlowPersistence)
  • learn/llm-connections(provider 清单与默认模型 gpt-4o-mini)
  • concepts/memory(统一 Memory、scope、存储与 consolidation)
  • concepts/tasks(Task Guardrails 机制)
  • concepts/knowledge(存储与 memory 关系)
  • mcp/security(MCP 安全无内置防护)
  • FileReadTool 页(base_dir 路径沙箱)
  • lib/crewai/pyproject.toml(mcp~=1.28.1 在核心依赖、a2a 为可选 extra)

已核验(存量):仓库存在与星数(60,002 · 滚动核验 2026-10-23)、许可(MIT,经 license API)、 最近推送(2026-10-22,仍活跃)、最新版 1.15.28(releases @ 2026-10-14)、 README 关键段落(双抽象、七项 Key Features、模型接入、Crews/Flows FAQ、 MarketState 结构化状态示例、Telemetry 与 License 段)。

2026-10-01 补充:CrewAI AMP 档位结构。官方页两档,已写进正文表格。 Enterprise 的部署形态(客户自有 VPC / 自有基础设施)。无强制联网授权表述。

核验方法:先试渲染抓取 crewai.com/pricing 超时, 改用 WebFetch 直接取官方页正文。

Basis for confidence: partial:

Why still partial (after the 2026-10-08 check): all eight dimensions have moved from "unverified" to conclusions, but three items are genuinely not written officially and can only be recorded as "not stated officially" — tool calling / structured output reliability after switching providers, default permissions under container deployment, whether OSS has an official network-access-control mechanism.

Additionally the A2A spec is an external protocol, and AMP Enterprise is only labeled Custom officially. These are not "we failed to find it" — the official docs themselves do not give them, so it is not enough to raise to verified.

Official sources filled in during 2026-10-08 the 2026-10-08 check:

  • concepts/checkpointing (persistence granularity / backends / recovery / fork)
  • concepts/flows (@persist and SQLiteFlowPersistence)
  • learn/llm-connections (provider list and default model gpt-4o-mini)
  • concepts/memory (unified Memory, scope, storage and consolidation)
  • concepts/tasks (Task Guardrails mechanism)
  • concepts/knowledge (storage relationship with memory)
  • mcp/security (MCP security has no built-in protection)
  • the FileReadTool page (base_dir path sandbox)
  • lib/crewai/pyproject.toml (mcp~=1.28.1 in core dependencies, a2a an optional extra)

Verified (existing): repository exists and star count (60,002 · rolling check 2026-10-23), license (MIT, via the license API), last push (2026-10-22, still active), latest version 1.15.28 (releases @ 2026-10-14), key README passages (dual abstraction, seven Key Features, model access, Crews/Flows FAQ, the MarketState structured-state example, Telemetry and License sections).

Added the 2026-10-08 check (2026-10-01): CrewAI AMP tier structure. The official page has two tiers, already written into the body table. Enterprise deployment forms (customer's own VPC / own infrastructure). No forced-online-authorization wording.

Verification method: first tried rendered fetch of crewai.com/pricing, timed out, switched to WebFetch to take the official page body directly.

相关条目Related entries

  • Google ADKGoogle ADK(Agent Development Kit)编排家族对照:同为图/流程编排,ADK 用 Workflow Runtime 的节点与路由,CrewAI 用 Crew(角色协作)+ Flow(事件驱动)两套抽象。CrewAI 另给了 MCP/A2A 支持。Orchestration-family contrast: both do graph/flow orchestration; ADK uses Workflow Runtime nodes and routing, CrewAI uses the Crew (role collaboration) + Flow (event-driven) dual abstraction. CrewAI additionally gives MCP/A2A support.
  • LangGraphLangGraph状态持久化路线对照:LangGraph 每 superstep 落盘;CrewAI 事件驱动、默认每 task 完成落盘,后端 Json/Sqlite,可 resume/fork。两条路线现在都有官方明确机制。State-persistence route contrast: LangGraph persists at every superstep; CrewAI is event-driven, persisting per completed task by default, with Json/Sqlite backends, resumable/forkable. Both routes now have explicit official mechanisms.
  • Deep AgentsDeep Agents同属「快速起步」一侧,但抽象不同:Deep Agents 是 batteries-included harness,CrewAI 是 Crew/Flow 双抽象的编排框架。Both on the "quick start" side, but different abstractions: Deep Agents is a batteries-included harness; CrewAI is an orchestration framework with the Crew/Flow dual abstraction.
  • OpenAI Agents SDKOpenAI Agents SDK反面对照:那个是单 agent 原语 + input/output 双向 guardrail;CrewAI 的 guardrail 只校验 task 输出(且无沙箱)。The negative contrast: that one is single-agent primitives + input/output two-way guardrails; CrewAI's guardrail validates task outputs only (and has no sandbox).
  • Filesystem MCP ServerFilesystem MCP Server另一层 · MCP 工具Other layer · MCP tools

本页由This page is generated from the ai-handbook 数据层生成(CC BY 4.0)。data layer (CC BY 4.0). 方法论与坐标系定义见仓库内For the methodology and coordinate definitions, see METHODOLOGY.md.