CrewAI Framework

CrewAI framework components enable multi-agent collaboration with specialized roles and coordinated task execution.

CrewAI Agent

This component represents an Agent of CrewAI, allowing for the creation of specialized AI agents with defined roles, goals, and capabilities within a crew.

Inputs

Name
Display Name
Info

role

Role

The role of the agent

goal

Goal

The objective of the agent

backstory

Backstory

The backstory of the agent

tools

Tools

Tools at agent's disposal

llm

Language Model

Language model that will run the agent

memory

Memory

Whether the agent should have memory or not

verbose

Verbose

Enables verbose output

allow_delegation

Allow Delegation

Whether the agent is allowed to delegate tasks to other agents

allow_code_execution

Allow Code Execution

Whether the agent is allowed to execute code

kwargs

kwargs

Additional keyword arguments for the agent

Outputs

Name
Display Name
Info

output

Agent

The constructed CrewAI Agent object

Hierarchical Crew

This component represents a group of agents, managing how they should collaborate and the tasks they should perform in a hierarchical structure. This component allows for the creation of a crew with a manager overseeing the task execution.

Inputs

Name
Display Name
Info

agents

Agents

List of Agent objects representing the crew members

tasks

Tasks

List of HierarchicalTask objects representing the tasks to be executed

manager_llm

Manager LLM

Language model for the manager agent (optional)

manager_agent

Manager Agent

Specific agent to act as the manager (optional)

verbose

Verbose

Enables verbose output for detailed logging

memory

Memory

Specifies the memory configuration for the crew

use_cache

Use Cache

Enables caching of results

max_rpm

Max RPM

Sets the maximum requests per minute

share_crew

Share Crew

Determines if the crew information is shared among agents

function_calling_llm

Function Calling LLM

Specifies the language model for function calling

Outputs

Name
Display Name
Info

crew

Crew

The constructed Crew object with hierarchical task execution

Sequential Crew

This component represents a group of agents with tasks that are executed sequentially. This component allows for the creation of a crew that performs tasks in a specific order.

Inputs

Name
Display Name
Info

tasks

Tasks

List of SequentialTask objects representing the tasks to be executed

verbose

Verbose

Enables verbose output for detailed logging

memory

Memory

Specifies the memory configuration for the crew

use_cache

Use Cache

Enables caching of results

max_rpm

Max RPM

Sets the maximum requests per minute

share_crew

Share Crew

Determines if the crew information is shared among agents

function_calling_llm

Function Calling LLM

Specifies the language model for function calling

Outputs

Name
Display Name
Info

crew

Crew

The constructed Crew object with sequential task execution

Sequential Task Agent

This component creates a CrewAI Task and its associated Agent, allowing for the definition of sequential tasks with specific agent roles and capabilities.

Inputs

Name
Display Name
Info

role

Role

The role of the agent

goal

Goal

The objective of the agent

backstory

Backstory

The backstory of the agent

tools

Tools

Tools at agent's disposal

llm

Language Model

Language model that will run the agent

memory

Memory

Whether the agent should have memory or not

verbose

Verbose

Enables verbose output

allow_delegation

Allow Delegation

Whether the agent is allowed to delegate tasks to other agents

allow_code_execution

Allow Code Execution

Whether the agent is allowed to execute code

agent_kwargs

Agent kwargs

Additional kwargs for the agent

task_description

Task Description

Descriptive text detailing task's purpose and execution

expected_output

Expected Task Output

Clear definition of expected task outcome

async_execution

Async Execution

Boolean flag indicating asynchronous task execution

previous_task

Previous Task

The previous task in the sequence (for chaining)

Outputs

Name
Display Name
Info

task_output

Sequential Task

List of SequentialTask objects representing the created tasks

Last updated