Improving the use of cloud resources for multi agent scalability