Add this line to your application's Gemfile:

gem 'programr', github: 'bolasblack/programr', branch: 'master'

And then execute:

$ bundle install

You can find a set of ALICE AIML files hosted at



Read the file example.rb


Read the file docs/


  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request


This is a fork of (authored in 2007) from robertjwhitney/programr.

ProgramR is a Ruby implementation of an interpreter for the Artificial Intelligence Markup Language (AIML) based on the work of Dr. Wallace and defined by the Alicebot and AIML Architecture Committee of the A.L.I.C.E. AI Foundation

Some of the ALICE AIML files have thrown parse errors with certain caraters in @robertjwhitney's tests, so a subset is available here:

Original Authors: Mauro Cicio, Nicholas H.Tollervey and Ben Minton