A comprehensive guide to utilizing the sequential processes for task execution in CrewAI projects.
Task
includes an agent
parameter.
allow_delegation
set to True
, they can delegate tasks to other agents in the crew.
This feature is automatically set up when there are multiple agents in the crew.
async_execution=True
when defining the task.
memory=True
when creating the Crew. This allows agents to retain information across tasks.cache=False
to disable it.task_callback
: Executed after each task completion.step_callback
: Executed after each step in an agent’s execution.