 She is also "the mistress of the sorceresses" who communicated magic secrets to Amemar, a Jewish sage.In Zoharistic Kabbalah, she is a queen of the demons and an angel of sacred prostitution, who mates with archangel Samael along with Lilith and Naamah, sometimes adding Eisheth as a fourth mate.According to legend, Agrat and Lilith visited King Solomon disguised as prostitutes.