This article was published on March 8, 2013

Dear Assistant: A Twitter bot that uses Wolfram Alpha to answer your burning questions


Dear Assistant: A Twitter bot that uses Wolfram Alpha to answer your burning questions

Twitter bots are nothing new, but Dear Assistant is unique. It leverages Wolfram Alpha, the ā€œanswer engineā€ from Wolfram Research, to answer your questions on the social network.

We first stumbled on Dear Assistant by chance earlier this morning. A quick check through its tweets, which include answers to word meanings, weather conditions, language translation, time zone conversions, date calculations, led us to this gem:

As far as we could tell, this wasnā€™t built by Wolfram Alpha, but the answers certainly lined up. We asked Amit Agarwal, the botā€™s creator, if our guess was correct.

ā€œYou got that right,ā€ Agarwal told TNW in an email. ā€œThe bot is getting the answers through Wolfram. I have open sourced the bot so anyone can build upon it. The unique thing is that it is running as a Google Script inside Google Drive.ā€

Agarwal calls his creation ā€œa mini version of Siriā€ which actually isnā€™t too far off given that Siri also leverages Wolfram Alpha. Furthermore, he explains you can quickly recreate it yourself:

Writing a Twitter bot is surprisingly simple and you can get one up and running in 5 minutes. It helps if you know little bit of coding (simple JavaScript) but thatā€™s certainly not a requirement for writing a basic Twitter bot.

For full instructions on how to write your own Twitter bot, check out Agarwalā€™s instructions here. The source code is available here.

For more such news, you can follow our Twitter-specific account here and follow me here.

See also ā€“ Twitterā€™s API keys and secrets for its official apps surface; what should we do with them? and Twitter kills TweetDeck for iPhone, Android and AIR, drops Facebook integration, Mac and PC versions live on

Image credit: Iva Villi

Get the TNW newsletter

Get the most important tech news in your inbox each week.

Also tagged with