This book is an attempt to explain cognition—thought, perception, emotion, experience—in terms of a machine, that is, using a cognitive architecture. Principles of Synthetic Intelligence PSI (2009)