The three main tasks which can currently be accomplished with Alchemy are inference, weight learning and structure learning. In this section we explain how to extend Alchemy with new algorithms in these three areas.