According to The Complete Metalsmith by Tim McCreight, in Sicily, where much Agate comes from, each color of Agate is a charm against different things. Here they are, paraphrased.

Agate has a Moh's hardness of 7.