Parallel Agent Execution #5337
Unanswered
martimfasantos
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
How about this? task1 = asyncio.create_task(agent1.run(task="..."))
task2 = asyncio.create_task(agent2.run(task="..."))
results = await asyncio.gather(task1, task2)Curious what's your context? If you want to run two parallel teams in AgentChat, you need to create a custom agent and have the above code executed within that agent. If you are using Core API, this is natively supported via agent runtime. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Is it possible to execute two SocietyOfMindAgents in parallel, so each one executes their inner-team members and each one does different tool calls in parallel? I am struggling to find documentation about that. Thanks :)
Beta Was this translation helpful? Give feedback.
All reactions