Whenever I dive into a new bit of coding, I look for an example. A simple to use, doesn't do much example. From the example here, which is too complex to show the basics, I derived this simple python xmpp program.
import xmpp, os, sys
cl.send(xmpp.protocol.Message("firstname.lastname@example.org","I am a test message, you sly dog, you."))
Indeed it is missing everything but I was able to im myself without worrying too much about other junk. Instant gratification is -very- important in programming. It doesn't even take responses, but it works well enough. To use it, replace my username and such with yours. Magic!
Yes, I'm writing another bot. Yes, I have some genetic need to write bots for all mediums. (last one was an IRC bot for the game studio I cofounded and augered into the ground) You'll need to apt-get python-xmpp before this will work.