Foundations of Intelligent Systems