Legacy-FritBot is a project mainly written in PYTHON and JAVASCRIPT, it's free.
A Jabber-based chatbot