Can you please let me know how you have configured multiple agents with screen shot and when you configured those(Before the queue items created or after)
Which version of PRPC you are using ?
What kind of agents you are trying to process.
Please check the agent name in all the queue items and let us know(all queue items with the same agent name or two different agent names (pyAgentName is the table column))?
Please find my explanation for your requirement.
With the current design of PRPC, it is possible to fix your problem with horizontal scaling environment(multi node environment).
Till 7.2.2 instance we don't have any possibility to address this requirement with vertical scaling(Multiple agent with single node) . But I think from 7.2.2 onwards there is a possibility for vertical scaling as well.
I'm not sure I fully understand how you're trying to implement this. In theory, if you have a master agent that takes a work object and then does a queue-for-agent and based on a counter or similar does it to CustomAgent1, CustomAgent2 and so on that CustomAgent1 and CustomAgent2 shouldn't be running simultaneously. Of course the master agent has to feed the various child agents quick enough that they have work to do. Otherwise, you will see what appears to be one agent running at a time, and that's just because only one agent has work to do.
Can you add some screen shots of how you have these agents implemented so we can see where we might offer suggestions for improvement?