AI Software

Our online software repository contains sample AI algorithms written in Prolog, Lisp, and Java. In addition, we have built a small collection of demonstration programs that help the reader visualize the processes of certain algorithms. Note that the Prolog codes were written for the C-Prolog system, and may require slight modifications to run in other interpreters.

For the Sixth Edition, the code has been moved from the AI book itself and presented in a more detailed format in in Prolog, Lisp, and Java. The code is available following the link below. It is described in detail in our new book AI Algorithms, Data Structures, and Idioms in Prolog, Lisp, and Java, Luger and Stubblefield, Addison Wesley, 2009.

Sample Code from the Text

Algorithm Demonstrations

We also provide contributed student code. These samples include extensions to code from the book, and implementations of algorithms described in the text but not covered in the programming chapters.

Contributed Code

We also furnish links to sites where the user can download Prolog and Lisp interpreters.


Purchase Online

Pearson (Addison-Wesley)

Barnes & Noble


Inside The Book

Table of Contents (PDF)

Chapter One

Inside The Supplemental Book

Preface (PDF)

Chapter One