Comprehensive analysis and documentation of the CrewAI multi-agent orchestration framework.
This repository contains detailed analysis and guides for CrewAI:
-
CrewAI Deep Dive - Comprehensive technical analysis
- Architecture overview
- Core components (Agent, Task, Crew, Flow)
- Execution patterns (sequential, async, flows)
- Configuration management
- Tool ecosystem
- Advanced features
- Use case catalog
- Extension development
- Best practices
- Complete API reference
-
Quick Start Guide - Get started in 15 minutes
- Installation instructions
- Your first crew
- Structured project setup
- Adding tools
- Common patterns
- Troubleshooting
-
Examples Index - Complete catalog of 25 examples
- 17 crew examples across 4 domains
- 6 flow examples with advanced patterns
- 3 integration examples
- Learning paths for different skill levels
- Quick reference guide
pip install 'crewai>=0.152.0'
pip install 'crewai[tools]' # With built-in toolsfrom crewai import Agent, Task, Crew
from dotenv import load_dotenv
load_dotenv()
# Create agent
researcher = Agent(
role="Research Analyst",
goal="Find accurate information",
backstory="Expert researcher with strong analytical skills",
verbose=True
)
# Create task
research_task = Task(
description="Research the latest trends in {topic}",
expected_output="Summary of top 5 trends",
agent=researcher
)
# Create crew
crew = Crew(
agents=[researcher],
tasks=[research_task],
verbose=True
)
# Run
result = crew.kickoff(inputs={"topic": "artificial intelligence"})
print(result.raw)crewai/
βββ docs/
β βββ CREWAI_DEEP_DIVE.md # Comprehensive technical guide
β βββ QUICK_START_GUIDE.md # 15-minute quick start
β βββ EXAMPLES_INDEX.md # Complete examples catalog
β
βββ crewAI-examples/ # Submodule with 25 examples
β βββ crews/ # 17 crew examples
β βββ flows/ # 6 flow examples
β βββ integrations/ # 3 integration examples
β βββ notebooks/ # 6 Jupyter tutorials
β
βββ README.md # This file
- Role-based agent design with specialized expertise
- Task coordination and dependency management
- Sequential, parallel, and hierarchical execution modes
- State management with Pydantic models
- Event-driven execution with @start, @listen, @router
- Conditional routing and human-in-the-loop patterns
- Retry loops and error handling
- YAML-based agent and task definitions
- Variable interpolation in configurations
- Environment-based configuration
- Reusable crew templates
- Built-in tools (SerperDevTool, ScrapeWebsiteTool, etc.)
- Custom tool development (BaseTool pattern)
- External API integrations (SEC, Exa, Google, etc.)
- LangChain tool decorator support
- Async execution for parallel tasks
- Context chaining for task dependencies
- Structured output with Pydantic validation
- Training system for iterative improvement
- Self-evaluation loops for quality assurance
- Instagram Post Generation
- Landing Page Generator
- Marketing Strategy Development
- Screenplay Writer
- Job Posting Creation
- Meeting Preparation (with async execution)
- Recruitment & Candidate Matching
- Lead Scoring with Human Review
- Stock Analysis with SEC Data Integration
- Game Builder Crew (code generation + QA)
- Markdown Validator
- Lead Score Flow (human-in-loop)
- Self-Evaluation Loop (quality gates)
- Content Creator Flow (multi-crew)
- Email Auto Responder
- Meeting Assistant (Trello/Slack integration)
- Write a Book with Flows
- Azure OpenAI
- NVIDIA Models
- LangGraph Framework
- Starter Template
- Instagram Post
- Trip Planner
- Job Posting
Goal: Understand agents, tasks, crews, and YAML configuration
- Meeting Preparation (async execution)
- Stock Analysis (external APIs)
- Game Builder Crew (@CrewBase pattern)
- Marketing Strategy (complex collaboration)
Goal: Master async execution, tool development, structured crews
- Lead Score Flow (flow orchestration)
- Self-Evaluation Loop (iterative refinement)
- Content Creator Flow (multi-crew coordination)
- Match Profile to Positions (vector search)
Goal: Master flows, state management, advanced patterns
- Framework: https://github.com/crewAIInc/crewAI
- Examples: https://github.com/crewAIInc/crewAI-examples
- Documentation: https://docs.crewai.com
- Community: https://community.crewai.com
- Discord: https://discord.com/invite/X4JWnZnxPb
- Deep Dive Guide: docs/CREWAI_DEEP_DIVE.md
- Quick Start: docs/QUICK_START_GUIDE.md
- Examples Index: docs/EXAMPLES_INDEX.md
- Framework Version: crewai >= 0.152.0
- Python Requirement: >=3.10, <3.13
- Package Manager: UV (recommended) or Poetry
- LLM Support: OpenAI, Ollama, Azure OpenAI, NVIDIA
- Built-in Tools: SerperDev, ScrapeWebsite, FileRead, PDFSearch, CSVSearch, RAG
This repository contains comprehensive analysis including:
- Architecture documentation covering all 4 core components
- 12+ use cases across 4 domains with execution flows
- Configuration patterns for YAML, environment, and dependencies
- Custom tool development with BaseTool and @tool decorator patterns
- 5 representative examples validated and documented
- Best practices playbook with 10+ patterns and anti-patterns
- Complete API reference for Agent, Task, Crew, and Flow
This is an analysis repository. For contributing to the CrewAI framework itself:
- Main framework: https://github.com/crewAIInc/crewAI
- Examples: https://github.com/crewAIInc/crewAI-examples
This analysis repository is for educational purposes. CrewAI framework is maintained by CrewAI Inc.
- Repository: https://github.com/covibes/zeroshot.git
- Description: Autonomous Engineering Teams for Claude Code
- Installation:
npm install -g @covibes/zeroshot
- Repository: https://github.com/hundong2/crewAI.git