the-general-problem-solver icon indicating copy to clipboard operation
the-general-problem-solver copied to clipboard

The General Problem Solver, AI's 'first' algorithm, written in multiple programming languages.

The General Problem Solver Program Issue Count

Herbert Simon, J.C Shaw and Allen Newell's General Problem Solver Program (GPS) is one of the earliest AI program in existence, succeeding the Logic Theorist Program which arguably was the first AI program. The repo contains implementations of the GPS in multiple programming languages.

I made a video working through the python implementation of this algorithm. It's available here on Youtube

Languages Implemented So Far

  • Common Lisp
  • C (In Progress...)
  • C++
  • Go (In Progress...)
  • Java
  • Javascript
  • Python
  • Ruby (In Progress...)
  • Typescript

Other Resources For Understanding