Fluxer plans federation in the future, and its AGPL licensed.
However, it's still in beta, and the backend's ability to scale is currently unproven.
For something that's more proven, we have Movim, which is already federated with the open standard XMPP protocol.