Encodes a member of the MADS box family of transcription factors. Involved in root cell differentiation and flowering time. Loss of function mutations have abnormal cellular differentiation in the roots and are late flowering. AGL12 along with AGL14, and AGL17 is preferentially expressed in root tissues and represent the only characterized MADS box genes expressed in roots.