daim is an IM client and library that supports many features, including add-ins, AIM proxy, buddy icons, chat, direct IM, file transfer, file sharing, send buddy list, and Trillian secureIM. It also supports retrieving News and Stocks, and scripting through Apache BSF. It also supports ICQ, can emulate Apple's iChat client, and supports iChat available messages as well.
Twisted Words provides implementations of a handful of IM protocols, including IRC, MSNP8, OSCAR, TOC, and Jabber. It also comes with a multi-protocol server built around a few simple interfaces, the goal of which is to facilitate implementations of novel servers, clients, and bots. Out of the box, it comes with server that accepts connections over IRC and PB and seeks out installed third-party plugins to support other interfaces (for example, a Nevow LivePage-based Web interface).