1. A method for configuring agent classes to implement an interface comprising: analyzing, by an agent executing on a virtual machine, an interface definition for the interface to be implemented by the agent, the agent monitoring distributed business transactions; analyzing, by the agent, an agent class intended to implement the interface, to determine methods that are defined in the interface but not included in the agent class; modifying, by the agent, the agent class to comply with the interface definition by dynamically adding methods determined to be missing based on the analysis of the agent class; and loading, by the agent, the modified agent class from the agent to the virtual machine to implement the interface.