Hi! I’m trying to figure out how to ensure that a reviewer agent in my setup can send tasks back to some of the other agents. From my understanding, if the process is sequential, it seems like tasks cannot be sent back.
Can anyone guide me on:
- How to configure the agents to allow a reviewer agent to send tasks back?
- How to ensure the reviewer’s output matches what I need?
Any insights or examples would be greatly appreciated!
Thanks!
If the process is sequential, you can still use the context
parameter to customize it. By default, the output of one task serves as context for the next task, following the predefined order in the task list. But you can customize that and send task outputs “back”, as you say. As stated in the docs:
Sequential Process
This method mirrors dynamic team workflows, progressing through tasks in a thoughtful and systematic manner. Task execution follows the predefined order in the task list, with the output of one task serving as context for the next.
To customize task context, utilize the context
parameter in the Task
class to specify outputs that should be used as context for subsequent tasks.