Frequently asked questions about CrewAI Enterprise
How is task execution handled in the hierarchical process?
In the hierarchical process, a manager agent is automatically created and coordinates the workflow, delegating tasks and validating outcomes for streamlined and effective execution. The manager agent utilizes tools to facilitate task delegation and execution by agents under the manager’s guidance. The manager LLM is crucial for the hierarchical process and must be set up correctly for proper function.
Where can I get the latest CrewAI documentation?
The most up-to-date documentation for CrewAI is available on our official documentation website: https://docs.crewai.com/
What are the key differences between Hierarchical and Sequential Processes in CrewAI?
manager_llm
) must be specified for the manager agentThe hierarchical process is better suited for complex projects because it allows for:
What are the benefits of using memory in the CrewAI framework?
What is the purpose of setting a maximum RPM limit for an agent?
Setting a maximum RPM limit for an agent prevents the agent from making too many requests to external services, which can help to avoid rate limits and improve performance.
What role does human input play in the execution of tasks within a CrewAI crew?
Human input allows agents to request additional information or clarification when necessary. This feature is crucial in complex decision-making processes or when agents require more details to complete a task effectively.
To integrate human input into agent execution, set the human_input
flag in the task definition. When enabled, the agent prompts the user for input before delivering its final answer. This input can provide extra context, clarify ambiguities, or validate the agent’s output.
For detailed implementation guidance, see our Human-in-the-Loop guide.
What advanced customization options are available for tailoring and enhancing agent behavior and capabilities in CrewAI?
CrewAI provides a range of advanced customization options:
llm
) and function-calling language models (function_calling_llm
)max_rpm
)max_iter
attribute allows users to define the maximum number of iterations an agent can perform for a single taskallow_delegation
attribute (default: True)In what scenarios is human input particularly useful in agent execution?
Human input is particularly useful when:
What are the different types of memory that are available in crewAI?
The different types of memory available in CrewAI are:
Learn more about the different types of memory:
How do I use Output Pydantic in a Task?
To use Output Pydantic in a task, you need to define the expected output of the task as a Pydantic model. Here’s a quick example:
Define a Pydantic model
Create a task with Output Pydantic
Set the output_pydantic attribute in your agent
Here’s a tutorial on how to consistently get structured outputs from your agents:
How can I create custom tools for my CrewAI agents?
You can create custom tools by subclassing the BaseTool
class provided by CrewAI or by using the tool decorator. Subclassing involves defining a new class that inherits from BaseTool
, specifying the name, description, and the _run
method for operational logic. The tool decorator allows you to create a Tool
object directly with the required attributes and a functional logic.
How can you control the maximum number of requests per minute that the entire crew can perform?
The max_rpm
attribute sets the maximum number of requests per minute the crew can perform to avoid rate limits and will override individual agents’ max_rpm
settings if you set it.
Frequently asked questions about CrewAI Enterprise
How is task execution handled in the hierarchical process?
In the hierarchical process, a manager agent is automatically created and coordinates the workflow, delegating tasks and validating outcomes for streamlined and effective execution. The manager agent utilizes tools to facilitate task delegation and execution by agents under the manager’s guidance. The manager LLM is crucial for the hierarchical process and must be set up correctly for proper function.
Where can I get the latest CrewAI documentation?
The most up-to-date documentation for CrewAI is available on our official documentation website: https://docs.crewai.com/
What are the key differences between Hierarchical and Sequential Processes in CrewAI?
manager_llm
) must be specified for the manager agentThe hierarchical process is better suited for complex projects because it allows for:
What are the benefits of using memory in the CrewAI framework?
What is the purpose of setting a maximum RPM limit for an agent?
Setting a maximum RPM limit for an agent prevents the agent from making too many requests to external services, which can help to avoid rate limits and improve performance.
What role does human input play in the execution of tasks within a CrewAI crew?
Human input allows agents to request additional information or clarification when necessary. This feature is crucial in complex decision-making processes or when agents require more details to complete a task effectively.
To integrate human input into agent execution, set the human_input
flag in the task definition. When enabled, the agent prompts the user for input before delivering its final answer. This input can provide extra context, clarify ambiguities, or validate the agent’s output.
For detailed implementation guidance, see our Human-in-the-Loop guide.
What advanced customization options are available for tailoring and enhancing agent behavior and capabilities in CrewAI?
CrewAI provides a range of advanced customization options:
llm
) and function-calling language models (function_calling_llm
)max_rpm
)max_iter
attribute allows users to define the maximum number of iterations an agent can perform for a single taskallow_delegation
attribute (default: True)In what scenarios is human input particularly useful in agent execution?
Human input is particularly useful when:
What are the different types of memory that are available in crewAI?
The different types of memory available in CrewAI are:
Learn more about the different types of memory:
How do I use Output Pydantic in a Task?
To use Output Pydantic in a task, you need to define the expected output of the task as a Pydantic model. Here’s a quick example:
Define a Pydantic model
Create a task with Output Pydantic
Set the output_pydantic attribute in your agent
Here’s a tutorial on how to consistently get structured outputs from your agents:
How can I create custom tools for my CrewAI agents?
You can create custom tools by subclassing the BaseTool
class provided by CrewAI or by using the tool decorator. Subclassing involves defining a new class that inherits from BaseTool
, specifying the name, description, and the _run
method for operational logic. The tool decorator allows you to create a Tool
object directly with the required attributes and a functional logic.
How can you control the maximum number of requests per minute that the entire crew can perform?
The max_rpm
attribute sets the maximum number of requests per minute the crew can perform to avoid rate limits and will override individual agents’ max_rpm
settings if you set it.