# CrewAI

CrewAI is a framework option for building AI agents. Role-based crews of agents with delegation between them.

## Facts

- Layer: Framework (What thinks)
- Vendor: CrewAI (github.com/crewAIInc/crewAI)
- Licence: open source
- Pricing: freemium
- Self-hostable: yes
- SDKs: py
- Install: `pip install crewai`
- Docs: https://www.crewai.com/
- Last verified: 2026-08-21

## When to reach for it

- You are choosing a framework component — what thinks.
- You need to run it on your own infrastructure, or your procurement process requires source access.

## Alternatives in the framework layer

| Option | What it does | Licence | Self-host |
| --- | --- | --- | --- |
| LangGraph | Graph-shaped orchestration with checkpointing, interrupts and human-in-the-loop. | open source | yes |
| Mastra | TypeScript agent framework with workflows, memory, evals and a local playground. | open source | yes |
| Pydantic AI | Type-safe Python agents with structured output that actually validates. | open source | yes |
| Agno | Fast, lightweight multi-agent runtime with built-in memory and knowledge. | open source | yes |
| LlamaIndex | Data-first framework — ingestion, indexing and RAG-heavy agents. | open source | yes |
| DSPy | Programs, not prompts — compile and optimise the prompt against a metric. | open source | yes |
| Vercel AI SDK | Streaming-first TypeScript SDK with a unified provider interface and UI hooks. | open source | yes |

Head to head:

- https://newagent.build/compare/crewai-vs-langgraph
- https://newagent.build/compare/crewai-vs-mastra
- https://newagent.build/compare/crewai-vs-pydantic-ai
- https://newagent.build/compare/crewai-vs-agno
- https://newagent.build/compare/crewai-vs-llamaindex
- https://newagent.build/compare/crewai-vs-dspy
- https://newagent.build/compare/crewai-vs-vercel-ai-sdk

## Add it to a stack

```bash
curl -fsSL "https://newagent.build/api/stack?framework=crewai&format=sh" | sh
```

## Machine interfaces

- `GET https://newagent.build/api/registry` — every component as JSON
- `GET https://newagent.build/api/vendors` — vendors, with the repo and releases feed to watch
- `GET https://newagent.build/api/advise?q=<plain english>` — recommended stack for a description
- `GET https://newagent.build/api/stack?<layer>=<id>&format=sh|json|md|yml|agents|env` — a stack as files
- `GET https://newagent.build/llms.txt` — the whole registry in one fetch

Any page here also returns markdown if you send `Accept: text/markdown`.