Catalysis of the endohydrolysis of 1,3-alpha-L-galactosidic linkages in agarose, yielding agarotetraose as the major product.