  We apply the notion of 2-extensions of algebras to the deformation theory of
algebras. After standard results on butterflies between 2-extensions, we use
this (2, 0)-category to give three perspectives on the deformation theory of
algebras. We conclude by fixing an error in the literature.
