bigblueball.com
Google publishes XMPP API - Roll your own chat bot
The new XMPP API lets you program interactions with any Jabber network, including Google Talk and Google Wave.