I think it's both, a bit like skype. The api is closed source but the interface is open. When you install it, it then downloads the closed source bit.