I’m currently experimenting with NLTK’s chat package and Tweepy to build a Twitter Chatbot. I used the examples outlined in NLTK as a starting point and I extended the app to reply to tweets. Peter is a very basic chatbot, which I hope next to incorporate sentiment analysis and machine learning to make his responses more meaningful.

Peter can be found on twitter with the handle @starlord_p.

The code is on Github here.