crewai-multi-agent

Orchestrate role-based AI agent teams with sequential or hierarchical task execution.

1|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/Clay-HHK/claude-skills --skill crewai-multi-agent-clay-hhk
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: crewai-multi-agent
Source: https://github.com/Clay-HHK/claude-skills/tree/main/crewai
Command: npx skills add https://github.com/Clay-HHK/claude-skills --skill crewai-multi-agent-clay-hhk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires crewai, crewai-tools, and includes references (resource) components.

What problem does it solve? Coordinating multiple LLM agents to collaborate on complex tasks requires managing roles, task delegation, memory, and execution order, which is tedious to build from scratch. ## Core Features & Use Cases - Role-Based Agent Teams: Define agents with roles, goals, and backstories, then assign tasks with explicit context passing between them. - Dual Orchestration Paradigms: Use Crews for autonomous sequential or hierarchical execution, and Flows for event-driven workflows with conditional routing and typed state. - 50+ Built-in Tools and Memory: Integrate web search, scraping, document search, and database tools, with short-term, long-term, and entity memory support. - Use Case: Build a content pipeline where a researcher agent gathers trends on a topic, then a writer agent produces a blog post from the research output, all coordinated through a YAML-configured crew. ## Quick Start Create a CrewAI crew with a researcher agent and a writer agent that sequentially research a topic and write a blog post about it.

Frequently Asked Questions about crewai-multi-agent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a multi-agent crew in CrewAI?▼

Define Agent objects with role, goal, and backstory, create Task objects assigned to those agents, then combine them in a Crew with Process.sequential or Process.hierarchical. Call crew.kickoff with your inputs to execute the workflow.

CrewAI vs LangGraph for multi-agent workflows?▼

CrewAI uses role-based agents with a lower learning curve and built-in memory, suited for multi-agent teams. LangGraph uses graph-based state machines, better for complex stateful workflows with cycles. CrewAI has no LangChain dependencies.

How do I pass output from one task to another in CrewAI?▼

Set the context parameter on the downstream Task with a list of previous Task objects, for example context=[research_task]. The receiving agent then gets the earlier task output as input for its own execution.

Can CrewAI use local LLMs or non-OpenAI providers?▼

Yes, CrewAI supports multiple providers through its LLM class, including Anthropic Claude, Azure OpenAI, and local models via Ollama such as ollama/llama3.1. Pass the configured LLM object to the agent's llm parameter.

Why is my CrewAI agent stuck in a loop?▼

Agents loop when tasks are ambiguous or iterations are unlimited. Set max_iter on the agent to cap reasoning iterations, add max_rpm for rate limiting, and write more specific task descriptions with explicit expected_output formats.

When should I use CrewAI Flows instead of Crews?▼

Use Flows when you need conditional branching, complex state management, or event-driven execution with routers and listeners. Crews are better for straightforward sequential or hierarchical multi-agent collaboration without custom control logic.