According to Stuart R. Kaplan, Lady Frieda Harris under the guidance of Aleister Crowley described a tarot card that mentioned a cynocephalus ape, which I understand to be A'ani, and his relation to Thoth as, "THE MAGICIAN OR JUGGLER. Mercury, who is Wisdom. Will and Word, by whom the world is created, symbolises the fluidic basis of all transmission of activity. Behind him and through him is the Ape, Hanuman, which is a Hindu conception. The Egyptian counterpart, Thoth, is also always followed by the Cynocephalus Ape".
Lady Harris later wrote this second description of the card, "THE MAGICIAN OR JUGGLER. Mercury. Beth. He is Mercury, the messenger of God, and juggles with the four symbols of the elements, and the papyrus or Word, the pen or Will, the wand or Wisdom. He represents the creative force in action. As Thoth in Egyptian tradition, his attendant and shadow is the Cynocephalus Ape".
Kaplan also notes that further information on the history and symbolism of Tarot can be found in The Encyclopedia of Tarot published by U.S. Games Systems, Inc.
I hope this helps.