AI as a collection of programs