CrewAI is an open-source Python framework for building multi-agent systems — several LLM agents collaborating on one task instead of a single agent doing everything. It’s become one of the most widely adopted frameworks in this space, built around a metaphor that maps directly onto how humans organize teams.
The core metaphor
Every agent gets three things, the same way you’d brief a new hire:
| Field | Purpose |
|---|---|
| Role | What this agent is (“Senior Data Analyst”, “QA Reviewer”) |
| Goal | What it’s trying to achieve on this task |
| Backstory | Context that shapes tone, priorities, and judgment calls |
Agents are assigned Tasks, and Tasks are grouped into a Crew that executes them under one of three process types:
Sequential Agent A → Agent B → Agent C (fixed pipeline)
Hierarchical Manager agent ──▶ delegates to workers (dynamic delegation)
Consensual Agents vote on a decision before proceeding
Crews vs. Flows
This is the distinction that matters most when picking CrewAI for a real system:
- Crews — autonomous agent collaboration. You describe roles and goals; the agents figure out the “how.” Good for open-ended reasoning tasks.
- Flows — event-driven, low-level control. You define exact state transitions and routing logic, calling into Crews as steps when you need agentic reasoning inside an otherwise deterministic pipeline.
Flow (deterministic backbone)
├── Step 1: fetch data (plain code)
├── Step 2: Crew("triage") — agents reason about the data
├── Step 3: if triage.severity == "high": Crew("investigate")
└── Step 4: write result (plain code)
Production systems tend to use Flows as the skeleton and Crews only where genuine reasoning is
needed — this avoids the classic failure mode of letting agents “decide” things a simple if
statement should have decided.
Recent architecture additions (2026)
- Pluggable backends for memory, knowledge, and RAG — swap in What is Mem0 or another memory provider instead of the default, without rewriting the Crew.
- Chat API for conversational (multi-turn) flows, not just one-shot task execution.
- Scoped runtime state — isolates state between concurrent runs so parallel Crew executions don’t leak context into each other. This matters the moment you run CrewAI as a shared service rather than a single local script.
- Native LLM providers beyond OpenAI/Anthropic, including Snowflake Cortex.
Where it fits next to the rest of the agent stack
| Concern | CrewAI’s answer |
|---|---|
| Orchestration | Native — Crews (autonomous) + Flows (deterministic) |
| Memory | Pluggable — bring your own, e.g. What is Mem0 |
| Tool access to your data | Bring your own MCP client, or wrap What is MCP Toolbox as a CrewAI tool |
| Browser/computer control | Not native — pair with What is Playwright MCP as a tool |
| Deployment | Your own process/container — no managed runtime like What is Vertex AI‘s Agent Engine |
Why it’s on the backlog: it’s the most direct comparison point for What is Google ADK — both solve multi-agent orchestration, but ADK is Google’s “agent execution framework” tied to its own runtime and languages, while CrewAI is runtime-agnostic Python you can drop into any pipeline, including an h-aiops SRE-agent step.
Local graph
Linked from 16 notes
AutoGen
Microsoft's open-source framework for conversational multi-agent systems — the concrete API surface: AssistantAgent/UserProxyAgent setup, GroupChat/GroupChatManager wiring, tool registration, and the parameters that actually terminate a run.
What is Google ADK
Google's open-source, code-first Agent Development Kit — a multi-language framework for building, evaluating, and deploying agents, positioned as an 'agent execution framework' rather than a toolkit.
What is Harness Engineering
The discipline of designing everything that wraps a raw LLM into a reliable agent — tool contracts, system prompt architecture, context/memory management, permission gates, and feedback loops. Distinct from prompt engineering and model training.
What is Hermes Agent
Nous Research's open-source, self-hosted AI agent that runs continuously on your own server, builds persistent memory over time, and distills its own reusable 'skills' from completed tasks.
What is LangGraph
LangChain's graph-based orchestration library — agents as a StateGraph of nodes and edges, with durable checkpointing and human-in-the-loop interrupts as native graph mechanics rather than bolted-on features.
OpenAI Agents SDK
Python SDK for OpenAI's Agents framework — the concrete API surface: Agent/Runner construction, the function_tool and handoff() call shapes, Session-backed state, guardrail decorators, and built-in tracing.
Semantic Kernel
Microsoft's SDK for adding tool-calling and planning to an existing .NET or Python application — the API surface: Kernel construction, KernelFunction/plugin registration, the automatic-function-calling planner, and where .NET/Python SDK parity actually diverges.
What is Gemini Enterprise Agent Platform
Google's April 2026 unification of agent tooling — a four-stage lifecycle (build, scale, govern, optimize) wrapping Agent Studio/ADK, a stateful Agent Runtime, an Identity/Registry/Gateway governance stack, and native A2A + MCP interop.
What is MCP Toolbox
Google's open-source MCP server for databases (formerly Gen AI Toolbox for Databases) — production-ready (v1.0.0) prebuilt tools that connect agents and IDEs directly to AlloyDB, Spanner, Cloud SQL, BigQuery, and more, with OAuth2 zero-trust gating.
What is Mem0
Universal memory layer for AI agents — combines vector search, a knowledge graph, and key-value caching behind one API, so any framework can bolt on persistent, cross-session memory in under a day.
What is OpenClaw
Self-hosted, model-agnostic personal AI agent (by Peter Steinberger) that gets full computer access — browser, filesystem, shell — and is reachable from 29+ chat platforms, positioned against SaaS agent walled gardens.
What is Playwright
Microsoft's cross-browser end-to-end testing/automation framework — and, via Playwright MCP, the standard way AI agents get safe, deterministic control of a real browser.
Related notes
What is Google ADK
Google's open-source, code-first Agent Development Kit — a multi-language framework for building, evaluating, and deploying agents, positioned as an 'agent execution framework' rather than a toolkit.
What is Hermes Agent
Nous Research's open-source, self-hosted AI agent that runs continuously on your own server, builds persistent memory over time, and distills its own reusable 'skills' from completed tasks.
What is OpenClaw
Self-hosted, model-agnostic personal AI agent (by Peter Steinberger) that gets full computer access — browser, filesystem, shell — and is reachable from 29+ chat platforms, positioned against SaaS agent walled gardens.
What is Gemini Enterprise Agent Platform
Google's April 2026 unification of agent tooling — a four-stage lifecycle (build, scale, govern, optimize) wrapping Agent Studio/ADK, a stateful Agent Runtime, an Identity/Registry/Gateway governance stack, and native A2A + MCP interop.