This short article discusses the relationship between artificial intelligence and psychology, in addition to the history and employment areas of AI algorithms in diagnosis and psychotherapy.