[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BGHT07ST06MJFCSE8EK1SR":3,"skill-same:01M7BGHT07ST06MJFCSE8EK1SR":75},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":14,"repositoryHtmlUrl":44,"repositoryHomepageUrl":6,"ownerHtmlUrl":45,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":46,"install":47,"resources":60},"01M7BGHT07ST06MJFCSE8EK1SR","agents-crewai",null,"Multi-agent orchestration framework for autonomous AI collaboration. Use when building teams of specialized agents working together on complex tasks, when you need role-based agent collaboration with memory, or for production workflows requiring sequential\u002Fhierarchical execution. Built without LangChain dependencies for lean, fast execution.","origin-labs-ai\u002Fcode","origin-labs-ai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F347654492?v=4","01M7B0MAD1JMVZ6ME9891AYYYG","Origin","01M7B0MADP3AZS42R4NEF1JTS8",0,"MIT","https:\u002F\u002Fgithub.com\u002Forigin-labs-ai\u002Fcode\u002Fblob\u002Fmain\u002Fpayloads\u002Fskills\u002Fagents-crewai\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: agents-crewai\ndescription: Multi-agent orchestration framework for autonomous AI collaboration. Use when building teams of specialized agents working together on complex tasks, when you need role-based agent collaboration with memory, or for production workflows requiring sequential\u002Fhierarchical execution. Built without LangChain dependencies for lean, fast execution.\nlicense: MIT\nmetadata:\n  version: 1.0.0\n  author: Orchestra Research\n  tags: [Agents, CrewAI, Multi-Agent, Orchestration, Collaboration, Role-Based, Autonomous, Workflows, Memory, Production]\n  dependencies: [crewai>=1.2.0, crewai-tools>=1.2.0]\n---\n\n# CrewAI - Multi-Agent Orchestration Framework\n\nBuild teams of autonomous AI agents that collaborate to solve complex tasks.\n\n## When to use CrewAI\n\n**Use CrewAI when:**\n- Building multi-agent systems with specialized roles\n- Need autonomous collaboration between agents\n- Want role-based task delegation (researcher, writer, analyst)\n- Require sequential or hierarchical process execution\n- Building production workflows with memory and observability\n- Need simpler setup than LangChain\u002FLangGraph\n\n**Key features:**\n- **Standalone**: No LangChain dependencies, lean footprint\n- **Role-based**: Agents have roles, goals, and backstories\n- **Dual paradigm**: Crews (autonomous) + Flows (event-driven)\n- **50+ tools**: Web scraping, search, databases, AI services\n- **Memory**: Short-term, long-term, and entity memory\n- **Production-ready**: Tracing, enterprise features\n\n**Use alternatives instead:**\n- **LangChain**: General-purpose LLM apps, RAG pipelines\n- **LangGraph**: Complex stateful workflows with cycles\n- **AutoGen**: Microsoft ecosystem, multi-agent conversations\n- **LlamaIndex**: Document Q&A, knowledge retrieval\n\n## Quick start\n\n### Installation\n\n```bash\n# Core framework\npip install crewai\n\n# With 50+ built-in tools\npip install 'crewai[tools]'\n```\n\n### Create project with CLI\n\n```bash\n# Create new crew project\ncrewai create crew my_project\ncd my_project\n\n# Install dependencies\ncrewai install\n\n# Run the crew\ncrewai run\n```\n\n### Simple crew (code-only)\n\n```python\nfrom crewai import Agent, Task, Crew, Process\n\n# 1. Define agents\nresearcher = Agent(\n    role=\"Senior Research Analyst\",\n    goal=\"Discover cutting-edge developments in AI\",\n    backstory=\"You are an expert analyst with a keen eye for emerging trends.\",\n    verbose=True\n)\n\nwriter = Agent(\n    role=\"Technical Writer\",\n    goal=\"Create clear, engaging content about technical topics\",\n    backstory=\"You excel at explaining complex concepts to general audiences.\",\n    verbose=True\n)\n\n# 2. Define tasks\nresearch_task = Task(\n    description=\"Research the latest developments in {topic}. Find 5 key trends.\",\n    expected_output=\"A detailed report with 5 bullet points on key trends.\",\n    agent=researcher\n)\n\nwrite_task = Task(\n    description=\"Write a blog post based on the research findings.\",\n    expected_output=\"A 500-word blog post in markdown format.\",\n    agent=writer,\n    context=[research_task]  # Uses research output\n)\n\n# 3. Create and run crew\ncrew = Crew(\n    agents=[researcher, writer],\n    tasks=[research_task, write_task],\n    process=Process.sequential,  # Tasks run in order\n    verbose=True\n)\n\n# 4. Execute\nresult = crew.kickoff(inputs={\"topic\": \"AI Agents\"})\nprint(result.raw)\n```\n\n## Core concepts\n\n### Agents - Autonomous workers\n\n```python\nfrom crewai import Agent\n\nagent = Agent(\n    role=\"Data Scientist\",                    # Job title\u002Frole\n    goal=\"Analyze data to find insights\",     # What they aim to achieve\n    backstory=\"PhD in statistics...\",         # Background context\n    llm=\"gpt-4o\",                             # LLM to use\n    tools=[],                                 # Tools available\n    memory=True,                              # Enable memory\n    verbose=True,                             # Show reasoning\n    allow_delegation=True,                    # Can delegate to others\n    max_iter=15,                              # Max reasoning iterations\n    max_rpm=10                                # Rate limit\n)\n```\n\n### Tasks - Units of work\n\n```python\nfrom crewai import Task\n\ntask = Task(\n    description=\"Analyze the sales data for Q4 2024. {context}\",\n    expected_output=\"A summary report with key metrics and trends.\",\n    agent=analyst,                            # Assigned agent\n    context=[previous_task],                  # Input from other tasks\n    output_file=\"report.md\",                  # Save to file\n    async_execution=False,                    # Run synchronously\n    human_input=False                         # No human approval needed\n)\n```\n\n### Crews - Teams of agents\n\n```python\nfrom crewai import Crew, Process\n\ncrew = Crew(\n    agents=[researcher, writer, editor],      # Team members\n    tasks=[research, write, edit],            # Tasks to complete\n    process=Process.sequential,               # Or Process.hierarchical\n    verbose=True,\n    memory=True,                              # Enable crew memory\n    cache=True,                               # Cache tool results\n    max_rpm=10,                               # Rate limit\n    share_crew=False                          # Opt-in telemetry\n)\n\n# Execute with inputs\nresult = crew.kickoff(inputs={\"topic\": \"AI trends\"})\n\n# Access results\nprint(result.raw)                             # Final output\nprint(result.tasks_output)                    # All task outputs\nprint(result.token_usage)                     # Token consumption\n```\n\n## Process types\n\n### Sequential (default)\n\nTasks execute in order, each agent completing their task before the next:\n\n```python\ncrew = Crew(\n    agents=[researcher, writer],\n    tasks=[research_task, write_task],\n    process=Process.sequential  # Task 1 → Task 2 → Task 3\n)\n```\n\n### Hierarchical\n\nAuto-creates a manager agent that delegates and coordinates:\n\n```python\ncrew = Crew(\n    agents=[researcher, writer, analyst],\n    tasks=[research_task, write_task, analyze_task],\n    process=Process.hierarchical,  # Manager delegates tasks\n    manager_llm=\"gpt-4o\"           # LLM for manager\n)\n```\n\n## Using tools\n\n### Built-in tools (50+)\n\n```bash\npip install 'crewai[tools]'\n```\n\n```python\nfrom crewai_tools import (\n    SerperDevTool,           # Web search\n    ScrapeWebsiteTool,       # Web scraping\n    FileReadTool,            # Read files\n    PDFSearchTool,           # Search PDFs\n    WebsiteSearchTool,       # Search websites\n    CodeDocsSearchTool,      # Search code docs\n    YoutubeVideoSearchTool,  # Search YouTube\n)\n\n# Assign tools to agent\nresearcher = Agent(\n    role=\"Researcher\",\n    goal=\"Find accurate information\",\n    backstory=\"Expert at finding data online.\",\n    tools=[SerperDevTool(), ScrapeWebsiteTool()]\n)\n```\n\n### Custom tools\n\n```python\nfrom crewai.tools import BaseTool\nfrom pydantic import Field\n\nclass CalculatorTool(BaseTool):\n    name: str = \"Calculator\"\n    description: str = \"Performs mathematical calculations. Input: expression\"\n\n    def _run(self, expression: str) -> str:\n        try:\n            result = eval(expression)\n            return f\"Result: {result}\"\n        except Exception as e:\n            return f\"Error: {str(e)}\"\n\n# Use custom tool\nagent = Agent(\n    role=\"Analyst\",\n    goal=\"Perform calculations\",\n    tools=[CalculatorTool()]\n)\n```\n\n## YAML configuration (recommended)\n\n### Project structure\n\n```\nmy_project\u002F\n├── src\u002Fmy_project\u002F\n│   ├── config\u002F\n│   │   ├── agents.yaml    # Agent definitions\n│   │   └── tasks.yaml     # Task definitions\n│   ├── crew.py            # Crew assembly\n│   └── main.py            # Entry point\n└── pyproject.toml\n```\n\n### agents.yaml\n\n```yaml\nresearcher:\n  role: \"{topic} Senior Data Researcher\"\n  goal: \"Uncover cutting-edge developments in {topic}\"\n  backstory: >\n    You're a seasoned researcher with a knack for uncovering\n    the latest developments in {topic}. Known for your ability\n    to find relevant information and present it clearly.\n\nreporting_analyst:\n  role: \"Reporting Analyst\"\n  goal: \"Create detailed reports based on research data\"\n  backstory: >\n    You're a meticulous analyst who transforms raw data into\n    actionable insights through well-structured reports.\n```\n\n### tasks.yaml\n\n```yaml\nresearch_task:\n  description: >\n    Conduct thorough research about {topic}.\n    Find the most relevant information for {year}.\n  expected_output: >\n    A list with 10 bullet points of the most relevant\n    information about {topic}.\n  agent: researcher\n\nreporting_task:\n  description: >\n    Review the research and create a comprehensive report.\n    Focus on key findings and recommendations.\n  expected_output: >\n    A detailed report in markdown format with executive\n    summary, findings, and recommendations.\n  agent: reporting_analyst\n  output_file: report.md\n```\n\n### crew.py\n\n```python\nfrom crewai import Agent, Crew, Process, Task\nfrom crewai.project import CrewBase, agent, crew, task\nfrom crewai_tools import SerperDevTool\n\n@CrewBase\nclass MyProjectCrew:\n    \"\"\"My Project crew\"\"\"\n\n    @agent\n    def researcher(self) -> Agent:\n        return Agent(\n            config=self.agents_config['researcher'],\n            tools=[SerperDevTool()],\n            verbose=True\n        )\n\n    @agent\n    def reporting_analyst(self) -> Agent:\n        return Agent(\n            config=self.agents_config['reporting_analyst'],\n            verbose=True\n        )\n\n    @task\n    def research_task(self) -> Task:\n        return Task(config=self.tasks_config['research_task'])\n\n    @task\n    def reporting_task(self) -> Task:\n        return Task(\n            config=self.tasks_config['reporting_task'],\n            output_file='report.md'\n        )\n\n    @crew\n    def crew(self) -> Crew:\n        return Crew(\n            agents=self.agents,\n            tasks=self.tasks,\n            process=Process.sequential,\n            verbose=True\n        )\n```\n\n### main.py\n\n```python\nfrom my_project.crew import MyProjectCrew\n\ndef run():\n    inputs = {\n        'topic': 'AI Agents',\n        'year': 2025\n    }\n    MyProjectCrew().crew().kickoff(inputs=inputs)\n\nif __name__ == \"__main__\":\n    run()\n```\n\n## Flows - Event-driven orchestration\n\nFor complex workflows with conditional logic, use Flows:\n\n```python\nfrom crewai.flow.flow import Flow, listen, start, router\nfrom pydantic import BaseModel\n\nclass MyState(BaseModel):\n    confidence: float = 0.0\n\nclass MyFlow(Flow[MyState]):\n    @start()\n    def gather_data(self):\n        return {\"data\": \"collected\"}\n\n    @listen(gather_data)\n    def analyze(self, data):\n        self.state.confidence = 0.85\n        return analysis_crew.kickoff(inputs=data)\n\n    @router(analyze)\n    def decide(self):\n        return \"high\" if self.state.confidence > 0.8 else \"low\"\n\n    @listen(\"high\")\n    def generate_report(self):\n        return report_crew.kickoff()\n\n# Run flow\nflow = MyFlow()\nresult = flow.kickoff()\n```\n\nSee [Flows Guide](references\u002Fflows.md) for complete documentation.\n\n## Memory system\n\n```python\n# Enable all memory types\ncrew = Crew(\n    agents=[researcher],\n    tasks=[research_task],\n    memory=True,           # Enable memory\n    embedder={             # Custom embeddings\n        \"provider\": \"openai\",\n        \"config\": {\"model\": \"text-embedding-3-small\"}\n    }\n)\n```\n\n**Memory types:** Short-term (ChromaDB), Long-term (SQLite), Entity (ChromaDB)\n\n## LLM providers\n\n```python\nfrom crewai import LLM\n\nllm = LLM(model=\"gpt-4o\")                              # OpenAI (default)\nllm = LLM(model=\"claude-sonnet-4-5-20250929\")                       # Anthropic\nllm = LLM(model=\"ollama\u002Fllama3.1\", base_url=\"http:\u002F\u002Flocalhost:11434\")  # Local\nllm = LLM(model=\"azure\u002Fgpt-4o\", base_url=\"https:\u002F\u002F...\")              # Azure\n\nagent = Agent(role=\"Analyst\", goal=\"Analyze data\", llm=llm)\n```\n\n## CrewAI vs alternatives\n\n| Feature | CrewAI | LangChain | LangGraph |\n|---------|--------|-----------|-----------|\n| **Best for** | Multi-agent teams | General LLM apps | Stateful workflows |\n| **Learning curve** | Low | Medium | Higher |\n| **Agent paradigm** | Role-based | Tool-based | Graph-based |\n| **Memory** | Built-in | Plugin-based | Custom |\n\n## Best practices\n\n1. **Clear roles** - Each agent should have a distinct specialty\n2. **YAML config** - Better organization for larger projects\n3. **Enable memory** - Improves context across tasks\n4. **Set max_iter** - Prevent infinite loops (default 15)\n5. **Limit tools** - 3-5 tools per agent max\n6. **Rate limiting** - Set max_rpm to avoid API limits\n\n## Common issues\n\n**Agent stuck in loop:**\n```python\nagent = Agent(\n    role=\"...\",\n    max_iter=10,           # Limit iterations\n    max_rpm=5              # Rate limit\n)\n```\n\n**Task not using context:**\n```python\ntask2 = Task(\n    description=\"...\",\n    context=[task1],       # Explicitly pass context\n    agent=writer\n)\n```\n\n**Memory errors:**\n```python\n# Use environment variable for storage\nimport os\nos.environ[\"CREWAI_STORAGE_DIR\"] = \".\u002Fmy_storage\"\n```\n\n## References\n\n- **[Flows Guide](references\u002Fflows.md)** - Event-driven workflows, state management\n- **[Tools Guide](references\u002Ftools.md)** - Built-in tools, custom tools, MCP\n- **[Troubleshooting](references\u002Ftroubleshooting.md)** - Common issues, debugging\n\n## Resources\n\n- **GitHub**: https:\u002F\u002Fgithub.com\u002FcrewAIInc\u002FcrewAI (25k+ stars)\n- **Docs**: https:\u002F\u002Fdocs.crewai.com\n- **Tools**: https:\u002F\u002Fgithub.com\u002FcrewAIInc\u002FcrewAI-tools\n- **Examples**: https:\u002F\u002Fgithub.com\u002FcrewAIInc\u002FcrewAI-examples\n- **Version**: 1.2.0+\n- **License**: MIT\n","# CrewAI - Multi-Agent Orchestration Framework\n\nBuild teams of autonomous AI agents that collaborate to solve complex tasks.\n\n## When to use CrewAI\n\n**Use CrewAI when:**\n- Building multi-agent systems with specialized roles\n- Need autonomous collaboration between agents\n- Want role-based task delegation (researcher, writer, analyst)\n- Require sequential or hierarchical process execution\n- Building production workflows with memory and observability\n- Need simpler setup than LangChain\u002FLangGraph\n\n**Key features:**\n- **Standalone**: No LangChain dependencies, lean footprint\n- **Role-based**: Agents have roles, goals, and backstories\n- **Dual paradigm**: Crews (autonomous) + Flows (event-driven)\n- **50+ tools**: Web scraping, search, databases, AI services\n- **Memory**: Short-term, long-term, and entity memory\n- **Production-ready**: Tracing, enterprise features\n\n**Use alternatives instead:**\n- **LangChain**: General-purpose LLM apps, RAG pipelines\n- **LangGraph**: Complex stateful workflows with cycles\n- **AutoGen**: Microsoft ecosystem, multi-agent conversations\n- **LlamaIndex**: Document Q&A, knowledge retrieval\n\n## Quick start\n\n### Installation\n\n```bash\n# Core framework\npip install crewai\n\n# With 50+ built-in tools\npip install 'crewai[tools]'\n```\n\n### Create project with CLI\n\n```bash\n# Create new crew project\ncrewai create crew my_project\ncd my_project\n\n# Install dependencies\ncrewai install\n\n# Run the crew\ncrewai run\n```\n\n### Simple crew (code-only)\n\n```python\nfrom crewai import Agent, Task, Crew, Process\n\n# 1. Define agents\nresearcher = Agent(\n    role=\"Senior Research Analyst\",\n    goal=\"Discover cutting-edge developments in AI\",\n    backstory=\"You are an expert analyst with a keen eye for emerging trends.\",\n    verbose=True\n)\n\nwriter = Agent(\n    role=\"Technical Writer\",\n    goal=\"Create clear, engaging content about technical topics\",\n    backstory=\"You excel at explaining complex concepts to general audiences.\",\n    verbose=True\n)\n\n# 2. Define tasks\nresearch_task = Task(\n    description=\"Research the latest developments in {topic}. Find 5 key trends.\",\n    expected_output=\"A detailed report with 5 bullet points on key trends.\",\n    agent=researcher\n)\n\nwrite_task = Task(\n    description=\"Write a blog post based on the research findings.\",\n    expected_output=\"A 500-word blog post in markdown format.\",\n    agent=writer,\n    context=[research_task]  # Uses research output\n)\n\n# 3. Create and run crew\ncrew = Crew(\n    agents=[researcher, writer],\n    tasks=[research_task, write_task],\n    process=Process.sequential,  # Tasks run in order\n    verbose=True\n)\n\n# 4. Execute\nresult = crew.kickoff(inputs={\"topic\": \"AI Agents\"})\nprint(result.raw)\n```\n\n## Core concepts\n\n### Agents - Autonomous workers\n\n```python\nfrom crewai import Agent\n\nagent = Agent(\n    role=\"Data Scientist\",                    # Job title\u002Frole\n    goal=\"Analyze data to find insights\",     # What they aim to achieve\n    backstory=\"PhD in statistics...\",         # Background context\n    llm=\"gpt-4o\",                             # LLM to use\n    tools=[],                                 # Tools available\n    memory=True,                              # Enable memory\n    verbose=True,                             # Show reasoning\n    allow_delegation=True,                    # Can delegate to others\n    max_iter=15,                              # Max reasoning iterations\n    max_rpm=10                                # Rate limit\n)\n```\n\n### Tasks - Units of work\n\n```python\nfrom crewai import Task\n\ntask = Task(\n    description=\"Analyze the sales data for Q4 2024. {context}\",\n    expected_output=\"A summary report with key metrics and trends.\",\n    agent=analyst,                            # Assigned agent\n    context=[previous_task],                  # Input from other tasks\n    output_file=\"report.md\",                  # Save to file\n    async_execution=False,                    # Run synchronously\n    human_input=False                         # No human approval needed\n)\n```\n\n### Crews - Teams of agents\n\n```python\nfrom crewai import Crew, Process\n\ncrew = Crew(\n    agents=[researcher, writer, editor],      # Team members\n    tasks=[research, write, edit],            # Tasks to complete\n    process=Process.sequential,               # Or Process.hierarchical\n    verbose=True,\n    memory=True,                              # Enable crew memory\n    cache=True,                               # Cache tool results\n    max_rpm=10,                               # Rate limit\n    share_crew=False                          # Opt-in telemetry\n)\n\n# Execute with inputs\nresult = crew.kickoff(inputs={\"topic\": \"AI trends\"})\n\n# Access results\nprint(result.raw)                             # Final output\nprint(result.tasks_output)                    # All task outputs\nprint(result.token_usage)                     # Token consumption\n```\n\n## Process types\n\n### Sequential (default)\n\nTasks execute in order, each agent completing their task before the next:\n\n```python\ncrew = Crew(\n    agents=[researcher, writer],\n    tasks=[research_task, write_task],\n    process=Process.sequential  # Task 1 → Task 2 → Task 3\n)\n```\n\n### Hierarchical\n\nAuto-creates a manager agent that delegates and coordinates:\n\n```python\ncrew = Crew(\n    agents=[researcher, writer, analyst],\n    tasks=[research_task, write_task, analyze_task],\n    process=Process.hierarchical,  # Manager delegates tasks\n    manager_llm=\"gpt-4o\"           # LLM for manager\n)\n```\n\n## Using tools\n\n### Built-in tools (50+)\n\n```bash\npip install 'crewai[tools]'\n```\n\n```python\nfrom crewai_tools import (\n    SerperDevTool,           # Web search\n    ScrapeWebsiteTool,       # Web scraping\n    FileReadTool,            # Read files\n    PDFSearchTool,           # Search PDFs\n    WebsiteSearchTool,       # Search websites\n    CodeDocsSearchTool,      # Search code docs\n    YoutubeVideoSearchTool,  # Search YouTube\n)\n\n# Assign tools to agent\nresearcher = Agent(\n    role=\"Researcher\",\n    goal=\"Find accurate information\",\n    backstory=\"Expert at finding data online.\",\n    tools=[SerperDevTool(), ScrapeWebsiteTool()]\n)\n```\n\n### Custom tools\n\n```python\nfrom crewai.tools import BaseTool\nfrom pydantic import Field\n\nclass CalculatorTool(BaseTool):\n    name: str = \"Calculator\"\n    description: str = \"Performs mathematical calculations. Input: expression\"\n\n    def _run(self, expression: str) -> str:\n        try:\n            result = eval(expression)\n            return f\"Result: {result}\"\n        except Exception as e:\n            return f\"Error: {str(e)}\"\n\n# Use custom tool\nagent = Agent(\n    role=\"Analyst\",\n    goal=\"Perform calculations\",\n    tools=[CalculatorTool()]\n)\n```\n\n## YAML configuration (recommended)\n\n### Project structure\n\n```\nmy_project\u002F\n├── src\u002Fmy_project\u002F\n│   ├── config\u002F\n│   │   ├── agents.yaml    # Agent definitions\n│   │   └── tasks.yaml     # Task definitions\n│   ├── crew.py            # Crew assembly\n│   └── main.py            # Entry point\n└── pyproject.toml\n```\n\n### agents.yaml\n\n```yaml\nresearcher:\n  role: \"{topic} Senior Data Researcher\"\n  goal: \"Uncover cutting-edge developments in {topic}\"\n  backstory: >\n    You're a seasoned researcher with a knack for uncovering\n    the latest developments in {topic}. Known for your ability\n    to find relevant information and present it clearly.\n\nreporting_analyst:\n  role: \"Reporting Analyst\"\n  goal: \"Create detailed reports based on research data\"\n  backstory: >\n    You're a meticulous analyst who transforms raw data into\n    actionable insights through well-structured reports.\n```\n\n### tasks.yaml\n\n```yaml\nresearch_task:\n  description: >\n    Conduct thorough research about {topic}.\n    Find the most relevant information for {year}.\n  expected_output: >\n    A list with 10 bullet points of the most relevant\n    information about {topic}.\n  agent: researcher\n\nreporting_task:\n  description: >\n    Review the research and create a comprehensive report.\n    Focus on key findings and recommendations.\n  expected_output: >\n    A detailed report in markdown format with executive\n    summary, findings, and recommendations.\n  agent: reporting_analyst\n  output_file: report.md\n```\n\n### crew.py\n\n```python\nfrom crewai import Agent, Crew, Process, Task\nfrom crewai.project import CrewBase, agent, crew, task\nfrom crewai_tools import SerperDevTool\n\n@CrewBase\nclass MyProjectCrew:\n    \"\"\"My Project crew\"\"\"\n\n    @agent\n    def researcher(self) -> Agent:\n        return Agent(\n            config=self.agents_config['researcher'],\n            tools=[SerperDevTool()],\n            verbose=True\n        )\n\n    @agent\n    def reporting_analyst(self) -> Agent:\n        return Agent(\n            config=self.agents_config['reporting_analyst'],\n            verbose=True\n        )\n\n    @task\n    def research_task(self) -> Task:\n        return Task(config=self.tasks_config['research_task'])\n\n    @task\n    def reporting_task(self) -> Task:\n        return Task(\n            config=self.tasks_config['reporting_task'],\n            output_file='report.md'\n        )\n\n    @crew\n    def crew(self) -> Crew:\n        return Crew(\n            agents=self.agents,\n            tasks=self.tasks,\n            process=Process.sequential,\n            verbose=True\n        )\n```\n\n### main.py\n\n```python\nfrom my_project.crew import MyProjectCrew\n\ndef run():\n    inputs = {\n        'topic': 'AI Agents',\n        'year': 2025\n    }\n    MyProjectCrew().crew().kickoff(inputs=inputs)\n\nif __name__ == \"__main__\":\n    run()\n```\n\n## Flows - Event-driven orchestration\n\nFor complex workflows with conditional logic, use Flows:\n\n```python\nfrom crewai.flow.flow import Flow, listen, start, router\nfrom pydantic import BaseModel\n\nclass MyState(BaseModel):\n    confidence: float = 0.0\n\nclass MyFlow(Flow[MyState]):\n    @start()\n    def gather_data(self):\n        return {\"data\": \"collected\"}\n\n    @listen(gather_data)\n    def analyze(self, data):\n        self.state.confidence = 0.85\n        return analysis_crew.kickoff(inputs=data)\n\n    @router(analyze)\n    def decide(self):\n        return \"high\" if self.state.confidence > 0.8 else \"low\"\n\n    @listen(\"high\")\n    def generate_report(self):\n        return report_crew.kickoff()\n\n# Run flow\nflow = MyFlow()\nresult = flow.kickoff()\n```\n\nSee [Flows Guide](references\u002Fflows.md) for complete documentation.\n\n## Memory system\n\n```python\n# Enable all memory types\ncrew = Crew(\n    agents=[researcher],\n    tasks=[research_task],\n    memory=True,           # Enable memory\n    embedder={             # Custom embeddings\n        \"provider\": \"openai\",\n        \"config\": {\"model\": \"text-embedding-3-small\"}\n    }\n)\n```\n\n**Memory types:** Short-term (ChromaDB), Long-term (SQLite), Entity (ChromaDB)\n\n## LLM providers\n\n```python\nfrom crewai import LLM\n\nllm = LLM(model=\"gpt-4o\")                              # OpenAI (default)\nllm = LLM(model=\"claude-sonnet-4-5-20250929\")                       # Anthropic\nllm = LLM(model=\"ollama\u002Fllama3.1\", base_url=\"http:\u002F\u002Flocalhost:11434\")  # Local\nllm = LLM(model=\"azure\u002Fgpt-4o\", base_url=\"https:\u002F\u002F...\")              # Azure\n\nagent = Agent(role=\"Analyst\", goal=\"Analyze data\", llm=llm)\n```\n\n## CrewAI vs alternatives\n\n| Feature | CrewAI | LangChain | LangGraph |\n|---------|--------|-----------|-----------|\n| **Best for** | Multi-agent teams | General LLM apps | Stateful workflows |\n| **Learning curve** | Low | Medium | Higher |\n| **Agent paradigm** | Role-based | Tool-based | Graph-based |\n| **Memory** | Built-in | Plugin-based | Custom |\n\n## Best practices\n\n1. **Clear roles** - Each agent should have a distinct specialty\n2. **YAML config** - Better organization for larger projects\n3. **Enable memory** - Improves context across tasks\n4. **Set max_iter** - Prevent infinite loops (default 15)\n5. **Limit tools** - 3-5 tools per agent max\n6. **Rate limiting** - Set max_rpm to avoid API limits\n\n## Common issues\n\n**Agent stuck in loop:**\n```python\nagent = Agent(\n    role=\"...\",\n    max_iter=10,           # Limit iterations\n    max_rpm=5              # Rate limit\n)\n```\n\n**Task not using context:**\n```python\ntask2 = Task(\n    description=\"...\",\n    context=[task1],       # Explicitly pass context\n    agent=writer\n)\n```\n\n**Memory errors:**\n```python\n# Use environment variable for storage\nimport os\nos.environ[\"CREWAI_STORAGE_DIR\"] = \".\u002Fmy_storage\"\n```\n\n## References\n\n- **[Flows Guide](references\u002Fflows.md)** - Event-driven workflows, state management\n- **[Tools Guide](references\u002Ftools.md)** - Built-in tools, custom tools, MCP\n- **[Troubleshooting](references\u002Ftroubleshooting.md)** - Common issues, debugging\n\n## Resources\n\n- **GitHub**: https:\u002F\u002Fgithub.com\u002FcrewAIInc\u002FcrewAI (25k+ stars)\n- **Docs**: https:\u002F\u002Fdocs.crewai.com\n- **Tools**: https:\u002F\u002Fgithub.com\u002FcrewAIInc\u002FcrewAI-tools\n- **Examples**: https:\u002F\u002Fgithub.com\u002FcrewAIInc\u002FcrewAI-examples\n- **Version**: 1.2.0+\n- **License**: MIT\n",{"name":5,"license":15,"metadata":24,"description":7},{"tags":25,"author":36,"version":37,"dependencies":38},[26,27,28,29,30,31,32,33,34,35],"Agents","CrewAI","Multi-Agent","Orchestration","Collaboration","Role-Based","Autonomous","Workflows","Memory","Production","Orchestra Research","1.0.0",[39,40],"crewai>=1.2.0","crewai-tools>=1.2.0","main","1e72c52e0f3ffd72fbc6ba994fda0f4a6d63911a","payloads\u002Fskills\u002Fagents-crewai","https:\u002F\u002Fgithub.com\u002Forigin-labs-ai\u002Fcode","https:\u002F\u002Fgithub.com\u002Forigin-labs-ai","2026-11-14 20:35:25",{"source":8,"skillName":5,"commands":48,"prompt":58,"zipAvailable":59},[49,52,55],{"tool":50,"command":51},"npx","npx skills add origin-labs-ai\u002Fcode --skill agents-crewai",{"tool":53,"command":54},"bunx","bunx skills add origin-labs-ai\u002Fcode --skill agents-crewai",{"tool":56,"command":57},"pnpm","pnpm dlx skills add origin-labs-ai\u002Fcode --skill agents-crewai","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Forigin-labs-ai\u002Fcode\u002Fblob\u002Fmain\u002Fpayloads\u002Fskills\u002Fagents-crewai\u002FSKILL.md",true,[61,67,71],{"path":62,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Fflows.md","REFERENCE","参考文档",9846,"https:\u002F\u002Fgithub.com\u002Forigin-labs-ai\u002Fcode\u002Fblob\u002Fmain\u002Fpayloads\u002Fskills\u002Fagents-crewai\u002Freferences\u002Fflows.md",{"path":68,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":69,"sourceHtmlUrl":70},"references\u002Ftools.md",10283,"https:\u002F\u002Fgithub.com\u002Forigin-labs-ai\u002Fcode\u002Fblob\u002Fmain\u002Fpayloads\u002Fskills\u002Fagents-crewai\u002Freferences\u002Ftools.md",{"path":72,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Ftroubleshooting.md",8933,"https:\u002F\u002Fgithub.com\u002Forigin-labs-ai\u002Fcode\u002Fblob\u002Fmain\u002Fpayloads\u002Fskills\u002Fagents-crewai\u002Freferences\u002Ftroubleshooting.md",[76,84,92,100,108,117],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":80,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7BP6Z7NBQXMB8Y5ZRR7PGCF","web-search","Implement web search capabilities using the z-ai-web-dev-sdk. Use this skill when the user needs to search for real-time information from the web, retrieve up-to-date content beyond the knowledge cutoff, or find the latest news and data. Returns structured search results with URLs, snippets, and metadata.","https:\u002F\u002Fgithub.com\u002Forigin-labs-ai\u002Fcode\u002Fblob\u002Fmain\u002Fwindows\u002Fsonar\u002Fmerger\u002Fcode-fusion-dead-20261101\u002Fskills\u002Fweb-search\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Forigin-labs-ai\u002Fcode\u002Fblob\u002Fmain\u002Fwindows\u002Fsonar\u002Fmerger\u002Fcode-fusion-dead-20261101\u002Fskills\u002Fweb-search\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":88,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7BP6T13CWYHZSHGYG0RT885","web-reader","Implement web page content extraction capabilities using the z-ai-web-dev-sdk. Use this skill when the user needs to scrape web pages, extract article content, retrieve page metadata, or build applications that process web content. Supports automatic content extraction with title, HTML, and publication time retrieval.","https:\u002F\u002Fgithub.com\u002Forigin-labs-ai\u002Fcode\u002Fblob\u002Fmain\u002Fwindows\u002Fsonar\u002Fmerger\u002Fcode-fusion-dead-20261101\u002Fskills\u002Fweb-reader\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Forigin-labs-ai\u002Fcode\u002Fblob\u002Fmain\u002Fwindows\u002Fsonar\u002Fmerger\u002Fcode-fusion-dead-20261101\u002Fskills\u002Fweb-reader\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":96,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M7BP6GM9Z301PPT4ZRV049AN","video-understand","Implement specialized video understanding capabilities using the z-ai-web-dev-sdk. Use this skill when the user needs to analyze video content, understand motion and temporal sequences, extract information from video frames, describe video scenes, or perform video-based AI analysis. Optimized for MP4, AVI, MOV, and other common video formats.","https:\u002F\u002Fgithub.com\u002Forigin-labs-ai\u002Fcode\u002Fblob\u002Fmain\u002Fwindows\u002Fsonar\u002Fmerger\u002Fcode-fusion-dead-20261101\u002Fskills\u002Fvideo-understand\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Forigin-labs-ai\u002Fcode\u002Fblob\u002Fmain\u002Fwindows\u002Fsonar\u002Fmerger\u002Fcode-fusion-dead-20261101\u002Fskills\u002Fvideo-understand\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":104,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":19},"01M7BP6ANRHQ1K7PVS11RBZCC7","Video Generation","Implement AI-powered video generation capabilities using the z-ai-web-dev-sdk. Use this skill when the user needs to generate videos from text prompts or images, create video content programmatically, or build applications that produce video outputs. Supports asynchronous task management with status polling and result retrieval.","https:\u002F\u002Fgithub.com\u002Forigin-labs-ai\u002Fcode\u002Fblob\u002Fmain\u002Fwindows\u002Fsonar\u002Fmerger\u002Fcode-fusion-dead-20261101\u002Fskills\u002Fvideo-generation\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Forigin-labs-ai\u002Fcode\u002Fblob\u002Fmain\u002Fwindows\u002Fsonar\u002Fmerger\u002Fcode-fusion-dead-20261101\u002Fskills\u002Fvideo-generation\u002FSKILL.md",[],[],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":112,"licenseFileUrl":113,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":19},"01M7BP56W5SX2MMJWKMJVC66F0","skill-creator","Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Forigin-labs-ai\u002Fcode\u002Fblob\u002Fmain\u002Fwindows\u002Fsonar\u002Fmerger\u002Fcode-fusion-dead-20261101\u002Fskills\u002Fskill-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Forigin-labs-ai\u002Fcode\u002Fblob\u002Fmain\u002Fwindows\u002Fsonar\u002Fmerger\u002Fcode-fusion-dead-20261101\u002Fskills\u002Fskill-creator\u002FSKILL.md",[],[],{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":112,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":19},"01M7BP503HPG0DBCN4K0JKCA88","seo-content-writer","Use when the user asks to \"write SEO content\", \"create a blog post\", \"write an article\", \"content writing\", \"draft optimized content\", \"write me an article\", \"create a blog post about\", \"help me write SEO content\", or \"draft content for\". Creates high-quality, SEO-optimized content that ranks in search engines. Applies on-page SEO best practices, keyword optimization, and content structure for maximum visibility and engagement. For AI citation optimization, see geo-content-optimizer. For updating existing content, see content-refresher.","https:\u002F\u002Fgithub.com\u002Forigin-labs-ai\u002Fcode\u002Fblob\u002Fmain\u002Fwindows\u002Fsonar\u002Fmerger\u002Fcode-fusion-dead-20261101\u002Fskills\u002Fseo-content-writer\u002FSKILL.md",[],[]]