A. Use Twitter as a way to receive messages from the world. Think of it as building an interactive website, except that "Twitter" is your website, which means that the infrastructure is already built for you, but you are constrained by Twitter's API (i.e. the only way for users to message your bot is to send it a Tweet).

B. send the things it learns and deduces in a 140-character text message that is public to the world.

By "learns and deduces", I mean that you've designed a program to collect, cull, and process a bunch of data. It could be as simple as: "Given a Congressmember's last name, find their most recent roll call vote." Calculating the "most recent roll call vote" is a kind of calculation, the computer takes a bunch of date values and sorts them.

The tweet is only one the medium of communication. You may end up using this same data-processing script but publishing a full-fledged web application from it.

The memo should consist of these sections:

The Pitch: 100 words generally describing the point of your "bot"

The Steps: In as much granular detail as possible, describe each step your bot needs to take. Everything from, "it sends a tweet via Twitter's statuses/update endpoint" to "it takes a list of messages, sorts by date in most recent order, and chooses the first date". No step is too pedantic.

Requirements

You can work with a partner. Don't worry about the code, just write out all the steps. Assume that the medium for receiving/sending messages will be Twitter. I'll provide scripts for the actual logging into of Twitter.

Two feature requests

The bot can be relatively simple. But I have two feature requests:

The bot should be designed to respond to a user-generated event. An obvious example is, "someone sends a tweet with the bot's name".

The bot should find/calculate something "not on the surface". So a bot that, in response to a tweet, responds with that Twitter user's follower count, is not very interesting because looking up a given user's follower count is as easy as visiting their Twitter page. However, responding with that user's number of tweets per day in the last 14 days is a derived fact not immediately apparent from the Twitter data.

So here are some less-than-ideal bots for this example:

The @everyword bot (or its many profane imitators). It doesn't react to anything, it just keeps an internal record of the last word it has tweeted and all the words it needs to eventually retweet. Also, it doesn't really calculate anything, except the initial ordering of all the English words in the dictionary before tweeting each one, one at a time.