This book elaborates the artificial intelligence theories behind the Case-Based Teaching Architecture developed at the Institute for the Learning Sciences. The book is for anyone who wants a technical discussion, but who is not a trained AI researcher.