1. A method, comprising: detecting an event in a local environment of a first machine; discovering a policy associated with the event, wherein the policy is discovered by requesting advice of a second machine in response to the event; and performing one or more actions on the first machine in response to received advice from the second machine.