How do you ensure that only one assigned agent executes

Hi Team,

I have a network of agents and it is polling my query to all the agents. How would i ensure that identified task needs to be carried out by assigned agents and then return the response and close the call.

I changed from sequential to hierarchical

process=Process.hierarchical,
manager_agent=self.spacez_manager(),

but it still poll all the agents.

any clue?

Can you tell me more about what you are trying to do and achieve. With more context I might be able to point you in the right direction