agentManager -> allAgents (for unit test)