As there exists no local written language yet deciphered (khipus remains poorly understood), what is known of their religious beliefs is based on archaeological interpretation and some myths, which may have been passed down to the Incas and the Spanish. They seem to have worshipped many gods, perhaps centered around agriculture. One of the most important gods was Viracocha, the god of action, shaper of many worlds, and destroyer of many worlds. He created people, with two servants, on a great piece of rock. Then he drew sections on the rock and sent his servants to name the tribes in those areas. In Tiwanaku he created the people out of rock and brought life to them through the earth. The Tiwanaku believed that Viracocha created giants to move the massive stones that comprise much of their archaeology, but then grew unhappy with the giants and created a flood to destroy them.
Viracocha is carved into the most famous gateway, the Gateway of the Sun, to overlook his people and lands. The Gateway of the Sun is a monolithic structure of regular, non-monumental size. Its dimensions suggest that other regularly sized buildings existed at the site. It was found at Kalasasaya, but due to the similarity of other gateways found at Pumapunku it was probably originally part of a series of doorways there. It is recognized for its singular, great frieze which is thought to be some main deity figure surrounded by either calendar signs or natural forces for agricultural worship. Along with Viracocha, another statue is in the Gateway of the Sun. This statue, many believe, is associated with the weather: "a celestial high god that personified various elements of natural forces intimately associated the productive potential of altiplano ecology: the sun, wind, rain, hail - in brief, a personification of atmospherics that most directly affect agricultural production in either a positive or negative manner", This statue is more complicated than Viracocha in that it has twelve