'Initialize the agent
@param agent_id: the agent ID (string), a unique XML
identifier for the widget configuration
@param widget: the widget (S3DashboardWidget instance)
@param config: the widget configuration (dict)
@param version: the config version'

def __init__(self, agent_id, widget=None, config=None, version=None):

    self.agent_id = agent_id
    self.widget = widget
    self.config = config
    self.version = version
