# Crewai

> CrewAI — multi-agent AI framework. Role-based agents with defined goals, tools, and memory. Hierarchical and sequential task execution. Human input delegation and process orchestration.

- Skill: `mkurman/crewai` (Agent Skill)
- Install (CLI): `npx skillmds@latest add mkurman/crewai`
- Raw SKILL.md: https://api.skillmd.com/api/skills/mkurman/crewai/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: mkurman (https://skillmd.com/u/mkurman)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/mkurman/crewai

---

## Overview

CrewAI enables role-based multi-agent AI systems. Agents have defined goals, tools, backstories, and memory. Tasks are assigned to specific agents with expected outputs. Supports sequential and hierarchical execution.

## Installation

```bash
uv pip install crewai
```

## Research Crew

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

researcher = Agent(
    role="Research Analyst",
    goal="Find latest developments in AI agents",
    backstory="Expert at finding relevant information",
)

writer = Agent(
    role="Technical Writer",
    goal="Write clear summary of findings",
    backstory="Skilled at explaining technical topics",
)

task1 = Task(description="Search for latest AI agent frameworks in 2025",
             expected_output="List of frameworks with key features",
             agent=researcher)

task2 = Task(description="Write a 3-paragraph summary", expected_output="Markdown report", agent=writer)

crew = Crew(agents=[researcher, writer], tasks=[task1, task2])
result = crew.kickoff()
print(result)
```

## With Tools

```python
from crewai_tools import SerperDevTool
researcher = Agent(
    role="Research Analyst",
    tools=[SerperDevTool()],
)
```

## References
- [CrewAI docs](https://docs.crewai.com/)
- [CrewAI GitHub](https://github.com/crewAIInc/crewAI)
