event: trigger agent on target and target state changes