Add event for add-agent