Adding alerts to agent instance object