Can agno achieve parallelization?

I want to split a large set of data into multiple smaller parts (split by an agent), then assign them to multiple same(or not same) agents/workflows/teams for parallel execution, and finally merge the results.

I can manually split the data and assign tasks, but I want to know if agno can handle this entirely on its own.

Hi @huangsh
Thanks for reaching out and for using Agno! I’ve looped in the right engineers to help with your question. We usually respond within 48 hours, but if this is urgent, just let us know, and we’ll do our best to prioritize it.
Appreciate your patience—we’ll get back to you soon! :smile:

Yes! There are various ways and it depends on how you want to construct it specifically.
Perhaps a collaborative team could work Collaborate - Agno

Otherwise the Coordinate - Agno coordinate team

For both of these I can recommend running in async mode, i.e. to use arun or aprint_response

@Dirk Hi, thank your for your reply. What I mean is the parallelization task is planned by agent, not by human. could you provide some demo code?

Yes so the links I provided is for a team of agents, where the Team actually is itself an agent. So it does plan which agents in the team to call. If run in async mode, then these functions are also run in parallel, so it then achieves parallelization

1 Like