Skip to content

How to Parallelize Agents in a GroupChat Workflow #4215

Answered by ekzhu
anusonawane asked this question in Q&A
Discussion options

You must be logged in to vote

Does the autogen.GroupChatManager support parallel execution natively? If not, are there any recommended patterns or libraries for implementing parallelism in this context?

The v0.2 group chat does not support parallel speakers. You would need to upgrade to v0.4 and use the Core API. Though at this point you need to do a bit more work to set this up. You can follow the example patterns, especially Mixture of Agents, for how to create parallel agents.

The Group Chat pattern is by design a sequential execution pattern. For parallel execution I think mixture of agents is a good starting point.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jackgerrits
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants