Agate is a rock consisting primarily of cryptocrystalline silica, chiefly chalcedony, alternating with microgranular quartz. It is characterized by its fineness of grain and variety of color.