1. A method implemented by a second computing device, the method comprising: receiving, from a first execution environment managing a software agent on a first computing device distinct from the second computing device, a configuration request to configure a second execution environment for the software agent; receiving, from the first execution environment, a policy associated with the first execution environment, wherein the software agent is not compliant with the received policy; executing the software agent within the second execution environment on the second computing device; modifying the received policy by integrating configuration data derived from the execution of the software agent within the second execution environment on the second computing device such that the software agent is compliant with the modified policy; and executing the software agent in the second execution environment in compliance with the modified policy.