The Atlantean Thoth, an Egyptian birdman God
Thoth's roles in Egyptian mythology were many. He served as scribe of the gods, credited with the invention of writing and Egyptian hieroglyphs. In the underworld, Duat, he appeared as an ape, Aani, the god of equilibrium, who reported when the scales weighing the deceased's heart against the feather, representing the principle of Maat, was exactly even.
The ancient Egyptians regarded Thoth as One, self-begotten, and self-produced. He was the master of both physical and moral (i.e. divine) law, making proper use of Ma'at. He is credited with making the calculations for the establishment of the heavens, stars, Earth, and everything in them.
The Egyptians credited him as the author of all works of science, religion, philosophy, and magic.
The Greeks further declared him the inventor of astronomy, astrology, the science of numbers, mathematics, geometry, surveying, medicine, botany, theology, civilized government, the alphabet, reading, writing, and oratory. They further claimed he was the true author of every work of every branch of knowledge, human and divine.
In the central Osiris myth, Thoth gives Isis the words to restore her husband, allowing the pair to conceive Horus. Following a battle between Horus and Set, Thoth offers counsel and provides wisdom.
He was thus said to be the secretary and counselor of the Sun god Ra, and with Ma'at (truth/order) stood next to Ra on the nightly voyage across the sky.
Source:
https://en.m.wikipedia.org/wiki/Thoth
Relief in the Temple of Seti I (Abydos) of Thoth giving the ankh to pharaoh Seti I. Olaf Tausch • CC BY 3.0
Thoth depicted with the moon-disk on his head in (KV9) Tomb of Ramesses V. Diego Delso • CC BY-SA 4.0