The necessary and sufficient conditions for a three-dimensional Riemannian metric to admit a transitive group of isometries are obtained. These conditions are intrinsic, deductive, explicit and algorithmic, and they offer an IDEAL labeling of these geometries. It is shown that the transitive action of the group naturally falls into an unfolding of some of the ten types in the Bianchi-Behr classification. Explicit conditions, depending on the Ricci tensor, are obtained that characterize all these types.