1. A method for delivering an agent on a machine, comprising: loading an interface definition on a machine; analyzing an agent class intended to implement an interface complying with the interface definition; and modifying the agent class to comply with the interface definition.