Guide to Using CrewAI: A Large Language Model Agent Collaboration Tool

This article introduces the core concepts, regular operations, and tool usage of the large language model agent collaboration tool CrewAI.

Official website: https://www.crewai.com

Github: https://github.com/joaomdmoura/crewAI

  • 1. Agent – What is an agent?

    • (1). Agent Properties

    • (2). Creating an Agent

    • (3). Conclusion

  • 2. Task – Overview of Tasks

    • (1). Task Properties

    • (2). Creating a Task

    • (3). Integrating Tools with Tasks

    • (4). Creating Tasks Using Tools

    • (5). Referencing Other Tasks

    • (6). Asynchronous Execution

    • (7). Callback Mechanism

    • (8). Accessing Specific Task Outputs

    • (9). Tool Override Mechanism

    • (10). Error Handling and Validation Mechanisms

    • (11). Conclusion

  • 3. Tool – What is a Tool?

    • (1). Key Features of Tools

    • (2). Using CrewAI Tools

    • (3). Available CrewAI Tools

    • (4). Creating Your Own Tools

    • (5). Using LangChain Tools

    • (6). Conclusion

  • 4. Process – Understanding Processes

    • (1). Process Implementation

    • (2). The Role of Processes in Team Collaboration

    • (3). Assigning Processes to Crews

    • (4). Sequential Processes

    • (5). Hierarchical Processes

    • (6). Process Class: Detailed Overview

    • (7). Additional Task Features

    • (8). Conclusion

  • 5. Crews – What is a Crew?

    • (1). Crew Properties

    • (2). Creating a Crew

    • (3). Memory Utilization

    • (4). Cache Utilization

    • (5). Crew Usage Metrics

    • (6). Crew Execution Process

  • 6. Memory – Introduction to the Memory System

    • (1). Components of the Memory System

    • (2). How the Memory System Empowers Agents

    • (3). Implementing Memory in Your Crew

    • (4). Other Embedding Providers

    • (5). Benefits of Using the CrewAI Memory System

  • 1. Installing CrewAI

    • (1). Installation

  • 2. Creating and Utilizing Tools in CrewAI

    • (1). Prerequisites

    • (2). Subclassing BaseTool

    • (3). Using the tool Decorator

    • (4). Defining Cache Functions for Tools

  • 3. Overview of Sequential Processes

    • (1). Key Features

    • (2). Implementing Sequential Processes

    • (3). Workflow Examples

    • (4). Conclusion

  • 4. Overview of Hierarchical Processes

    • (1). Key Features

    • (2). Implementing Hierarchical Processes

    • (3). Workflow Examples

    • (4). Conclusion

  • 5. Connecting CrewAI to LLMs

    • (1). Overview of CrewAI Agents

    • (2). Ollama Integration

    • (3). HuggingFace Integration

    • (4). OpenAI Compatible API Endpoints

    • (5). Conclusion

  • 6. Customizable Attributes

    • (1). Key Customizable Attributes

    • (2). Advanced Customization Options

    • (3). Performance and Debugging Settings

    • (4). Customizing Agents and Tools

    • (5). Delegation and Autonomy

    • (6). Conclusion

  • 7. Human Input in Agent Execution

    • (1). Using CrewAI for Human Input

    • (2). Example:

  • 8. AgentOps

    • (1). Overview

    • (2). Features

    • (3). Using AgentOps

    • (4). Crew + AgentOps Example

    • (5). More Information

  • 1. Installation

  • 2. Text Search Tool

    • (1). Description

    • (2). Example

    • (3). Parameters

    • (4). Custom Models and Embeddings

  • 3. PDFSearchTool

    • (1). Description

    • (2). Example

    • (3). Parameters

    • (4). Custom Models and Embeddings

  • 4. DOCXSearchTool

    • (1). Description

    • (2). Example

    • (3). Parameters

    • (4). Custom Models and Embeddings

  • 5. DirectoryReadTool

    • (1). Description

    • (2). Example

    • (3). Parameters

  • 6. Directory Search Tool

    • (1). Description

    • (2). Initialization and Usage

    • (3). Parameters

    • (4). Custom Models and Embeddings

  • 7. CSVSearchTool

    • (1). Description

    • (2). Example

    • (3). Parameters

    • (4). Custom Models and Embeddings

  • 8. File Read Tool

    • (1). Description

    • (2). Example Usage

    • (3). Parameters

  • 9. MDXSearchTool

    • (1). Description

    • (2). Example Usage

    • (3). Parameters

    • (4). Custom Models and Embeddings

  • 10. Web Scraping Tool

    • (1). Description

    • (2). Example Usage

    • (3). Parameters

  • 11. Website Search Tool

    • (1). Description

    • (2). Example Usage

    • (3). Parameters

  • 12. Selenium Scraping Tool

    • (1). Description

    • (2). Example Usage

    • (3). Parameters

  • 13. PGSearchTool

    • (1). Description

    • (2). Example Usage

    • (3). Parameters

Leave a Comment