HI, if I have same agent and task but difference inputs(difference person character), should I just can make agent and task multiple time?

Use case is I want to compare 3 books

Agent1(task1): learn person A character from diary
Agent2(task2): learn person B character from diary
Agent3(task3): learn person C character from diary
Agent4(task4): comparison 3 guys similarities and differences. and answer question from user

For Agent1~3, I made 3 agents and tasks.
But the role, backstory, goal for agent, and description and expected_output is same in this 3 agents.

If I need to learn more people character, it will make too many agent multiple time, any other way to let the process more simple?

You can create I crew to do the analysis you want, in this case people. You can trigger is with kickoff_for_each_async. After you get the results you can have another crew to answer user queries. See kickoff_for_each_async in the docs linked below

1 Like