'''Friendly artificial intelligence''' (also '''friendly AI''' or '''FAI''') is hypothetical [[artificial general intelligence]] (AGI) that would have a positive (benign) effect on humanity or at least [[AI alignment|align]] with human interests or contribute to fostering the improvement of the human species. It is a part of the [[ethics of artificial intelligence]] and is closely related to [[machine ethics]]. While machine ethics is concerned with how an artificially intelligent agent ''should'' behave, friendly artificial intelligence research is focused on how to practically bring about this behavior and ensuring it is adequately constrained.