Welcome to Hailo

Hailo is a a pluggable Markov engine intended to be a fast and scalable replacement for MegaHAL. Hailo is written in Perl and uses a RDBMS (SQLite, PostgreSQL or MySQL) as a backend to store its brain.

Unlike MegaHAL it can handle brains of arbitrary size (whatever your RDBMS can take), properly supports learning in any Unicode language and generates replies in a fraction of the time MegaHAL does.

Hailo can be used either as a Perl module or via the hailo command-line interface. See the main documentation for more information.


Hailo is packaged on the CPAN. If you’re unfamiliar with using the CPAN the easiest way to install Hailo is with cpanminus, for example:

# install cpanminus if you haven't already
curl -L http://cpanmin.us | perl - --sudo App::cpanminus

# install Hailo with cpanminus
cpanm --sudo Hailo


If you have any questions or issues, you can reach us in the #hailo IRC channel on FreeNode.

You can submit bug reports at rt.cpan.org or send them by email to bug-Hailo@rt.cpan.org.